StoryAreaTypeSuggestedReaction¶
- class telegram.StoryAreaTypeSuggestedReaction(reaction_type, is_dark=None, is_flipped=None, *, api_kwargs=None)[source]¶
Bases:
telegram.StoryAreaType
Describes a story area pointing to a suggested reaction. Currently, a story can have up to
5
suggested reaction areas.Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
reaction_type
,is_dark
andis_flipped
are equal.Available In
Added in version 22.1.
- Parameters:
reaction_type (
ReactionType
) – Type of the reaction.is_dark (
bool
, optional) – PassTrue
if the reaction area has a dark background.is_flipped (
bool
, optional) – PassTrue
if reaction area corner is flipped.
- type[source]¶
Type of the area, always
'suggested_reaction'
.- Type: