class TelegramBot::StoryAreaTypeLocation

Included Modules

Defined in:

telegram_bot/types/story.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::StoryAreaType

type : String type, type=(type : String) type=

Constructor methods inherited from class TelegramBot::StoryAreaType

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Constructor Detail

def self.new(latitude : Float64, longitude : Float64, *, address : LocationAddress | Nil = nil) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def address : LocationAddress | Nil #

def address=(address : LocationAddress | Nil) #

def latitude : Float64 #

def latitude=(latitude : Float64) #

def longitude : Float64 #

def longitude=(longitude : Float64) #

def type : String #

def type=(type : String) #