java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageForwardOrigin
it.tdlight.jni.TdApi.MessageForwardOriginChannel
- Enclosing class:
- TdApi
The message was originally a post in a channel.
-
Field Summary
Modifier and TypeFieldDescriptionOriginal post author signature.long
Identifier of the chat from which the message was originally forwarded.static final int
Identifier uniquely determining type of the object.long
Message identifier of the original message. -
Constructor Summary
ConstructorDescriptionThe message was originally a post in a channel.MessageForwardOriginChannel
(long chatId, long messageId, String authorSignature) The message was originally a post in a channel.The message was originally a post in a channel. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat from which the message was originally forwarded. -
messageId
public long messageIdMessage identifier of the original message. -
authorSignature
Original post author signature. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageForwardOriginChannel
public MessageForwardOriginChannel()The message was originally a post in a channel. -
MessageForwardOriginChannel
The message was originally a post in a channel.- Parameters:
chatId
- Identifier of the chat from which the message was originally forwarded.messageId
- Message identifier of the original message.authorSignature
- Original post author signature.
-
MessageForwardOriginChannel
The message was originally a post in a channel.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-