Documentation
¶
Overview ¶
Package telegram is the Telegram frontend: it turns updates into core calls and implements core.UI.
Index ¶
- type Bot
- func (b *Bot) Notice(conv core.Conv, text string)
- func (b *Bot) Progress(conv core.Conv) core.Progress
- func (b *Bot) Reply(conv core.Conv, md string)
- func (b *Bot) Run(ctx context.Context)
- func (b *Bot) SendFile(ctx context.Context, conv core.Conv, path, caption string) error
- func (b *Bot) SendVoice(ctx context.Context, conv core.Conv, ogg []byte) error
- func (b *Bot) ShowApproval(conv core.Conv, id string, p agent.Permission) core.ApprovalView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.