List of all members | Public Fields | Public Instance Methods | Static Public Attributes
reactionNotificationSettings Class Referencefinal

Inherits Object.

Description

Contains information about notification settings for reactions.

Public Fields

object_ptr< ReactionNotificationSourcemessage_reaction_source_
 Source of message reactions for which notifications are shown.
 
object_ptr< ReactionNotificationSourcestory_reaction_source_
 Source of story reactions for which notifications are shown.
 
int64 sound_id_
 Identifier of the notification sound to be played; 0 if sound is disabled.
 
bool show_preview_
 True, if reaction sender and emoji must be displayed in notifications.
 

Public Instance Methods

 reactionNotificationSettings ()
 
 reactionNotificationSettings (object_ptr< ReactionNotificationSource > &&message_reaction_source_, object_ptr< ReactionNotificationSource > &&story_reaction_source_, int64 sound_id_, bool show_preview_)
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 733017684
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ reactionNotificationSettings() [1/2]

Contains information about notification settings for reactions.

◆ reactionNotificationSettings() [2/2]

reactionNotificationSettings ( object_ptr< ReactionNotificationSource > &&  message_reaction_source_,
object_ptr< ReactionNotificationSource > &&  story_reaction_source_,
int64  sound_id_,
bool  show_preview_ 
)

Contains information about notification settings for reactions.

Parameters
[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]sound_id_Identifier of the notification sound to be played; 0 if sound is disabled.
[in]show_preview_True, if reaction sender and emoji must be displayed in notifications.

Method Documentation

◆ store()

void 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: