Skip to content

Interface: GuildInviteCodeRecord

Properties

avatar

Optional avatar: string

邀请者头像图片地址。

Defined in

src/typings/chat.ts:134


channel_id

channel_id: string

邀请加入的频道 ID。

Defined in

src/typings/chat.ts:152


channel_name

Optional channel_name: string

频道名称。

Defined in

src/typings/chat.ts:136


channel_on_del

Optional channel_on_del: GuildInviteChannelIsDeleted

频道是否删除。

Defined in

src/typings/chat.ts:130


channel_type

Optional channel_type: number

频道类型(邀请加入服务器时为 null)。

Defined in

src/typings/chat.ts:154


code

Optional code: string

邀请码(不包含域名)。

Defined in

src/typings/chat.ts:126


expire_time

expire_time: `${number}`

过期时间(单位:秒,-1 表示不过期)

Defined in

src/typings/chat.ts:138


has_invited

Optional has_invited: `${number}`

已邀请人数。

Defined in

src/typings/chat.ts:142


inviter_id

inviter_id: string

邀请者用户的user_id

Defined in

src/typings/chat.ts:132


inviter_name

Optional inviter_name: string

邀请人昵称。

Defined in

src/typings/chat.ts:128


list_id

Optional list_id: string

记录唯一 ID。

Defined in

src/typings/chat.ts:144


number

number: `${number}`

设定的次数(-1 表示无限)。

Defined in

src/typings/chat.ts:150


number_less

Optional number_less: `${number}`

剩余可用邀请人数。

Defined in

src/typings/chat.ts:140


post_id

Optional post_id: string

圈子分享时,来源 post id。

Defined in

src/typings/chat.ts:156


remark

Optional remark: string

备注。

Defined in

src/typings/chat.ts:146


time

Optional time: string

设定的有效期(-1 表示永久有效)。

Defined in

src/typings/chat.ts:148


url

Optional url: string

邀请码链接。

Defined in

src/typings/chat.ts:158

Released under the MIT License.