request

package
v3.0.0-...-7300911 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	Msgtype string `json:"msgtype"`
	Image   Image  `json:"image,omitempty"`
	Video   Video  `json:"video,omitempty"`
	Link    Link   `json:"link,omitempty"`
}

type ExternalContactList

type ExternalContactList struct {
	TagList []string `json:"tag_list"`
}

type Image

type Image struct {
	MediaId string `json:"media_id"`
}
type Link struct {
	Title   string `json:"title"`
	Url     string `json:"url"`
	MediaId string `json:"media_id"`
}

type RequestAddMomentTask

type RequestAddMomentTask struct {
	Text         Text          `json:"text"`
	Attachments  []Attachment  `json:"attachments"`
	VisibleRange *VisibleRange `json:"visible_range"`
}

type RequestGetMomentList

type RequestGetMomentList struct {
	StartTime  int64  `json:"start_time" `
	EndTime    int64  `json:"end_time"`
	Creator    string `json:"creator"`
	FilterType int    `json:"filter_type"`
	Cursor     string `json:"cursor"`
	Limit      int    `json:"limit"`
}

type SenderList

type SenderList struct {
	UserList       []string `json:"user_list"`
	DepartmentList []int    `json:"department_list"`
}

type Text

type Text struct {
	Content string `json:"content"`
}

type Video

type Video struct {
	MediaId string `json:"media_id"`
}

type VisibleRange

type VisibleRange struct {
	SenderList          SenderList          `json:"sender_list"`
	ExternalContactList ExternalContactList `json:"external_contact_list"`
}

Jump to

Keyboard shortcuts

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