Package it.tdlight.jni
Class TdApi.RemoveNotificationGroup
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.RemoveNotificationGroup
- Enclosing class:
- TdApi
public static class TdApi.RemoveNotificationGroup extends TdApi.Function
Removes a group of active notifications.
Needs to be called only if the
notification group is removed by the current user.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
maxNotificationId
The maximum identifier of removed notifications.int
notificationGroupId
Notification group identifier. -
Constructor Summary
Constructors Constructor Description RemoveNotificationGroup()
Removes a group of active notifications.RemoveNotificationGroup(int notificationGroupId, int maxNotificationId)
Removes a group of active notifications.RemoveNotificationGroup(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
notificationGroupId
public int notificationGroupIdNotification group identifier. -
maxNotificationId
public int maxNotificationIdThe maximum identifier of removed notifications. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
RemoveNotificationGroup
public RemoveNotificationGroup()Removes a group of active notifications. Needs to be called only if the notification group is removed by the current user.Returns
Ok
-
RemoveNotificationGroup
public RemoveNotificationGroup(int notificationGroupId, int maxNotificationId)Removes a group of active notifications. Needs to be called only if the notification group is removed by the current user.Returns
Ok
- Parameters:
notificationGroupId
- int Notification group identifier.maxNotificationId
- int The maximum identifier of removed notifications.
-
RemoveNotificationGroup
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-