handler

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Init()
	Run()
	RegisterResponser(function func(chats.Chat, chats.OutgoingMessage))
	// contains filtered or unexported methods
}

type LongPoll

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

func (*LongPoll) Init

func (longpoll *LongPoll) Init()

func (*LongPoll) RegisterResponser

func (longpoll *LongPoll) RegisterResponser(function func(chats.Chat, chats.OutgoingMessage))

func (*LongPoll) Run

func (longpoll *LongPoll) Run()

Jump to

Keyboard shortcuts

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