bustypes

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMSearchResult

type IMSearchResult struct {
	ID       int64  `json:"id"`
	Name     string `json:"name"`
	IMStatus string `json:"im_status"`
}

An IMSearchResult is returned by Partner's IMSearch method

type Notification

type Notification struct {
	ID      int64       `json:"id"`
	Channel string      `json:"channel"`
	Message interface{} `json:"message"`
}

A Notification is a message that is sent/received on a channel over the message bus. Message must be JSON serializable.

type PollParams

type PollParams struct {
	Channels []string       `json:"channels"`
	Last     int64          `json:"last"`
	Options  *types.Context `json:"options"`
}

PollParams are the parameters of a long poll

Jump to

Keyboard shortcuts

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