model

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	Token  string `json:"tenant_access_token"`
	Expire int64  `json:"expire"`
}

type CommonField

type CommonField struct {
	Code int64  `json:"code"`
	Msg  string `json:"msg"`
}

type Image

type Image struct {
	CommonField
	Data *ImageData
}

type ImageData

type ImageData struct {
	ImageKey string `json:"image_key"`
}

type ListRoomResponse

type ListRoomResponse struct {
	CommonField
	Data *RoomData
}

type MessageAPIResponse

type MessageAPIResponse struct {
	CommonField,
	Data *messageAPIData
}

type Room

type Room struct {
	Avatar      string `json:"avatar"`
	Description string `json:"description"`
	ChatID      string `json:"chat_id"`
	Name        string `json:"name"`
	OwnerOpenID string `json:"owner_open_id"`
	OwnerUserID string `json:"owner_user_id"`
}

type RoomData

type RoomData struct {
	Groups    []*Room `json:"groups"`
	PageToken string  `json:"page_token"`
	HasMore   bool    `json:"has_more"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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