response

package
v3.2.45 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	UserID string `json:"userid"`
}

type CompactGroupChat

type CompactGroupChat struct {
	ChatID string `json:"chat_id"`
	Status int    `json:"status"`
}

type GroupChat

type GroupChat struct {
	ChatID        string    `json:"chat_id"`
	Name          string    `json:"name"`
	Owner         string    `json:"owner"`
	CreateTime    int       `json:"create_time"`
	Notice        string    `json:"notice"`
	MemberList    []*Member `json:"member_list"`
	AdminList     []*Admin  `json:"admin_list"`
	MemberVersion string    `json:"member_version"`
}

type Invitor

type Invitor struct {
	UserID string `json:"userid"`
}

type Member

type Member struct {
	UserID        string   `json:"userid"`
	Type          int      `json:"type"`
	JoinTime      int      `json:"join_time"`
	JoinScene     int      `json:"join_scene"`
	State         string   `json:"state"`
	Invitor       *Invitor `json:"invitor,omitempty"`
	GroupNickname string   `json:"group_nickname"`
	Name          string   `json:"name"`
	UnionID       string   `json:"unionid,omitempty"`
}

type ResponseFailedChat

type ResponseFailedChat struct {
	response.ResponseWork

	ChatID  string `json:"chat_id"` //  "wrOgQhDgAAcwMTB7YmDkbeBsgT_KAAAA",
	ErrCode int    `json:"errcode"` //  90500,
	ErrMsg  string `json:"errmsg"`  //  "the owner of this chat is not resigned"

}

type ResponseGroupChatGet

type ResponseGroupChatGet struct {
	response.ResponseWork
	GroupChat *GroupChat `json:"group_chat"`
}

type ResponseGroupChatList

type ResponseGroupChatList struct {
	response.ResponseWork
	GroupChatList []*CompactGroupChat `json:"group_chat_list"`
	NextCursor    string              `json:"next_cursor"`
}

type ResponseGroupChatOpenGIDToChatID

type ResponseGroupChatOpenGIDToChatID struct {
	response.ResponseWork
	ChatID *power.HashMap `json:"chat_id"`
}

type ResponseGroupChatTransfer

type ResponseGroupChatTransfer struct {
	response.ResponseWork

	ExternalContactList []*ResponseFailedChat `json:"failed_chat_list"`
}

Jump to

Keyboard shortcuts

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