creategroup

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateGroupData

type CreateGroupData struct {
	/**
	 * 群id
	 */
	GroupId int64 `json:"group_id"`
	/**
	 * 创建时间
	 */
	Ctime int64 `json:"ctime"`
	/**
	 * 群聊状态
	 */
	State int32 `json:"state"`
	/**
	 * 关闭类型
	 */
	CloseType string `json:"close_type"`
	/**
	 * 是否是新群
	 */
	NewGroup string `json:"new_group"`
}

type CreateGroupRequest

type CreateGroupRequest struct {
	/**
	 *  群聊类型,评价联系:1
	 */
	GroupType int32 `json:"group_type"`
	/**
	 *  评价联系需要的参数,group_type为1时的必填参数
	 */
	CommentId int64 `json:"comment_id"`
}

func (*CreateGroupRequest) DoInvoke

func (req *CreateGroupRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*CreateGroupResponse, error)

type CreateGroupResponse

type CreateGroupResponse struct {
	Code    string          `json:"code"`
	Msg     string          `json:"msg"`
	Data    CreateGroupData `json:"data"`
	TraceId string          `json:"traceId"`
}

func (*CreateGroupResponse) IsSuccess

func (response *CreateGroupResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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