TransactionPartnerChat¶
- class telegram.TransactionPartnerChat(chat, gift=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TransactionPartnerDescribes a transaction with a chat.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
chatare equal.Added in version 21.11.
- Parameters:
chat (
telegram.Chat) – Information about the chat.gift (
telegram.Gift, optional) – The gift sent to the chat by the bot.