public class MemberWithGuildID extends Member implements BotContent
| 字段名 | 类型 | 描述 |
|---|---|---|
| guild_id | string | 频道id |
| user | User | 用户的频道基础信息 |
| nick | string | 用户的昵称 |
| roles | string 数组 | 用户在频道内的身份 |
| joined_at | ISO8601 timestamp | 用户加入频道的时间 |
| Constructor and Description |
|---|
MemberWithGuildID() |
| Modifier and Type | Method and Description |
|---|---|
Bot |
getBot() |
void |
mute(int seconds)
禁言秒数
|
void |
mute(long timestamp)
禁言到指定时间戳 单位:秒
|
void |
setBot(Bot bot) |
at, getCid, getEnvType, getId, getOpenid, send, send, sendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpUserIdgetMidpublic void mute(int seconds)
seconds - public void mute(long timestamp)
timestamp - public Bot getBot()
getBot in interface BotContentpublic void setBot(Bot bot)
setBot in interface BotContentsetBot in class ContactCopyright © 2024. All rights reserved.