Documentation ¶
Index ¶
- Constants
- Variables
- func CreateAboutUsMessage(chatId int64) tgbotapi.MessageConfig
- func CreateHomePageMessage(chatId int64, messageId int) tgbotapi.Chattable
- func CreateLoginMessage(chatId int64) tgbotapi.MessageConfig
- func CreateProfileInfoMessage(chatId int64, messageID int) tgbotapi.EditMessageTextConfig
- func CreateProfileStatsMessage(chatId int64, messageID int) tgbotapi.EditMessageTextConfig
- func CreateStartMessage(chatId int64) tgbotapi.MessageConfig
- func HandleMessages(updates tgbotapi.UpdatesChannel, m tbot.MyBotMembers)
- func InitBot(token string) (tgbotapi.UpdatesChannel, error)
- func SendLoadingMessage(chatId int64) (tgbotapi.Message, error)
Constants ¶
View Source
const ( PlayerStatsQuery = "player_stats_query📊📈" ProfileInfoQuery = "account_info_query🎫" ChangeAccountQuery = "change_account_query" AboutMessage = "About usℹ️" LogInMessage = "Log in" BackMessage = "Back" )
Variables ¶
View Source
var Bot *tgbotapi.BotAPI
Functions ¶
func CreateAboutUsMessage ¶
func CreateAboutUsMessage(chatId int64) tgbotapi.MessageConfig
func CreateHomePageMessage ¶
func CreateLoginMessage ¶
func CreateLoginMessage(chatId int64) tgbotapi.MessageConfig
func CreateProfileInfoMessage ¶
func CreateProfileInfoMessage(chatId int64, messageID int) tgbotapi.EditMessageTextConfig
func CreateProfileStatsMessage ¶
func CreateProfileStatsMessage(chatId int64, messageID int) tgbotapi.EditMessageTextConfig
func CreateStartMessage ¶
func CreateStartMessage(chatId int64) tgbotapi.MessageConfig
func HandleMessages ¶
func HandleMessages(updates tgbotapi.UpdatesChannel, m tbot.MyBotMembers)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.