EventMember
class EventMember @EventModelConstructor constructor(val guildId: String, val user: User, val nick: String, val roles: List<String> = emptyList(), val opUserId: String, val joinedAt: String = QQ.ZERO_ISO_INSTANT) : MemberWithGuildId(source)
频道成员事件体。
在 MemberWithGuildId 基础上,增加 op_user_id 代表操作人。
Properties
Link copied to clipboard
频道id
Link copied to clipboard
用户加入频道的时间。如果属性缺失则会使用 QQ.ZERO_ISO_INSTANT。
Link copied to clipboard
操作人
Link copied to clipboard
用户在频道内的身份组ID, 默认值可参考 DefaultRoles 或 love.forte.simbot.qguild.model.Role.Companion 的部分常量值。
Functions
Inherited functions
Link copied to clipboard
将任意 Member 类型转化为 MessageMember. 如果类型本身即为 MessageMember 则返回自身,否则得到新的实例。