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

Inherits Update.

Description

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

Public Fields

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.
 
bool is_silent_
 True, if the notifications must be shown without sound.
 
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 ID.
 
array< int32removed_notification_ids_
 Identifiers of removed group notifications, sorted by notification ID.
 

Public Instance Methods

 updateNotificationGroup ()
 
 updateNotificationGroup (int32 notification_group_id_, object_ptr< NotificationGroupType > &&type_, int53 chat_id_, int53 notification_settings_chat_id_, bool is_silent_, int32 total_count_, array< object_ptr< notification >> &&added_notifications_, array< int32 > &&removed_notification_ids_)
 
std::int32_t get_id () const final
 
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 = -2049005665
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ updateNotificationGroup() [1/2]

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

◆ updateNotificationGroup() [2/2]

updateNotificationGroup ( int32  notification_group_id_,
object_ptr< NotificationGroupType > &&  type_,
int53  chat_id_,
int53  notification_settings_chat_id_,
bool  is_silent_,
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]is_silent_True, if the notifications must be shown without sound.
[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 ID.
[in]removed_notification_ids_Identifiers of removed group notifications, sorted by notification ID.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

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