haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.ForwardSource

Documentation

data ForwardSource Source #

Constructors

ForwardSource

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

Fields

  • chat_id :: Maybe Int

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

  • message_id :: Maybe Int

    Identifier of the message; may be 0 if unknown

  • sender_id :: Maybe 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 :: Maybe Text

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

  • date :: Maybe Int

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

  • is_outgoing :: Maybe Bool

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