Skip to content

ForwardSource

Type · TDLib 1.8.67 · d1085f9c

Contains information about the last message from which a new message was forwarded last time

ForwardSource(
  chat_id: int53,
  message_id: int53,
  sender_id: MessageSender,
  sender_name: string,
  date: int32,
  is_outgoing: Bool
) → ForwardSource

chat_id

int53

Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown

message_id

int53

Identifier of the message; may be 0 if unknown

sender_id

MessageSender

Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages

sender_name

string

Name of the sender of the message if the sender is hidden by their privacy settings

date

int32

Point in time (Unix timestamp) when the message is sent; 0 if unknown

is_outgoing

Bool

True, if the message that was forwarded is outgoing; always false if sender is unknown