Class: TD::Types::CallbackQueryAnswer
- Defined in:
- lib/tdlib/types/callback_query_answer.rb
Overview
Contains a bot’s answer to a callback query.
Instance Attribute Summary collapse
-
#show_alert ⇒ Boolean
True, if an alert should be shown to the user instead of a toast notification.
-
#text ⇒ TD::Types::String
Text of the answer.
-
#url ⇒ TD::Types::String
URL to be opened.
Method Summary
Methods inherited from Base
Instance Attribute Details
#show_alert ⇒ Boolean
True, if an alert should be shown to the user instead of a toast notification.
7 8 9 |
# File 'lib/tdlib/types/callback_query_answer.rb', line 7 def show_alert @show_alert end |
#text ⇒ TD::Types::String
Text of the answer.
7 8 9 |
# File 'lib/tdlib/types/callback_query_answer.rb', line 7 def text @text end |
#url ⇒ TD::Types::String
URL to be opened.
7 8 9 |
# File 'lib/tdlib/types/callback_query_answer.rb', line 7 def url @url end |