Documentation
¶
Index ¶
- type Application
- type ApplicationIds
- type Applications
- type BanUser
- type BanUsersReq
- type Bot
- type BotConf
- type BotReq
- type BotSettings
- type Bots
- type DelHisMsgsReq
- type EmailConf
- type FileType
- type GlobalConversation
- type GlobalConversations
- type Group
- type GroupIds
- type Groups
- type HisMsg
- type HisMsgs
- type OssType
- type PreSignResp
- type QiNiuCredResp
- type QryFileCredReq
- type QryFileCredResp
- type RecallHisMsgReq
- type User
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
AppId string `json:"app_id"`
AppName string `json:"app_name"`
AppIcon string `json:"app_icon"`
AppDesc string `json:"app_desc"`
AppUrl string `json:"app_url"`
AppOrder int `json:"app_order"`
CreatedTime int64 `json:"created_time"`
UpdatedTime int64 `json:"updated_time"`
AppKey string `json:"app_key,omitempty"`
}
type ApplicationIds ¶
type Applications ¶
type Applications struct {
Items []*Application `json:"items"`
Offset string `json:"offset,omitempty"`
Page int `json:"page"`
Size int `json:"size"`
}
type BanUsersReq ¶
type BotReq ¶ added in v1.0.7
type BotReq struct {
AppKey string `json:"app_key"`
BotId string `json:"bot_id"`
Nickname string `json:"nickname"`
Avatar string `json:"avatar"`
Pinyin string `json:"pinyin"`
BotConf *BotConf `json:"bot_conf"`
BotSettings *BotSettings `json:"bot_settings"`
ExtFields map[string]string `json:"ext_fields"`
}
type BotSettings ¶ added in v1.0.7
type BotSettings struct {
OnlyMentioned bool `json:"only_mentioned"`
}
type DelHisMsgsReq ¶
type EmailConf ¶
type EmailConf struct {
AppKey string `json:"app_key"`
Conf *servicemodels.MailEngineConf `json:"conf"`
}
type GlobalConversation ¶
type GlobalConversations ¶
type GlobalConversations struct {
Items []*GlobalConversation `json:"items"`
}
type PreSignResp ¶
type QiNiuCredResp ¶
type QryFileCredReq ¶
type QryFileCredResp ¶
type QryFileCredResp struct {
OssType OssType `json:"oss_type"`
QiNiuCredResp *QiNiuCredResp `json:"qiniu_resp"`
PreSignResp *PreSignResp `json:"pre_sign_resp"`
}
type RecallHisMsgReq ¶
type User ¶
type User struct {
UserId string `json:"user_id"`
Nickname string `json:"nickname"`
Avatar string `json:"avatar"`
Pinyin string `json:"pinyin"`
UserType int `json:"user_type"`
Phone string `json:"phone"`
Email string `json:"email"`
Account string `json:"account"`
Status int32 `json:"status"`
CreatedTime int64 `json:"created_time"`
}
Click to show internal directories.
Click to hide internal directories.