Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Webhook(domain string, f OnMessage) (*Webhook, error) Poll(f OnMessage) error }
Client is an interface for interacting with the Telegram API.
type Message ¶
type Message struct { Text string // contains filtered or unexported fields }
Message represents a message received from Telegram.
Click to show internal directories.
Click to hide internal directories.