Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTGTransport ¶
func NewTGTransport() transport.ITransport
Types ¶
type TelegramTransport ¶
type TelegramTransport struct { }
func (TelegramTransport) GetName ¶
func (t TelegramTransport) GetName() string
func (TelegramTransport) NewTransportConfig ¶
func (t TelegramTransport) NewTransportConfig(ctx context.Context)
func (TelegramTransport) SendMessage ¶
func (t TelegramTransport) SendMessage(ctx context.Context, config transport.TransportConfig, msg msg.Message) (err error)
func (TelegramTransport) Start ¶
func (t TelegramTransport) Start()
Click to show internal directories.
Click to hide internal directories.