Versions in this module Expand all Collapse all v2 v2.16.1 May 24, 2023 v2.16.0 May 24, 2023 Changes in this version + func TsFromContext(ctx context.Context) int + type Failed struct + Code int + func (e Failed) Error() string + type LongPoll struct + Client *http.Client + GroupID int + Key string + Server string + Ts string + VK *api.VK + Wait int + func NewLongPoll(vk *api.VK, groupID int) (*LongPoll, error) + func NewLongPollCommunity(vk *api.VK) (*LongPoll, error) + func (lp *LongPoll) FullResponse(f func(Response)) + func (lp *LongPoll) Run() error + func (lp *LongPoll) RunWithContext(ctx context.Context) error + func (lp *LongPoll) Shutdown() + type Response struct + Failed int + Ts string + Updates []events.GroupEvent