Documentation ¶
Index ¶
- type CasResponse
- type Conf
- type Config
- type InlineButton
- type SNBot
- func (s *SNBot) CreateInlineKeyboard(keyboard [][]InlineButton) tgbotapi.InlineKeyboardMarkup
- func (s *SNBot) DeleteMessage(chatID int64, messageID int) (tgbotapi.Message, error)
- func (s *SNBot) EditMessage(chatID int64, msgID int, msg string) (tgbotapi.Message, error)
- func (s *SNBot) EditMessageKeyboard(chatID int64, msgID int, msg string, board tgbotapi.InlineKeyboardMarkup) (tgbotapi.Message, error)
- func (s *SNBot) Forward(chatID int64, fromChatID int64, replyID int) (tgbotapi.Message, error)
- func (s *SNBot) Send(chatID int64, msg string) (tgbotapi.Message, error)
- func (s *SNBot) SendPhoto(chatID int64, pic string) (tgbotapi.Message, error)
- func (s *SNBot) SendReply(chatID int64, replyID int, msg string) (tgbotapi.Message, error)
- func (s *SNBot) SendReplyKeyboard(chatID int64, replyID int, msg string, board tgbotapi.InlineKeyboardMarkup) (tgbotapi.Message, error)
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CasResponse ¶
type CasResponse struct {
Ok bool
}
type InlineButton ¶
type SNBot ¶
type SNBot struct { Cfg *Config Bot *tgbotapi.BotAPI //Upd tgbotapi.UpdatesChannel Upd chan tgbotapi.Update Db bd.DB Conf Conf }
func (*SNBot) CreateInlineKeyboard ¶
func (s *SNBot) CreateInlineKeyboard(keyboard [][]InlineButton) tgbotapi.InlineKeyboardMarkup
func (*SNBot) DeleteMessage ¶
func (*SNBot) EditMessage ¶
func (*SNBot) EditMessageKeyboard ¶
Click to show internal directories.
Click to hide internal directories.