telegram

package
v0.0.0-...-1951315 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: BSD-3-Clause Imports: 2 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(telegramToken string, chatID int64) (*Client, error)

func (*Client) NewUpdates

func (c *Client) NewUpdates() (tgbotapi.UpdatesChannel, error)

func (*Client) SendMsg

func (c *Client) SendMsg(text string) error

Jump to

Keyboard shortcuts

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