StoryAreaTypeSuggestedReaction¶
- class telegram.StoryAreaTypeSuggestedReaction(reaction_type, is_dark=None, is_flipped=None, *, api_kwargs=None)[source]¶
Bases:
telegram.StoryAreaTypeDescribes a story area pointing to a suggested reaction. Currently, a story can have up to
5suggested 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_darkandis_flippedare equal.Available In
Added in version 22.1.
- Parameters:
reaction_type (
ReactionType) – Type of the reaction.is_dark (
bool, optional) – PassTrueif the reaction area has a dark background.is_flipped (
bool, optional) – PassTrueif reaction area corner is flipped.
- type[source]¶
Type of the area, always
'suggested_reaction'.- Type:
str