Documentation ¶ Index ¶ type Provider type Providers func New(rateLimit int, delay int) (*Providers, error) func (p *Providers) SendFile(fileName *string, data *[]byte, delay *uint) error func (p *Providers) SendText(text *string, delay *uint) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Provider ¶ type Provider interface { SendText(text *string) error SendFile(fileName *string, data *[]byte) error Close() error } type Providers ¶ type Providers struct { // contains filtered or unexported fields } func New ¶ func New(rateLimit int, delay int) (*Providers, error) func (*Providers) SendFile ¶ func (p *Providers) SendFile(fileName *string, data *[]byte, delay *uint) error func (*Providers) SendText ¶ func (p *Providers) SendText(text *string, delay *uint) error Source Files ¶ View all Source files provider.go providers.go Directories ¶ Show internal Expand all Path Synopsis telegram Click to show internal directories. Click to hide internal directories.