Interface PushMessageContentPoll

A message with a poll. Subtype of PushMessageContent.

interface PushMessageContentPoll {
    @type: "pushMessageContentPoll";
    is_pinned?: boolean;
    is_regular?: boolean;
    question: string;
}

Properties

@type: "pushMessageContentPoll"
is_pinned?: boolean

True, if the message is a pinned message with the specified content.

is_regular?: boolean

True, if the poll is regular and not in quiz mode.

question: string

Poll question.