bot

package
v0.0.0-...-7e5060d Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chat

type Chat struct {
	Id string `json:"id"`
}

func (Chat) Recipient

func (c Chat) Recipient() string

type TgBot

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

func New

func New() *TgBot

func (*TgBot) Run

func (b *TgBot) Run()

func (*TgBot) SendMsg

func (b *TgBot) SendMsg(msg string)

Jump to

Keyboard shortcuts

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