StoryAreaType

class telegram.StoryAreaType(type, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

Describes the type of a clickable area on a story. Currently, it can be one of:

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their type is equal.

Added in version 22.1.

Parameters:

type (str) – Type of the area.

type[source]

Type of the area.

Type:

str

telegram.constants.StoryAreaTypeType.LINK

LOCATION = 'location'[source]

telegram.constants.StoryAreaTypeType.LOCATION

SUGGESTED_REACTION = 'suggested_reaction'[source]

telegram.constants.StoryAreaTypeType.SUGGESTED_REACTION

UNIQUE_GIFT = 'unique_gift'[source]

telegram.constants.StoryAreaTypeType.UNIQUE_GIFT

WEATHER = 'weather'[source]

telegram.constants.StoryAreaTypeType.WEATHER