Package it.tdlight.jni
Class TdApi.RemoveNotification
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.RemoveNotification
- Enclosing class:
- TdApi
public static class TdApi.RemoveNotification extends TdApi.Function
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
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
notificationGroupId
Identifier of notification group to which the notification belongs.int
notificationId
Identifier of removed notification. -
Constructor Summary
Constructors Constructor Description RemoveNotification()
Removes an active notification from notification list.RemoveNotification(int notificationGroupId, int notificationId)
Removes an active notification from notification list.RemoveNotification(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput 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 notificationGroupIdIdentifier of notification group to which the notification belongs. -
notificationId
public int notificationIdIdentifier of removed notification. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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()
-