java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageOrigin
it.tdlight.jni.TdApi.MessageOriginChannel
- Enclosing class:
- TdApi
The message was originally a post in a channel.
-
Field Summary
Modifier and TypeFieldDescriptionOriginal post author signature.long
Identifier of the channel chat to which the message was originally sent.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.MessageOriginChannel
(long chatId, long messageId, String authorSignature) The message was originally a post in a channel.MessageOriginChannel
(DataInput input) 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 channel chat to which the message was originally sent. -
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
-
MessageOriginChannel
public MessageOriginChannel()The message was originally a post in a channel. -
MessageOriginChannel
The message was originally a post in a channel.- Parameters:
chatId
- Identifier of the channel chat to which the message was originally sent.messageId
- Message identifier of the original message.authorSignature
- Original post author signature.
-
MessageOriginChannel
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()
-