channel

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Id       string      `json:"id"`
	Type     ChannelType `json:"type"`
	Name     string      `json:"name"`
	ParentId string      `json:"parent_id"`
}

type ChannelList

type ChannelList struct {
	Data []Channel `json:"data"`
	Next string    `json:"next,omitempty"`
}

type ChannelType

type ChannelType uint64
const (
	CHANNEL_TYPE_TEXT     ChannelType = 0
	CHANNEL_TYPE_VOICE    ChannelType = 1
	CHANNEL_TYPE_CATEGORY ChannelType = 2
	CHANNEL_TYPE_DIRECT   ChannelType = 3
)

Jump to

Keyboard shortcuts

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