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 and is_flipped are equal.

Added in version 22.1.

Parameters:
type[source]

Type of the area, always 'suggested_reaction'.

Type:

str

reaction_type[source]

Type of the reaction.

Type:

ReactionType

is_dark[source]

Optional. Pass True if the reaction area has a dark background.

Type:

bool

is_flipped[source]

Optional. Pass True if reaction area corner is flipped.

Type:

bool