Sha256: 7f80db1c4229a4a5f1a9b515e35918ef00d37b3c04dffb1905517a8f1b90188b

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

module TD::Types
  # Contains a bot's answer to a callback query.
  #
  # @attr text [String] Text of the answer.
  # @attr show_alert [Boolean] True, if an alert should be shown to the user instead of a toast notification.
  # @attr url [String] URL to be opened.
  class CallbackQueryAnswer < Base
    attribute :text, TD::Types::String
    attribute :show_alert, TD::Types::Bool
    attribute :url, TD::Types::String
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/callback_query_answer.rb
tdlib-ruby-2.2.0 lib/tdlib/types/callback_query_answer.rb
tdlib-ruby-2.1.0 lib/tdlib/types/callback_query_answer.rb
tdlib-ruby-2.0.0 lib/tdlib/types/callback_query_answer.rb