Skip to content
Back to top
View this page

# StoryAreaTypeSuggestedReaction

class telegram.StoryAreaTypeSuggestedReaction(reaction_type, is_dark=None, is_flipped=None, *, api_kwargs=None)

  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.

  Available In

  `telegram.StoryArea.type`

  Added in version 22.1.

  Parameters:

    - reaction_type (`ReactionType`) – Type of the reaction.

    - is_dark (`bool`, optional) – Pass `True` if the reaction area has a dark background.

    - is_flipped (`bool`, optional) – Pass `True` if reaction area corner is flipped.

  type

    Type of the area, always `'suggested_reaction'`.

    Type:

      `str`

  reaction_type

    Type of the reaction.

    Type:

      `ReactionType`

  is_dark

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

    Type:

      `bool`

  is_flipped

    Optional. Pass `True` if reaction area corner is flipped.

    Type:

      `bool`