Documentation ¶
Index ¶
Constants ¶
View Source
const (
TelegramEndpointName = "telegram"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelegramEndpoint ¶
type TelegramEndpoint struct {
// contains filtered or unexported fields
}
func InitializeTelegramEndpoint ¶
func InitializeTelegramEndpoint(token string, exitChan <-chan struct{}, database db.Database) (*TelegramEndpoint, error)
func (*TelegramEndpoint) Process ¶
func (e *TelegramEndpoint) Process()
func (*TelegramEndpoint) Send ¶
func (e *TelegramEndpoint) Send(url, filter, message string) error
Click to show internal directories.
Click to hide internal directories.