StoryArea¶
- class telegram.StoryArea(position, type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
Describes a clickable area on a story media.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
position
andtype
are equal.Added in version 22.1.
- Parameters:
position (
telegram.StoryAreaPosition
) – Position of the area.type (
telegram.StoryAreaType
) – Type of the area.