Interface DeletePollOption

Deletes an option from a poll. Request type for Tdjson#deletePollOption.

interface DeletePollOption {
    @type: "deletePollOption";
    chat_id: number;
    message_id: number;
    option_id: string;
}

Properties

@type: "deletePollOption"
chat_id: number

Identifier of the chat to which the poll belongs.

message_id: number

Identifier of the message containing the poll.

option_id: string

Unique identifier of the option. Use pollOptionProperties.can_be_deleted to check whether the option can be deleted by the user.