Documentation ¶
Index ¶
- type Telegram
- func (tg *Telegram) ID()
- func (tg *Telegram) SendFile(filePath, fileName, mime, caption string, recipient []conf.TGRecipient) error
- func (tg *Telegram) SendImage(imagePath, caption string, recipient []conf.TGRecipient) error
- func (tg *Telegram) SendMessage(msg string, recipient []conf.TGRecipient, markdown bool) error
- func (tg *Telegram) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func NewTelegram ¶
func (*Telegram) SendFile ¶
func (tg *Telegram) SendFile(filePath, fileName, mime, caption string, recipient []conf.TGRecipient) error
func (*Telegram) SendImage ¶
func (tg *Telegram) SendImage(imagePath, caption string, recipient []conf.TGRecipient) error
func (*Telegram) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.