Package org.drinkless.tdlib
Class TdApi.UpdateNotificationGroup
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateNotificationGroup
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateNotificationGroup extends TdApi.Update
A list of active notifications in a notification group has changed.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.Notification[]addedNotificationsList of added group notifications, sorted by notification ID.longchatIdIdentifier of a chat to which all notifications in the group belong.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisSilentTrue, if the notifications must be shown without sound.intnotificationGroupIdUnique notification group identifier.longnotificationSettingsChatIdChat identifier, which notification settings must be applied to the added notifications.int[]removedNotificationIdsIdentifiers of removed group notifications, sorted by notification ID.inttotalCountTotal number of unread notifications in the group, can be bigger than number of active notifications.TdApi.NotificationGroupTypetypeNew type of the notification group.
-
Constructor Summary
Constructors Constructor Description UpdateNotificationGroup()A list of active notifications in a notification group has changed.UpdateNotificationGroup(int notificationGroupId, TdApi.NotificationGroupType type, long chatId, long notificationSettingsChatId, boolean isSilent, int totalCount, TdApi.Notification[] addedNotifications, int[] removedNotificationIds)A list of active notifications in a notification group has changed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
notificationGroupId
public int notificationGroupId
Unique notification group identifier.
-
type
public TdApi.NotificationGroupType type
New type of the notification group.
-
chatId
public long chatId
Identifier of a chat to which all notifications in the group belong.
-
notificationSettingsChatId
public long notificationSettingsChatId
Chat identifier, which notification settings must be applied to the added notifications.
-
isSilent
public boolean isSilent
True, if the notifications must be shown without sound.
-
totalCount
public int totalCount
Total number of unread notifications in the group, can be bigger than number of active notifications.
-
addedNotifications
public TdApi.Notification[] addedNotifications
List of added group notifications, sorted by notification ID.
-
removedNotificationIds
public int[] removedNotificationIds
Identifiers of removed group notifications, sorted by notification ID.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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, boolean isSilent, 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.isSilent- True, if the notifications must be shown without sound.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 ID.removedNotificationIds- Identifiers of removed group notifications, sorted by notification ID.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-