- Enclosing class:
- TdApi
Removes an active notification from
notification list. Needs to be called
only if the notification is removed
by the current user.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Identifier of notification group to which the notification belongs.int
Identifier of removed notification. -
Constructor Summary
ConstructorDescriptionRemoves an active notification from notification list.RemoveNotification
(int notificationGroupId, int notificationId) Removes an active notification from notification list.RemoveNotification
(DataInput input) -
Method Summary
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 notificationGroupIdIdentifier of notification group to which the notification belongs. -
notificationId
public int notificationIdIdentifier of removed notification. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RemoveNotification
public RemoveNotification()Removes an active notification from notification list. Needs to be called only if the notification is removed by the current user.Returns
Ok
-
RemoveNotification
public RemoveNotification(int notificationGroupId, int notificationId) Removes an active notification from notification list. Needs to be called only if the notification is removed by the current user.Returns
Ok
- Parameters:
notificationGroupId
- int Identifier of notification group to which the notification belongs.notificationId
- int Identifier of removed notification.
-
RemoveNotification
- 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()
-