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