Inherits SuggestedAction.
A custom suggestion to be shown at the top of the chat list.
Public Fields | |
| string | name_ |
| Unique name of the suggestion. | |
| object_ptr< formattedText > | title_ |
| Title of the suggestion. | |
| object_ptr< formattedText > | description_ |
| Description of the suggestion. | |
| string | url_ |
| The link to open when the suggestion is clicked. | |
Public Instance Methods | |
| suggestedActionCustom () | |
| suggestedActionCustom (string const &name_, object_ptr< formattedText > &&title_, object_ptr< formattedText > &&description_, string const &url_) | |
| 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 = 2092876611 |
| Identifier uniquely determining a type of the object. | |
A custom suggestion to be shown at the top of the chat list.
| suggestedActionCustom | ( | string const & | name_, |
| object_ptr< formattedText > && | title_, | ||
| object_ptr< formattedText > && | description_, | ||
| string const & | url_ | ||
| ) |
A custom suggestion to be shown at the top of the chat list.
| [in] | name_ | Unique name of the suggestion. |
| [in] | title_ | Title of the suggestion. |
| [in] | description_ | Description of the suggestion. |
| [in] | url_ | The link to open when the suggestion is clicked. |
|
finalvirtual |