public static class TdApi.UpdateNotificationGroup extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
TdApi.Notification[] |
addedNotifications
List of added group notifications, sorted by notification identifier.
|
long |
chatId
Identifier of a chat to which all notifications in the group belong.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
notificationGroupId
Unique notification group identifier.
|
long |
notificationSettingsChatId
Chat identifier, which notification settings must be applied to the added notifications.
|
long |
notificationSoundId
Identifier of the notification sound to be played; 0 if sound is disabled.
|
int[] |
removedNotificationIds
Identifiers of removed group notifications, sorted by notification identifier.
|
int |
totalCount
Total number of unread notifications in the group, can be bigger than number of active notifications.
|
TdApi.NotificationGroupType |
type
New type of the notification group.
|
| Constructor and Description |
|---|
UpdateNotificationGroup()
A list of active notifications in a notification group has changed.
|
UpdateNotificationGroup(int notificationGroupId,
TdApi.NotificationGroupType type,
long chatId,
long notificationSettingsChatId,
long notificationSoundId,
int totalCount,
TdApi.Notification[] addedNotifications,
int[] removedNotificationIds)
A list of active notifications in a notification group has changed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int notificationGroupId
public TdApi.NotificationGroupType type
public long chatId
public long notificationSettingsChatId
public long notificationSoundId
public int totalCount
public TdApi.Notification[] addedNotifications
public int[] removedNotificationIds
public static final int CONSTRUCTOR
public UpdateNotificationGroup()
public UpdateNotificationGroup(int notificationGroupId,
TdApi.NotificationGroupType type,
long chatId,
long notificationSettingsChatId,
long notificationSoundId,
int totalCount,
TdApi.Notification[] addedNotifications,
int[] removedNotificationIds)
notificationGroupId - Unique notification group identifier.type - New type of the notification group.chatId - Identifier of a chat to which all notifications in the group belong.notificationSettingsChatId - Chat identifier, which notification settings must be applied to the added notifications.notificationSoundId - Identifier of the notification sound to be played; 0 if sound is disabled.totalCount - Total number of unread notifications in the group, can be bigger than number of active notifications.addedNotifications - List of added group notifications, sorted by notification identifier.removedNotificationIds - Identifiers of removed group notifications, sorted by notification identifier.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object