content_struct

package
v0.0.0-...-4702bed Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

** description(""). ** copyright('open-im,www.open-im.io'). ** author("fg,Gordon@tuoyun.net"). ** time(2021/5/27 11:24).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContentStructString

func NewContentStructString(isDisplay int32, ID string, text string) string

func NewCreateGroupSysMsgString

func NewCreateGroupSysMsgString(create *CreateGroupSysMsg, text string) string

Types

type AgreeOrRejectGroupMember

type AgreeOrRejectGroupMember struct {
	GroupId  string `json:"groupID"`
	UserId   string `json:"userId"`
	Role     int    `json:"role"`
	JoinTime uint64 `json:"joinTime"`
	NickName string `json:"nickName"`
	FaceUrl  string `json:"faceUrl"`
	Reason   string `json:"reason"`
}

type AtTextContent

type AtTextContent struct {
	Text       string   `json:"text"`
	AtUserList []string `json:"atUserList"`
	IsAtSelf   bool     `json:"isAtSelf"`
}

type Content

type Content struct {
	IsDisplay int32  `json:"isDisplay"`
	ID        string `json:"id"`
	Text      string `json:"text"`
}

type CreateGroupSysMsg

type CreateGroupSysMsg struct {
	CreateTime uint64 `json:"CreateTime"`
	Text       string `json:"text"`
	// contains filtered or unexported fields
}

type KickGroupMemberApiReq

type KickGroupMemberApiReq struct {
	GroupID     string   `json:"groupID"`
	UidList     []string `json:"uidList"`
	Reason      string   `json:"reason"`
	OperationID string   `json:"operationID"`
}

type NotificationContent

type NotificationContent struct {
	IsDisplay   int32  `json:"isDisplay"`
	DefaultTips string `json:"defaultTips"`
	Detail      string `json:"detail"`
}

func (*NotificationContent) ContentToString

func (c *NotificationContent) ContentToString() string

Jump to

Keyboard shortcuts

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