java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageOrigin
it.tdlight.jni.TdApi.MessageOriginChat
- Enclosing class:
- TdApi
The message was originally sent on behalf of a chat.
-
Field Summary
Modifier and TypeFieldDescriptionFor messages originally sent by an anonymous chat administrator, original message author signature.static final int
Identifier uniquely determining type of the object.long
Identifier of the chat that originally sent the message. -
Constructor Summary
ConstructorDescriptionThe message was originally sent on behalf of a chat.MessageOriginChat
(long senderChatId, String authorSignature) The message was originally sent on behalf of a chat.MessageOriginChat
(DataInput input) The message was originally sent on behalf of a chat. -
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
-
senderChatId
public long senderChatIdIdentifier of the chat that originally sent the message. -
authorSignature
For messages originally sent by an anonymous chat administrator, original message author signature. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageOriginChat
public MessageOriginChat()The message was originally sent on behalf of a chat. -
MessageOriginChat
The message was originally sent on behalf of a chat.- Parameters:
senderChatId
- Identifier of the chat that originally sent the message.authorSignature
- For messages originally sent by an anonymous chat administrator, original message author signature.
-
MessageOriginChat
The message was originally sent on behalf of a chat.- 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()
-