peyk.platforms.telegram.types.transaction_partner_chat¶
Classes
|
Describes a transaction with a chat. |
- class peyk.platforms.telegram.types.transaction_partner_chat.TransactionPartnerChat(type: str = 'chat', chat: Chat | None = None)[source]¶
Bases:
objectDescribes a transaction with a chat.
- Variables:
type (str) – Type of the transaction partner, always ‘chat’
chat (peyk.platforms.telegram.types.chat.Chat | None) – Information about the chat
gift – The gift sent to the chat by the bot
- type: str = 'chat'¶
- classmethod from_dict(data: dict | None) TransactionPartnerChat | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.