method ApiMethods.sendGame
ApiMethods.sendGame(args: { business_connection_id?: string; chat_id: number; message_thread_id?: number; game_short_name: string; disable_notification?: boolean; protect_content?: boolean; allow_paid_broadcast?: boolean; message_effect_id?: string; reply_parameters?: ReplyParameters; reply_markup?: InlineKeyboardMarkup; reply_to_message_id?: number; }): Message.GameMessage

Use this method to send a game. On success, the sent Message is returned.

Parameters

args: { business_connection_id?: string; chat_id: number; message_thread_id?: number; game_short_name: string; disable_notification?: boolean; protect_content?: boolean; allow_paid_broadcast?: boolean; message_effect_id?: string; reply_parameters?: ReplyParameters; reply_markup?: InlineKeyboardMarkup; reply_to_message_id?: number; }

Return Type

Usage

import { type ApiMethods } from "types";