Sha256: 53a6132b4b81f0c4f2b5df54bbe7358e284481464847599acefbb0076d4632be

Contents?: true

Size: 714 Bytes

Versions: 1

Compression:

Stored size: 714 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::Integer
    attribute :draft_message, TD::Types::DraftMessage.optional.default(nil)
    attribute :positions, TD::Types::Array.of(TD::Types::ChatPosition)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/update/chat_draft_message.rb