Documentation
¶
Index ¶
- type EasyApi
- func (a EasyApi) AnswerCallback(update tgbotapi.Update, text string)
- func (a EasyApi) AnswerEmptyCallback(update tgbotapi.Update)
- func (a *EasyApi) DownloadFileString(fileId string) (string, error)
- func (a EasyApi) SendKeyboard(update tgbotapi.Update, keyboard EasyKeyboard, text string, tryInline bool)
- func (a EasyApi) SendMessage(update tgbotapi.Update, text string) (tgbotapi.Message, error)
- func (a EasyApi) SendMessageCommand(update tgbotapi.Update, text string, command string) (tgbotapi.Message, error)
- type EasyKeyboard
- type Key
- type KeySplit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EasyApi ¶
type EasyApi struct {
// contains filtered or unexported fields
}
func NewEasyApi ¶
func (EasyApi) AnswerCallback ¶
func (EasyApi) AnswerEmptyCallback ¶
func (*EasyApi) DownloadFileString ¶
func (EasyApi) SendKeyboard ¶
func (EasyApi) SendMessage ¶
type EasyKeyboard ¶
type EasyKeyboard struct {
// contains filtered or unexported fields
}
func (*EasyKeyboard) Add ¶
func (k *EasyKeyboard) Add(text string, data string)
func (*EasyKeyboard) AddSplit ¶
func (k *EasyKeyboard) AddSplit()
func (EasyKeyboard) InlineKeyboardMarkup ¶
func (k EasyKeyboard) InlineKeyboardMarkup() tgbotapi.InlineKeyboardMarkup
func (*EasyKeyboard) SetWidth ¶
func (k *EasyKeyboard) SetWidth(width int) *EasyKeyboard
Click to show internal directories.
Click to hide internal directories.