Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BotsBy = bots.NewBotSettingsBy( telegram_bot.NewTelegramBot("StrongoCalcBot", "{TELEGRAM_BOT_EN_ID}:{TELEGRAM_BOT_EN_TOKEN}", SupportedLocalesByCode5[strongo.LOCALE_EN_US]), telegram_bot.NewTelegramBot("StrongoCalcRuBot", "{TELEGRAM_BOT_RU_ID}:{TELEGRAM_BOT_RU_ID}", SupportedLocalesByCode5[strongo.LOCALE_RU_RU]), )
View Source
var CalculateCommand = bots.Command{ Code: "calculate", Title: "Calculate", Action: func(whc bots.WebhookContext) (bots.MessageFromBot, error) { return }, }
View Source
var HelpCommand = bots.Command{ Code: "help", Title: "Help", Action: func(whc bots.WebhookContext) (bots.MessageFromBot, error) { return }, }
View Source
var StartCommand = bots.Command{ Code: "start", Title: "Start", Action: func(whc bots.WebhookContext) (bots.MessageFromBot, error) { return }, }
View Source
var SupportedLocalesByCode5 = map[string]strongo.Locale{
strongo.LOCALE_EN_US: strongo.LocaleEnUs,
strongo.LOCALE_RU_RU: strongo.LocaleRuRu,
strongo.LOCALE_IT_IT: strongo.LocaleItIt,
strongo.LOCALE_ID_ID: strongo.LocaleIdId,
strongo.LOCALE_DE_DE: strongo.LocaleDeDe,
strongo.LOCALE_ES_ES: strongo.LocaleEsEs,
strongo.LOCALE_FR_FR: strongo.LocaleFrFr,
strongo.LOCALE_PT_PT: strongo.LocalePtPt,
strongo.LOCALE_PT_BR: strongo.LocalePtBr,
strongo.LOCALE_FA_IR: strongo.LocaleFaIr,
}
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.