Class: Telegram::Bot::Types::InputVenueMessageContent
- Defined in:
- sig/telegram/bot/types/input_venue_message_content.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.
-
#latitude ⇒ Float
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ Float
readonly
Returns the value of attribute longitude.
-
#title ⇒ String
readonly
Returns the value of attribute title.
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.
11 12 13 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 11 def address @address end |
#foursquare_id ⇒ String? (readonly)
Returns the value of attribute foursquare_id.
12 13 14 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 12 def foursquare_id @foursquare_id end |
#foursquare_type ⇒ String? (readonly)
Returns the value of attribute foursquare_type.
13 14 15 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 13 def foursquare_type @foursquare_type end |
#google_place_id ⇒ String? (readonly)
Returns the value of attribute google_place_id.
14 15 16 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 14 def google_place_id @google_place_id end |
#google_place_type ⇒ String? (readonly)
Returns the value of attribute google_place_type.
15 16 17 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 15 def google_place_type @google_place_type end |
#latitude ⇒ Float (readonly)
Returns the value of attribute latitude.
8 9 10 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 8 def latitude @latitude end |
#longitude ⇒ Float (readonly)
Returns the value of attribute longitude.
9 10 11 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 9 def longitude @longitude end |
#title ⇒ String (readonly)
Returns the value of attribute title.
10 11 12 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 10 def title @title end |
Class Method Details
.new(latitude:, longitude:, title:, address:, foursquare_id:, foursquare_type:, google_place_id:, google_place_type:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/input_venue_message_content.rbs', line 6
def self.new: (latitude: Float, longitude: Float, title: String, address: String, ?foursquare_id: String, ?foursquare_type: String, ?google_place_id: String, ?google_place_type: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|