faassdk

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

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 AvatarImages map[string]string

type Multilingual

type Multilingual = intern.Multilingual

Multilingual 多语结构

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 富文本配置

Jump to

Keyboard shortcuts

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