Package it.tdlight.jni
Class TdApi.GetMessageLocally
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetMessageLocally
- Enclosing class:
- TdApi
public static class TdApi.GetMessageLocally extends TdApi.Function
Returns information about a message,
if it is available locally without
sending network request. This is an offline request.
Returns Message
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Identifier of the chat the message belongs to.static int
CONSTRUCTOR
long
messageId
Identifier of the message to get. -
Constructor Summary
Constructors Constructor Description GetMessageLocally()
Returns information about a message, if it is available locally without sending network request.GetMessageLocally(long chatId, long messageId)
Returns information about a message, if it is available locally without sending network request.GetMessageLocally(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
-
chatId
public long chatIdIdentifier of the chat the message belongs to. -
messageId
public long messageIdIdentifier of the message to get. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetMessageLocally
public GetMessageLocally()Returns information about a message, if it is available locally without sending network request. This is an offline request.Returns
Message
-
GetMessageLocally
public GetMessageLocally(long chatId, long messageId)Returns information about a message, if it is available locally without sending network request. This is an offline request.Returns
Message
- Parameters:
chatId
- long Identifier of the chat the message belongs to.messageId
- long Identifier of the message to get.
-
GetMessageLocally
- 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()
-