tele

package
Version: v0.0.0-...-d2c25bc Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	Me *User
	// contains filtered or unexported fields
}

func Client

func Client(token string) *Bot

func (Bot) DeleteMessage

func (b Bot) DeleteMessage(chat string, message_id string) (res []byte)

func (Bot) GetMe

func (b Bot) GetMe() []byte

func (Bot) SendMessage

func (b Bot) SendMessage(chat_id int, text string) (res []byte)

func (Bot) SendPhoto

func (b Bot) SendPhoto(chat string, photo string) (res string)

type User

type User struct {
	// contains filtered or unexported fields
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL