Data

class Data @EventModelConstructor constructor(val id: String, val author: GroupAtMessageCreate.Author, val content: String, val timestamp: String, val groupOpenid: String, val attachments: List<Message.Attachment> = emptyList()) : GroupMessageData(source)

The data of GroupAtMessageCreate.data

Constructors

Link copied to clipboard
constructor(id: String, author: GroupAtMessageCreate.Author, content: String, timestamp: String, groupOpenid: String, attachments: List<Message.Attachment> = emptyList())

Properties

Link copied to clipboard
open override val attachments: List<Message.Attachment>

富媒体文件附件,文件类型:"图片,语音,视频,文件" {"content_type": "", "filename": "", "height": "", "width": "", "size": "", "url": ""}

Link copied to clipboard

发送者

Link copied to clipboard
open override val content: String

消息内容

Link copied to clipboard
@SerialName(value = "group_openid")
open override val groupOpenid: String

群聊的 openid

Link copied to clipboard
open override val id: String

平台方消息 ID,可以用于被动消息发送

Link copied to clipboard
open override val timestamp: String

消息生产时间(RFC3339)

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
Link copied to clipboard
operator fun component3(): String
Link copied to clipboard
operator fun component4(): String
Link copied to clipboard
operator fun component5(): String
Link copied to clipboard
Link copied to clipboard
fun copy(id: String = this.id, author: GroupAtMessageCreate.Author = this.author, content: String = this.content, timestamp: String = this.timestamp, groupOpenid: String = this.groupOpenid, attachments: List<Message.Attachment> = this.attachments): GroupAtMessageCreate.Data
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String