Inherits KeyboardButtonType.
A button that allows the user to create and send a poll when pressed; available only in private chats.
Public Fields | |
| bool | force_regular_ |
| If true, only regular polls must be allowed to create. | |
| bool | force_quiz_ |
| If true, only polls in quiz mode must be allowed to create. | |
Public Instance Methods | |
| keyboardButtonTypeRequestPoll () | |
| keyboardButtonTypeRequestPoll (bool force_regular_, bool force_quiz_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 1902435512 |
| Identifier uniquely determining a type of the object. | |
A button that allows the user to create and send a poll when pressed; available only in private chats.
| keyboardButtonTypeRequestPoll | ( | bool | force_regular_, |
| bool | force_quiz_ | ||
| ) |
A button that allows the user to create and send a poll when pressed; available only in private chats.
| [in] | force_regular_ | If true, only regular polls must be allowed to create. |
| [in] | force_quiz_ | If true, only polls in quiz mode must be allowed to create. |
|
finalvirtual |