Documentation ¶
Index ¶
- type Service
- func (s *Service) DeleteMessage(message *tgbotapi.Message) error
- func (s *Service) DeleteMessageById(chatId int64, messageId int) error
- func (s *Service) DownloadFile(fileId string) ([]byte, error)
- func (s *Service) GetFileDirectUrl(fileId string) (string, error)
- func (s *Service) Send(chattable tgbotapi.Chattable) error
- func (s *Service) SendDocument(chat *tgbotapi.Chat, bytes []byte, name string) error
- func (s *Service) SendMessage(chat *tgbotapi.Chat, text string) error
- func (s *Service) SendMessageCustom(chat *tgbotapi.Chat, text string, ...) (*tgbotapi.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) DeleteMessageById ¶ added in v1.5.0
func (*Service) DownloadFile ¶ added in v1.3.0
func (*Service) GetFileDirectUrl ¶
func (*Service) SendDocument ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.