Interface StopPendingMessage

Stops a pending message generation by a bot. Request type for Tdjson#stopPendingMessage.

interface StopPendingMessage {
    @type: "stopPendingMessage";
    chat_id: number;
    draft_id: string;
    topic_id: MessageTopic;
}

Properties

@type: "stopPendingMessage"
chat_id: number

Identifier of the chat with the bot.

draft_id: string

Unique identifier of the message draft within the message thread.

topic_id: MessageTopic

Identifier of the topic in which the action is performed; pass null if none.