StoryAreaTypeUniqueGift

class telegram.StoryAreaTypeUniqueGift(name, *, api_kwargs=None)[source]

Bases: telegram.StoryAreaType

Describes a story area pointing to a unique gift. Currently, a story can have at most 1 unique gift area.

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

Added in version 22.1.

Parameters:

name (str) – Unique name of the gift.

type[source]

Type of the area, always 'unique_gift'.

Type:

str

name[source]

Unique name of the gift.

Type:

str