Interface PollOptionProperties

Contains properties of a poll option and describes actions that can be done with the option right now.

interface PollOptionProperties {
    @type: "pollOptionProperties";
    can_be_deleted?: boolean;
    can_be_replied?: boolean;
    can_be_replied_in_another_chat?: boolean;
    can_get_link?: boolean;
}

Properties

@type: "pollOptionProperties"
can_be_deleted?: boolean

True, if the option can be deleted using deletePollOption.

can_be_replied?: boolean

True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage.

can_be_replied_in_another_chat?: boolean

True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage.

can_get_link?: boolean

True, if a link can be generated for the poll option using getMessageLink.