request

package
v3.2.39 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment added in v3.1.17

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

type ExternalContactList added in v3.1.17

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

type Image added in v3.1.17

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 added in v3.1.17

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 added in v3.1.17

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

type Text added in v3.1.17

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

type Video added in v3.1.17

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

type VisibleRange added in v3.1.17

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