Class: Telegram::Bot::Types::InlineQueryResultVenue
- Defined in:
- sig/telegram/bot/types/inline_query_result_venue.rbs
Instance Attribute Summary collapse
-
#address ⇒ String
readonly
Returns the value of attribute address.
-
#foursquare_id ⇒ String?
readonly
Returns the value of attribute foursquare_id.
-
#foursquare_type ⇒ String?
readonly
Returns the value of attribute foursquare_type.
-
#google_place_id ⇒ String?
readonly
Returns the value of attribute google_place_id.
-
#google_place_type ⇒ String?
readonly
Returns the value of attribute google_place_type.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#input_message_content ⇒ input_message_content?
readonly
Returns the value of attribute input_message_content.
-
#latitude ⇒ Float
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ Float
readonly
Returns the value of attribute longitude.
-
#reply_markup ⇒ InlineKeyboardMarkup?
readonly
Returns the value of attribute reply_markup.
-
#thumbnail_height ⇒ Integer?
readonly
Returns the value of attribute thumbnail_height.
-
#thumbnail_url ⇒ String?
readonly
Returns the value of attribute thumbnail_url.
-
#thumbnail_width ⇒ Integer?
readonly
Returns the value of attribute thumbnail_width.
-
#title ⇒ String
readonly
Returns the value of attribute title.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#address ⇒ String (readonly)
Returns the value of attribute address.
13 14 15 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 13 def address @address end |
#foursquare_id ⇒ String? (readonly)
Returns the value of attribute foursquare_id.
14 15 16 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 14 def foursquare_id @foursquare_id end |
#foursquare_type ⇒ String? (readonly)
Returns the value of attribute foursquare_type.
15 16 17 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 15 def foursquare_type @foursquare_type end |
#google_place_id ⇒ String? (readonly)
Returns the value of attribute google_place_id.
16 17 18 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 16 def google_place_id @google_place_id end |
#google_place_type ⇒ String? (readonly)
Returns the value of attribute google_place_type.
17 18 19 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 17 def google_place_type @google_place_type end |
#id ⇒ String (readonly)
Returns the value of attribute id.
9 10 11 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 9 def id @id end |
#input_message_content ⇒ input_message_content? (readonly)
Returns the value of attribute input_message_content.
19 20 21 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 19 def @input_message_content end |
#latitude ⇒ Float (readonly)
Returns the value of attribute latitude.
10 11 12 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 10 def latitude @latitude end |
#longitude ⇒ Float (readonly)
Returns the value of attribute longitude.
11 12 13 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 11 def longitude @longitude end |
#reply_markup ⇒ InlineKeyboardMarkup? (readonly)
Returns the value of attribute reply_markup.
18 19 20 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 18 def reply_markup @reply_markup end |
#thumbnail_height ⇒ Integer? (readonly)
Returns the value of attribute thumbnail_height.
22 23 24 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 22 def thumbnail_height @thumbnail_height end |
#thumbnail_url ⇒ String? (readonly)
Returns the value of attribute thumbnail_url.
20 21 22 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 20 def thumbnail_url @thumbnail_url end |
#thumbnail_width ⇒ Integer? (readonly)
Returns the value of attribute thumbnail_width.
21 22 23 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 21 def thumbnail_width @thumbnail_width end |
#title ⇒ String (readonly)
Returns the value of attribute title.
12 13 14 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 12 def title @title end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 8 def type @type end |
Class Method Details
.new(type:, id:, latitude:, longitude:, title:, address:, foursquare_id:, foursquare_type:, google_place_id:, google_place_type:, reply_markup:, input_message_content:, thumbnail_url:, thumbnail_width:, thumbnail_height:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/inline_query_result_venue.rbs', line 6
def self.new: (?type: String, id: String, latitude: Float, longitude: Float, title: String, address: String, ?foursquare_id: String, ?foursquare_type: String, ?google_place_id: String, ?google_place_type: String, ?reply_markup: InlineKeyboardMarkup, ?input_message_content: input_message_content, ?thumbnail_url: String, ?thumbnail_width: Integer, ?thumbnail_height: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|