ChatBoostSource¶
Added in version 20.8.
- class telegram.ChatBoostSource(source, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
Base class for Telegram ChatBoostSource objects. 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
source
is equal.Added in version 20.8.
- Parameters:
source (
str
) – The source of the chat boost. Can be one of:PREMIUM
,GIFT_CODE
, orGIVEAWAY
.