botpoll

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestLongPoll

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

func NewLongPoll

func NewLongPoll(vk *api.VK) (*longpoll.LongPoll, TestLongPoll)

func NewTestLongPoll

func NewTestLongPoll() TestLongPoll

func (TestLongPoll) Client

func (l TestLongPoll) Client() *http.Client

func (TestLongPoll) Close

func (l TestLongPoll) Close() error

func (TestLongPoll) Notify

func (l TestLongPoll) Notify(events ...events.GroupEvent)

func (TestLongPoll) NotifyOne

func (l TestLongPoll) NotifyOne(event events.GroupEvent)

func (TestLongPoll) SendMessage

func (l TestLongPoll) SendMessage(msgs ...object.MessagesMessage) error

func (TestLongPoll) ServeHTTP

func (l TestLongPoll) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (TestLongPoll) Subscribe

func (TestLongPoll) URL

func (l TestLongPoll) URL() string

func (TestLongPoll) Unsubscribe

func (l TestLongPoll) Unsubscribe(o object.MessagesLongPollParams)

Jump to

Keyboard shortcuts

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