telegram

package
v0.0.0-...-f6b8a13 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 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 Bot

type Bot struct {
	// Observer interface for subscribe on system event
	notify.Subscriber // Observer interface for subscribe on system event
	// contains filtered or unexported fields
}

func (*Bot) Init

func (b *Bot) Init() error

func (*Bot) Notify

func (b *Bot) Notify(ctx context.Context, event uint32, payload interface{}) notify.Response

func (*Bot) Send

func (b *Bot) Send(message string) error

Jump to

Keyboard shortcuts

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