Sha256: 9bd8bc0dac1a9cd0bbbefbe3f5bb4bdb129c89924fb2005ab87010876702049f

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 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 order [Integer] New value of the chat order.
  class Update::ChatDraftMessage < Update
    attribute :chat_id, TD::Types::Integer
    attribute :draft_message, TD::Types::DraftMessage.optional.default(nil)
    attribute :order, TD::Types::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/update/chat_draft_message.rb
tdlib-ruby-2.1.0 lib/tdlib/types/update/chat_draft_message.rb
tdlib-ruby-2.0.0 lib/tdlib/types/update/chat_draft_message.rb