Interface StopPoll

Stops a poll. Request type for Tdjson#stopPoll.

interface StopPoll {
    @type: "stopPoll";
    chat_id: number;
    message_id: number;
    reply_markup: ReplyMarkup;
}

Properties

@type: "stopPoll"
chat_id: number

Identifier of the chat to which the poll belongs.

message_id: number

Identifier of the message containing the poll. Use messageProperties.can_be_edited to check whether the poll can be stopped.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none; for bots only.