Sha256: 1c2a7f03dc95826ce21a1a389af01d6fa0b99e8c340591776c0c0020c779405a

Contents?: true

Size: 725 Bytes

Versions: 2

Compression:

Stored size: 725 Bytes

Contents

module TD::Types
  # A chat draft has changed.
  # Be aware that the update may come in the currently opened chat but with old content of the draft.
  # If the user has changed the content of the draft, this update shouldn't be applied.
  #
  # @attr chat_id [Integer] Chat identifier.
  # @attr draft_message [TD::Types::DraftMessage, nil] The new draft message; may be null.
  # @attr positions [Array<TD::Types::ChatPosition>] The new chat positions in the chat lists.
  class Update::ChatDraftMessage < Update
    attribute :chat_id, TD::Types::Coercible::Integer
    attribute :draft_message, TD::Types::DraftMessage.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_draft_message.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/update/chat_draft_message.rb