Class: Telegram::Bot::Types::BusinessLocation
- Defined in:
- sig/telegram/bot/types/business_location.rbs
Instance Attribute Summary collapse
-
#address ⇒ String
readonly
Returns the value of attribute address.
-
#location ⇒ Location?
readonly
Returns the value of attribute location.
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.
8 9 10 |
# File 'sig/telegram/bot/types/business_location.rbs', line 8 def address @address end |
#location ⇒ Location? (readonly)
Returns the value of attribute location.
9 10 11 |
# File 'sig/telegram/bot/types/business_location.rbs', line 9 def location @location end |
Class Method Details
.new(address:, location:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/business_location.rbs', line 6
def self.new: (address: String, ?location: Location) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|