Skip to content

Interface: ChatMember

聊天成员对象。

Properties

can_add_web_page_previews?

optional can_add_web_page_previews: boolean

Unused

Defined in

src/typings/user.ts:100


can_be_edited?

optional can_be_edited: boolean

是机器人时,是否可修改用户的管理员权限。

Defined in

src/typings/user.ts:72


can_change_info?

optional can_change_info: boolean

Unused

Defined in

src/typings/user.ts:84


can_delete_messages?

optional can_delete_messages: boolean

Unused

Defined in

src/typings/user.ts:78


can_edit_messages?

optional can_edit_messages: boolean

是否可管理消息。

Defined in

src/typings/user.ts:76


can_invite_users?

optional can_invite_users: boolean

Unused

Defined in

src/typings/user.ts:86


can_manage_channels?

optional can_manage_channels: boolean

是否可管理频道。

Defined in

src/typings/user.ts:66


can_manage_emojis?

optional can_manage_emojis: boolean

是否可管理表情。

Defined in

src/typings/user.ts:70


can_manage_guild?

optional can_manage_guild: boolean

是否可管理服务器。

Defined in

src/typings/user.ts:64


can_manage_roles?

optional can_manage_roles: boolean

是否可管理角色。

Defined in

src/typings/user.ts:68


can_pin_messages?

optional can_pin_messages: boolean

Unused

Defined in

src/typings/user.ts:88


can_post_messages?

optional can_post_messages: boolean

是否可发送消息。

Defined in

src/typings/user.ts:74


can_promote_members?

optional can_promote_members: boolean

Unused

Defined in

src/typings/user.ts:82


can_restrict_members?

optional can_restrict_members: boolean

Unused

Defined in

src/typings/user.ts:80


can_send_media_messages?

optional can_send_media_messages: boolean

Unused

Defined in

src/typings/user.ts:94


can_send_messages?

optional can_send_messages: boolean

Unused

Defined in

src/typings/user.ts:92


can_send_other_messages?

optional can_send_other_messages: boolean

Unused

Defined in

src/typings/user.ts:98


can_send_polls?

optional can_send_polls: boolean

Unused

Defined in

src/typings/user.ts:96


custom_title?

optional custom_title: string

Unused

Defined in

src/typings/user.ts:60


is_member?

optional is_member: boolean

Unused

Defined in

src/typings/user.ts:90


roles?

optional roles: GuildRole[]

成员在当前服务器拥有的角色 ID 列表

Defined in

src/typings/user.ts:58


status

status: ChatMemberStatus

在聊天中的状态。

Defined in

src/typings/user.ts:56


until_date?

optional until_date: number

Unused

Defined in

src/typings/user.ts:62


user

user: User

用户对象。

Defined in

src/typings/user.ts:54

Released under the MIT License.