telegram

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewMessage = tgbotapi.NewMessage

Functions

This section is empty.

Types

type Bot

type Bot struct {
	T *tgbotapi.BotAPI
	// contains filtered or unexported fields
}

func New

func New(key string) (*Bot, error)

func (*Bot) Close

func (b *Bot) Close() error

func (*Bot) Start

func (b *Bot) Start() error

func (*Bot) UpdateChan

func (b *Bot) UpdateChan() tgbotapi.UpdatesChannel

type UpdatesChannel

type UpdatesChannel = tgbotapi.UpdatesChannel

Directories

Path Synopsis
Package tgbotapi has functions and types used for interacting with the Telegram Bot API.
Package tgbotapi has functions and types used for interacting with the Telegram Bot API.

Jump to

Keyboard shortcuts

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