Sha256: 9e02036a7ebabccfd8fda2e0387bfeb343f5715ad5f185c676dd8d4a609b1fa5

Contents?: true

Size: 1.26 KB

Versions: 2

Compression:

Stored size: 1.26 KB

Contents

module TD::Types
  # Contains information about a forwarded message.
  #
  # @attr origin [TD::Types::MessageForwardOrigin] Origin of a forwarded message.
  # @attr date [Integer] Point in time (Unix timestamp) when the message was originally sent.
  # @attr public_service_announcement_type [TD::Types::String] The type of a public service announcement for the
  #   forwarded message.
  # @attr from_chat_id [Integer] For messages forwarded to the chat with the current user (Saved Messages), to the
  #   Replies bot chat, or to the channel's discussion group, the identifier of the chat from which the message was forwarded
  #   last time; 0 if unknown.
  # @attr from_message_id [Integer] For messages forwarded to the chat with the current user (Saved Messages), to the
  #   Replies bot chat, or to the channel's discussion group, the identifier of the original message from which the new
  #   message was forwarded last time; 0 if unknown.
  class MessageForwardInfo < Base
    attribute :origin, TD::Types::MessageForwardOrigin
    attribute :date, TD::Types::Coercible::Integer
    attribute :public_service_announcement_type, TD::Types::String
    attribute :from_chat_id, TD::Types::Coercible::Integer
    attribute :from_message_id, TD::Types::Coercible::Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/message_forward_info.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/message_forward_info.rb