telegram

package
v0.0.0-...-38c0829 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Token string
}

Client struct.

func (*Client) Name

func (c *Client) Name() string

Name returns the name of the remote.

func (*Client) Reaction

func (c *Client) Reaction(_ models.Message, _ models.Rule, _ *models.Bot)

Reaction implementation to satisfy remote interface.

func (*Client) Read

func (c *Client) Read(inputMsgs chan<- models.Message, _ map[string]models.Rule, bot *models.Bot)

Read implementation to satisfy remote interface.

func (*Client) Send

func (c *Client) Send(message models.Message, _ *models.Bot)

Send implementation to satisfy remote interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL