Inherits Object.
Represents a list of reactions that can be added to a message.
Public Fields | |
| array< object_ptr< availableReaction > > | top_reactions_ |
| List of reactions to be shown at the top. | |
| array< object_ptr< availableReaction > > | recent_reactions_ |
| List of recently used reactions. | |
| array< object_ptr< availableReaction > > | popular_reactions_ |
| List of popular reactions. | |
| bool | allow_custom_emoji_ |
| True, if any custom emoji reaction can be added by Telegram Premium subscribers. | |
| bool | are_tags_ |
| True, if the reactions will be tags and the message can be found by them. | |
| object_ptr< ReactionUnavailabilityReason > | unavailability_reason_ |
| The reason why the current user can't add reactions to the message, despite some other users can; may be null if none. | |
Public Instance Methods | |
| availableReactions () | |
| availableReactions (array< object_ptr< availableReaction >> &&top_reactions_, array< object_ptr< availableReaction >> &&recent_reactions_, array< object_ptr< availableReaction >> &&popular_reactions_, bool allow_custom_emoji_, bool are_tags_, object_ptr< ReactionUnavailabilityReason > &&unavailability_reason_) | |
| 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 = 912529522 |
| Identifier uniquely determining a type of the object. | |
Represents a list of reactions that can be added to a message.
| availableReactions | ( | array< object_ptr< availableReaction >> && | top_reactions_, |
| array< object_ptr< availableReaction >> && | recent_reactions_, | ||
| array< object_ptr< availableReaction >> && | popular_reactions_, | ||
| bool | allow_custom_emoji_, | ||
| bool | are_tags_, | ||
| object_ptr< ReactionUnavailabilityReason > && | unavailability_reason_ | ||
| ) |
Represents a list of reactions that can be added to a message.
| [in] | top_reactions_ | List of reactions to be shown at the top. |
| [in] | recent_reactions_ | List of recently used reactions. |
| [in] | popular_reactions_ | List of popular reactions. |
| [in] | allow_custom_emoji_ | True, if any custom emoji reaction can be added by Telegram Premium subscribers. |
| [in] | are_tags_ | True, if the reactions will be tags and the message can be found by them. |
| [in] | unavailability_reason_ | The reason why the current user can't add reactions to the message, despite some other users can; may be null if none. |
|
finalvirtual |