Class TdApi.ForwardSource
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ForwardSource
- Enclosing class:
- TdApi
Contains information about the last message from which a new message was forwarded last time.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.static final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when the message is sent; 0 if unknown.boolean
True, if the message that was forwarded is outgoing; always false if sender is unknown.long
Identifier of the message; may be 0 if unknown.Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.Name of the sender of the message if the sender is hidden by their privacy settings. -
Constructor Summary
ConstructorDescriptionContains information about the last message from which a new message was forwarded last time.ForwardSource
(long chatId, long messageId, TdApi.MessageSender senderId, String senderName, int date, boolean isOutgoing) Contains information about the last message from which a new message was forwarded last time. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat to which the message that was forwarded belonged; may be 0 if unknown. -
messageId
public long messageIdIdentifier of the message; may be 0 if unknown. -
senderId
Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages. -
senderName
Name of the sender of the message if the sender is hidden by their privacy settings. -
date
public int datePoint in time (Unix timestamp) when the message is sent; 0 if unknown. -
isOutgoing
public boolean isOutgoingTrue, if the message that was forwarded is outgoing; always false if sender is unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ForwardSource
public ForwardSource()Contains information about the last message from which a new message was forwarded last time. -
ForwardSource
public ForwardSource(long chatId, long messageId, TdApi.MessageSender senderId, String senderName, int date, boolean isOutgoing) Contains information about the last message from which a new message was forwarded last time.- Parameters:
chatId
- Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.messageId
- Identifier of the message; may be 0 if unknown.senderId
- Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.senderName
- Name of the sender of the message if the sender is hidden by their privacy settings.date
- Point in time (Unix timestamp) when the message is sent; 0 if unknown.isOutgoing
- True, if the message that was forwarded is outgoing; always false if sender is unknown.
-
-
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
-