Versions in this module Expand all Collapse all v0 v0.1.1 Aug 13, 2020 v0.1.0 Feb 9, 2020 Changes in this version + func NewBotWriter(bot *telegram.Bot, chatID int) *botWriter + type BytesUploader struct + func NewBytesUploader(name string, b []byte) *BytesUploader + func (b *BytesUploader) Name() string + func (b *BytesUploader) Reader() (io.Reader, error) + func (b *BytesUploader) Size() int64 + type Handler struct + func NewHandler(bot *telegram.Bot, logic *Logic, cfg *conf.Struct) *Handler + func (h *Handler) Handle(upd telegram.Update) + type Logic struct + func NewLogic(cli *client.Client) *Logic + func (l *Logic) CommandGenerate(w *botWriter, profileName string) ([]byte, error) + func (l *Logic) CommandInit(w io.Writer, addr string) error + func (l *Logic) CommandRemove(w io.Writer) + func (l *Logic) CommandStatus() (string, error)