Inherits td::td_api::PushMessageContent.
|
string | question_ |
| Poll question.
|
|
bool | is_regular_ |
| True, if the poll is regular and not in quiz mode.
|
|
bool | is_pinned_ |
| True, if the message is a pinned message with the specified content.
|
|
|
static const std::int32_t | ID = -44403654 |
| Identifier uniquely determining a type of the object.
|
|
◆ pushMessageContentPoll() [1/2]
td::td_api::pushMessageContentPoll::pushMessageContentPoll |
( |
| ) |
|
◆ pushMessageContentPoll() [2/2]
td::td_api::pushMessageContentPoll::pushMessageContentPoll |
( |
string const & |
question_, |
|
|
bool |
is_regular_, |
|
|
bool |
is_pinned_ |
|
) |
| |
A message with a poll.
- Parameters
-
[in] | question_ | Poll question. |
[in] | is_regular_ | True, if the poll is regular and not in quiz mode. |
[in] | is_pinned_ | True, if the message is a pinned message with the specified content. |
◆ get_id()
std::int32_t td::td_api::pushMessageContentPoll::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::pushMessageContentPoll::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: