im

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GroupUnBlock GroupStatus = 0
	GroupBlock   GroupStatus = 1

	GroupUserDisable GroupUserStatus = 0
	GroupUserEnable  GroupUserStatus = 1
)

Functions

func New added in v0.4.2

func New(operatorID string) *im

Types

type Group added in v0.6.5

type Group struct {
	ID        string `json:"gid"`
	Name      string `json:"gname"`
	GagStatus int8   `json:"gagstatus"`
	AppID     string `json:"appid"`
	Block     int8   `json:"block"`
	Admin     string `json:"admin"`
	CTime     string `json:"createtime"`
	Version   int64  `json:"version"`
}

type GroupInfo added in v0.6.5

type GroupInfo struct {
	Group
	Topic  string
	MTime  string
	Author string
}

type GroupStatus added in v0.6.5

type GroupStatus int

type GroupUser added in v0.6.5

type GroupUser struct {
	ID         string `json:"uid"`
	Name       string `json:"nickname"`
	GID        string `json:"gid"`
	AppID      string `json:"appid"`
	GagStatus  int8   `json:"gagstatus"`
	Role       int8   `json:"role"`
	Notifiable int8   `json:"notifiable"`
	Status     int8   `json:"status"`
	CTime      string `json:"createtime"`
}

type GroupUserStatus added in v0.6.5

type GroupUserStatus int

Jump to

Keyboard shortcuts

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