Documentation ¶
Index ¶
Constants ¶
View Source
const ( InitialState string = "initial_state" GettingCountryState string = "getting_country" GettingCityState string = "getting_city" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetLocationSequence ¶
type GetLocationSequence struct {
// contains filtered or unexported fields
}
func CreateGetLocationSequence ¶
func CreateGetLocationSequence(chatID int64, geoService services.GeoService) GetLocationSequence
func (*GetLocationSequence) GetCityName ¶
func (s *GetLocationSequence) GetCityName() string
func (*GetLocationSequence) GetCoordinates ¶
func (s *GetLocationSequence) GetCoordinates() models.Coordinates
func (*GetLocationSequence) GetCountryName ¶
func (s *GetLocationSequence) GetCountryName() string
func (*GetLocationSequence) Handle ¶
func (s *GetLocationSequence) Handle(update *tgbotapi.Update) (*tgbotapi.MessageConfig, c.Status)
Click to show internal directories.
Click to hide internal directories.