public static class TdApi.NotificationGroup extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
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 |
id
Unique persistent auto-incremented from 1 identifier of the notification group.
|
TdApi.Notification[] |
notifications
The list of active notifications.
|
int |
totalCount
Total number of active notifications in the group.
|
TdApi.NotificationGroupType |
type
Type of the group.
|
| Constructor and Description |
|---|
NotificationGroup()
Describes a group of notifications.
|
NotificationGroup(int id,
TdApi.NotificationGroupType type,
long chatId,
int totalCount,
TdApi.Notification[] notifications)
Describes a group of notifications.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int id
public TdApi.NotificationGroupType type
public long chatId
public int totalCount
public TdApi.Notification[] notifications
public static final int CONSTRUCTOR
public NotificationGroup()
public NotificationGroup(int id,
TdApi.NotificationGroupType type,
long chatId,
int totalCount,
TdApi.Notification[] notifications)
id - Unique persistent auto-incremented from 1 identifier of the notification group.type - Type of the group.chatId - Identifier of a chat to which all notifications in the group belong.totalCount - Total number of active notifications in the group.notifications - The list of active notifications.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object