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

Added in version 22.1.

Parameters:
position[source]

Position of the area.

Type:

telegram.StoryAreaPosition

type[source]

Type of the area.

Type:

telegram.StoryAreaType