apimodels

package
v0.0.0-...-7d3b672 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.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 ApiAccessTokenRequest

type ApiAccessTokenRequest struct {
	AppId     string `json:"app_id"`
	AppSecret string `json:"app_secret"`
}

type ApiAccessTokenResponse

type ApiAccessTokenResponse struct {
	Code              int    `json:"code"`
	Msg               string `json:"msg"`
	AppAccessToken    string `json:"app_access_token"`
	TenantAccessToken string `json:"tenant_access_token"`
	Expire            int    `json:"expire"`
}

type FeishuImApiResult

type FeishuImApiResult struct {
	Code int `json:"code"`
	Data struct {
		HasMore   bool              `json:"has_more"`
		Items     []json.RawMessage `json:"items"`
		PageToken string            `json:"page_token"`
	} `json:"data"`
	Msg string `json:"msg"`
}

type FeishuMeetingTopUserItemResult

type FeishuMeetingTopUserItemResult struct {
	Code int64 `json:"code"`
	Data struct {
		TopUserReport []json.RawMessage `json:"top_user_report"`
	} `json:"data"`
	Msg string `json:"msg"`
}

type FeishuMessageResultItem

type FeishuMessageResultItem struct {
	Body struct {
		Content string `json:"content"`
	} `json:"body"`
	ChatId     string `json:"chat_id"`
	CreateTime string `json:"create_time"`
	Deleted    bool   `json:"deleted"`
	Mentions   []struct {
		Id        string `json:"id"`
		IdType    string `json:"id_type"`
		Key       string `json:"key"`
		Name      string `json:"name"`
		TenantKey string `json:"tenant_key"`
	} `json:"mentions"`
	MessageId string `json:"message_id"`
	MsgType   string `json:"msg_type"`
	ParentId  string `json:"parent_id"`
	RootId    string `json:"root_id"`
	Sender    struct {
		Id         string `json:"id"`
		IdType     string `json:"id_type"`
		SenderType string `json:"sender_type"`
		TenantKey  string `json:"tenant_key"`
	} `json:"sender"`
	UpdateTime string `json:"update_time"`
	Updated    bool   `json:"updated"`
}

Jump to

Keyboard shortcuts

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