TransactionPartnerChat

class aiogram.types.transaction_partner_chat.TransactionPartnerChat(*, type: Literal[TransactionPartnerType.CHAT] = TransactionPartnerType.CHAT, chat: Chat, gift: Gift | None = None, **extra_data: Any)[source]

Describes a transaction with a chat.

Source: https://core.telegram.org/bots/api#transactionpartnerchat

type: Literal[TransactionPartnerType.CHAT]

Type of the transaction partner, always ‘chat’

chat: Chat

Information about the chat

gift: Gift | None

Optional. The gift sent to the chat by the bot