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::updateNotificationGroup Class Referencefinal

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

Inheritance diagram for td::td_api::updateNotificationGroup:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updateNotificationGroup ()
 
 updateNotificationGroup (int32 notification_group_id_, object_ptr< NotificationGroupType > &&type_, int53 chat_id_, int53 notification_settings_chat_id_, int64 notification_sound_id_, int32 total_count_, array< object_ptr< notification > > &&added_notifications_, array< int32 > &&removed_notification_ids_)
 
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

int32 notification_group_id_
 Unique notification group identifier.
 
object_ptr< NotificationGroupTypetype_
 New type of the notification group.
 
int53 chat_id_
 Identifier of a chat to which all notifications in the group belong.
 
int53 notification_settings_chat_id_
 Chat identifier, which notification settings must be applied to the added notifications.
 
int64 notification_sound_id_
 Identifier of the notification sound to be played; 0 if sound is disabled.
 
int32 total_count_
 Total number of unread notifications in the group, can be bigger than number of active notifications.
 
array< object_ptr< notification > > added_notifications_
 List of added group notifications, sorted by notification identifier.
 
array< int32removed_notification_ids_
 Identifiers of removed group notifications, sorted by notification identifier.
 

Static Public Attributes

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

Detailed Description

A list of active notifications in a notification group has changed.

Definition at line 78529 of file td_api.h.

Constructor & Destructor Documentation

◆ updateNotificationGroup() [1/2]

td::td_api::updateNotificationGroup::updateNotificationGroup ( )

A list of active notifications in a notification group has changed.

◆ updateNotificationGroup() [2/2]

td::td_api::updateNotificationGroup::updateNotificationGroup ( int32  notification_group_id_,
object_ptr< NotificationGroupType > &&  type_,
int53  chat_id_,
int53  notification_settings_chat_id_,
int64  notification_sound_id_,
int32  total_count_,
array< object_ptr< notification > > &&  added_notifications_,
array< int32 > &&  removed_notification_ids_ 
)

A list of active notifications in a notification group has changed.

Parameters
[in]notification_group_id_Unique notification group identifier.
[in]type_New type of the notification group.
[in]chat_id_Identifier of a chat to which all notifications in the group belong.
[in]notification_settings_chat_id_Chat identifier, which notification settings must be applied to the added notifications.
[in]notification_sound_id_Identifier of the notification sound to be played; 0 if sound is disabled.
[in]total_count_Total number of unread notifications in the group, can be bigger than number of active notifications.
[in]added_notifications_List of added group notifications, sorted by notification identifier.
[in]removed_notification_ids_Identifiers of removed group notifications, sorted by notification identifier.

Member Function Documentation

◆ store()

void td::td_api::updateNotificationGroup::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

◆ added_notifications_

array<object_ptr<notification> > td::td_api::updateNotificationGroup::added_notifications_

List of added group notifications, sorted by notification identifier.

Definition at line 78552 of file td_api.h.

◆ chat_id_

int53 td::td_api::updateNotificationGroup::chat_id_

Identifier of a chat to which all notifications in the group belong.

Definition at line 78544 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateNotificationGroup::ID = 1381081378
static

Identifier uniquely determining a type of the object.

Definition at line 78576 of file td_api.h.

◆ notification_group_id_

int32 td::td_api::updateNotificationGroup::notification_group_id_

Unique notification group identifier.

Definition at line 78540 of file td_api.h.

◆ notification_settings_chat_id_

int53 td::td_api::updateNotificationGroup::notification_settings_chat_id_

Chat identifier, which notification settings must be applied to the added notifications.

Definition at line 78546 of file td_api.h.

◆ notification_sound_id_

int64 td::td_api::updateNotificationGroup::notification_sound_id_

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

Definition at line 78548 of file td_api.h.

◆ removed_notification_ids_

array<int32> td::td_api::updateNotificationGroup::removed_notification_ids_

Identifiers of removed group notifications, sorted by notification identifier.

Definition at line 78554 of file td_api.h.

◆ total_count_

int32 td::td_api::updateNotificationGroup::total_count_

Total number of unread notifications in the group, can be bigger than number of active notifications.

Definition at line 78550 of file td_api.h.

◆ type_

object_ptr<NotificationGroupType> td::td_api::updateNotificationGroup::type_

New type of the notification group.

Definition at line 78542 of file td_api.h.


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