tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::reactionNotificationSettings Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::reactionNotificationSettings:
td::td_api::Object td::TlObject

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 td::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
 

Public Attributes

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.
 
object_ptr< ReactionNotificationSourcepoll_vote_source_
 Source of poll votes 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.
 

Static Public Attributes

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

Detailed Description

Contains information about notification settings for reactions and poll votes.

Definition at line 58143 of file td_api.h.

Constructor & Destructor Documentation

◆ reactionNotificationSettings() [1/2]

td::td_api::reactionNotificationSettings::reactionNotificationSettings ( )

Contains information about notification settings for reactions and poll votes.

◆ reactionNotificationSettings() [2/2]

td::td_api::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_ 
)

Contains information about notification settings for reactions and poll votes.

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]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.
[in]show_preview_True, if reaction sender and emoji must be displayed in notifications.

Member Function Documentation

◆ store()

void td::td_api::reactionNotificationSettings::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 td::TlObject.

Member Data Documentation

◆ ID

const std::int32_t td::td_api::reactionNotificationSettings::ID = 2074932258
static

Identifier uniquely determining a type of the object.

Definition at line 58181 of file td_api.h.

◆ message_reaction_source_

object_ptr<ReactionNotificationSource> td::td_api::reactionNotificationSettings::message_reaction_source_

Source of message reactions for which notifications are shown.

Definition at line 58154 of file td_api.h.

◆ poll_vote_source_

object_ptr<ReactionNotificationSource> td::td_api::reactionNotificationSettings::poll_vote_source_

Source of poll votes for which notifications are shown.

Definition at line 58158 of file td_api.h.

◆ show_preview_

bool td::td_api::reactionNotificationSettings::show_preview_

True, if reaction sender and emoji must be displayed in notifications.

Definition at line 58162 of file td_api.h.

◆ sound_id_

int64 td::td_api::reactionNotificationSettings::sound_id_

Identifier of the notification sound to be played; 0 if sound is disabled.

Definition at line 58160 of file td_api.h.

◆ story_reaction_source_

object_ptr<ReactionNotificationSource> td::td_api::reactionNotificationSettings::story_reaction_source_

Source of story reactions for which notifications are shown.

Definition at line 58156 of file td_api.h.


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