Documentation ¶
Index ¶
Constants ¶
View Source
const ( ZH = intern.LanguageCodeZH EN = intern.LanguageCodeEN )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶ added in v0.0.22
type Attachment struct { ID string `json:"id"` Token string `json:"token"` MimeType string `json:"mime_type"` Name string `json:"name"` Size int64 `json:"size"` }
Attachment 文件
type Avatar ¶ added in v0.0.22
type Avatar struct { Source string `json:"source"` Image AvatarImages `json:"image"` Color string `json:"color"` ColorID string `json:"color_id"` Content int64 `json:"content"` }
Avatar 头像
type AvatarImages ¶ added in v0.0.22
type PhoneNumber ¶
type PhoneNumber struct { // 示例:+86(CN) Key string `json:"key"` // 示例:18898888888 Number string `json:"number"` }
PhoneNumber 电话号码
type Region ¶ added in v0.0.22
type Region struct { ID int64 `json:"id"` RegionID int64 `json:"regionId"` Level int `json:"level"` RegionCode string `json:"regionCode"` FullPath Multilingual `json:"fullPath"` }
Region 行政区划
type RichText ¶ added in v0.0.22
type RichText struct { Raw string `json:"raw"` Preview string `json:"preview"` Config []*RichTextConfig `json:"config"` }
RichText 富文本
type RichTextConfig ¶ added in v0.0.22
type RichTextConfig struct { ResourceID string `json:"resourceId"` ResourceType string `json:"resourceType"` Token string `json:"token"` }
RichTextConfig 富文本配置
Click to show internal directories.
Click to hide internal directories.