Package it.tdlight.jni
Class TdApi.UpdateMessageIsPinned
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateMessageIsPinned
- Enclosing class:
- TdApi
public static class TdApi.UpdateMessageIsPinned extends TdApi.Update
The message pinned state was changed.
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
boolean
isPinned
True, if the message is pinned.long
messageId
The message identifier. -
Constructor Summary
Constructors Constructor Description UpdateMessageIsPinned()
The message pinned state was changed.UpdateMessageIsPinned(long chatId, long messageId, boolean isPinned)
The message pinned state was changed.UpdateMessageIsPinned(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.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageId
public long messageIdThe message identifier. -
isPinned
public boolean isPinnedTrue, if the message is pinned. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateMessageIsPinned
public UpdateMessageIsPinned()The message pinned state was changed. -
UpdateMessageIsPinned
public UpdateMessageIsPinned(long chatId, long messageId, boolean isPinned)The message pinned state was changed.- Parameters:
chatId
- long Chat identifier.messageId
- long The message identifier.isPinned
- boolean True, if the message is pinned.
-
UpdateMessageIsPinned
- 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()
-