Class TdApi.UpdateNotificationGroup
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateNotificationGroup
- Enclosing class:
- TdApi
A list of active notifications in a notification group has changed.
-
Field Summary
Modifier and TypeFieldDescriptionList of added group notifications, sorted by notification identifier.long
Identifier of a chat to which all notifications in the group belong.static final int
Identifier uniquely determining type of the object.int
Unique notification group identifier.long
Chat identifier, which notification settings must be applied to the added notifications.long
Identifier of the notification sound to be played; 0 if sound is disabled.int[]
Identifiers of removed group notifications, sorted by notification identifier.int
Total number of unread notifications in the group, can be bigger than number of active notifications.New type of the notification group. -
Constructor Summary
ConstructorDescriptionA 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
notificationGroupId
public int notificationGroupIdUnique notification group identifier. -
type
New type of the notification group. -
chatId
public long chatIdIdentifier of a chat to which all notifications in the group belong. -
notificationSettingsChatId
public long notificationSettingsChatIdChat identifier, which notification settings must be applied to the added notifications. -
notificationSoundId
public long notificationSoundIdIdentifier of the notification sound to be played; 0 if sound is disabled. -
totalCount
public int totalCountTotal 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
public int[] removedNotificationIdsIdentifiers of removed group notifications, sorted by notification identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateNotificationGroup
public UpdateNotificationGroup()A list of active notifications in a notification group has changed. -
UpdateNotificationGroup
public 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.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-