typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
19 lines (18 loc) • 368 B
TypeScript
import { Chat, Gift } from './';
/**
* Describes a transaction with a chat.
*/
export type TransactionPartnerChat = {
/**
* Type of the transaction partner, always “chat”
*/
type: 'chat';
/**
* Information about the chat
*/
chat: Chat;
/**
* Optional. The gift sent to the chat by the bot
*/
gift?: Gift;
};