Sha256: b3e8f4395a2eaee12aa0fd3419106d41190ddf243fc6bb92e6ba50dacbdbb4ed

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

module TD::Types
  # The last message of a chat was changed.
  # If last_message is null, then the last message in the chat became unknown.
  # Some new unknown messages might be added to the chat in this case.
  #
  # @attr chat_id [Integer] Chat identifier.
  # @attr last_message [TD::Types::Message, nil] The new last message in the chat; may be null.
  # @attr positions [Array<TD::Types::ChatPosition>] The new chat positions in the chat lists.
  class Update::ChatLastMessage < Update
    attribute :chat_id, TD::Types::Coercible::Integer
    attribute :last_message, TD::Types::Message.optional.default(nil)
    attribute :positions, TD::Types::Array.of(TD::Types::ChatPosition)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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