Package it.tdlight.jni
Class TdApi.GetChatPinnedMessage
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetChatPinnedMessage
- Enclosing class:
- TdApi
public static class TdApi.GetChatPinnedMessage extends TdApi.Function
Returns information about a newest
pinned message in the chat.
Returns Message
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Identifier of the chat the message belongs to.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description GetChatPinnedMessage()
Returns information about a newest pinned message in the chat.GetChatPinnedMessage(long chatId)
Returns information about a newest pinned message in the chat.GetChatPinnedMessage(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
-
chatId
public long chatIdIdentifier of the chat the message belongs to. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetChatPinnedMessage
public GetChatPinnedMessage()Returns information about a newest pinned message in the chat.Returns
Message
-
GetChatPinnedMessage
public GetChatPinnedMessage(long chatId)Returns information about a newest pinned message in the chat.Returns
Message
- Parameters:
chatId
- long Identifier of the chat the message belongs to.
-
GetChatPinnedMessage
- 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()
-