|
TDLib
|
Inherits Object.
Contains information about notification settings for reactions and poll votes.
Public Member Functions | |
| reactionNotificationSettings () | |
| reactionNotificationSettings (object_ptr< ReactionNotificationSource > &&message_reaction_source_, object_ptr< ReactionNotificationSource > &&story_reaction_source_, object_ptr< ReactionNotificationSource > &&poll_vote_source_, int64 sound_id_, bool show_preview_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< ReactionNotificationSource > | message_reaction_source_ |
| Source of message reactions for which notifications are shown. | |
| object_ptr< ReactionNotificationSource > | poll_vote_source_ |
| Source of poll votes for which notifications are shown. | |
| bool | show_preview_ |
| True, if reaction sender and emoji must be displayed in notifications. | |
| int64 | sound_id_ |
| Identifier of the notification sound to be played; 0 if sound is disabled; pass -1 to use the app-dependent default sound. | |
| object_ptr< ReactionNotificationSource > | story_reaction_source_ |
| Source of story reactions for which notifications are shown. | |
Static Public Attributes | |
| static const std::int32_t | ID = 2074932258 |
| Identifier uniquely determining a type of the object. | |
| reactionNotificationSettings | ( | ) |
Contains information about notification settings for reactions and poll votes.
| reactionNotificationSettings | ( | object_ptr< ReactionNotificationSource > && | message_reaction_source_, |
| object_ptr< ReactionNotificationSource > && | story_reaction_source_, | ||
| object_ptr< ReactionNotificationSource > && | poll_vote_source_, | ||
| int64 | sound_id_, | ||
| bool | show_preview_ ) |
Contains information about notification settings for reactions and poll votes.
| [in] | message_reaction_source_ | Source of message reactions for which notifications are shown. |
| [in] | story_reaction_source_ | Source of story reactions for which notifications are shown. |
| [in] | poll_vote_source_ | Source of poll votes for which notifications are shown. |
| [in] | sound_id_ | Identifier of the notification sound to be played; 0 if sound is disabled; pass -1 to use the app-dependent default sound. |
| [in] | show_preview_ | True, if reaction sender and emoji must be displayed in notifications. |
|
finalvirtual |