Sha256: 57d178f01c3e5b7e753f3b28b6df90bf9d2f5352fe99fdfaa6e19b0276d7fc4c

Contents?: true

Size: 452 Bytes

Versions: 2

Compression:

Stored size: 452 Bytes

Contents

module TD::Types
  # Contains a bot's answer to a callback query.
  #
  # @attr text [TD::Types::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 [TD::Types::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

2 entries across 2 versions & 1 rubygems

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