Type Alias CompletionAction
CompletionAction:
| {
chatId: number;
parseMode?: "HTML"
| "Markdown";
text: string;
type: "sendMessage";
}
| { chatId: number; messageId: number; text: string; type: "editMessage" }
| { caption?: string; chatId: number; photo: string; type: "sendPhoto" }
| { slug: string; type: "openInvoice" }
| { returnToChat?: boolean; type: "close" }
| { tryInstantView?: boolean; type: "openLink"; url: string }