public static class TdApi.UpdateNotificationGroup extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.Notification[] |
addedNotifications
List of added group notifications, sorted by notification ID.
|
long |
chatId
Identifier of a chat to which all notifications in the group belong.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isSilent
True, if the notifications must be shown without sound.
|
int |
notificationGroupId
Unique notification group identifier.
|
long |
notificationSettingsChatId
Chat identifier, which notification settings must be applied to the added notifications.
|
int[] |
removedNotificationIds
Identifiers of removed group notifications, sorted by notification ID.
|
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,
boolean isSilent,
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() |
toString
public int notificationGroupId
public TdApi.NotificationGroupType type
public long chatId
public long notificationSettingsChatId
public boolean isSilent
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, boolean isSilent, 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.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.public int getConstructor()
getConstructor
in class TdApi.Update