Documentation ¶ Index ¶ type Telegram func NewTelegram(apiToken string, cl *req.Client) *Telegram func (t *Telegram) GetFile(ctx context.Context, fileID string) ([]byte, error) func (t *Telegram) React(ctx context.Context, chatID int64, messageID int64, reaction string) error func (t *Telegram) SendMessage(ctx context.Context, chatID int64, raw string) error 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 NewTelegram( apiToken string, cl *req.Client, ) *Telegram func (*Telegram) GetFile ¶ func (t *Telegram) GetFile(ctx context.Context, fileID string) ([]byte, error) func (*Telegram) React ¶ func (t *Telegram) React( ctx context.Context, chatID int64, messageID int64, reaction string, ) error func (*Telegram) SendMessage ¶ func (t *Telegram) SendMessage( ctx context.Context, chatID int64, raw string, ) error Source Files ¶ View all Source files telegram.go types.go Click to show internal directories. Click to hide internal directories.