IIdentity interface
代表使用者、Bot 或交談。
屬性
| id | 此身分識別的通道特定標識碼。 |
| is |
如果為 true,則身分識別為群組。 通常只能在交談身分識別上找到,並代表群組通話。 |
| locale | 如果已知,則為本機使用者。 |
| name | 這個身分識別的易記名稱。 |
| originator | 如果為 true,則表示使用者已啟動呼叫。 |
屬性詳細資料
id
此身分識別的通道特定標識碼。
id: string
屬性值
string
isGroup
如果為 true,則身分識別為群組。 通常只能在交談身分識別上找到,並代表群組通話。
isGroup?: boolean
屬性值
boolean
locale
如果已知,則為本機使用者。
locale?: string
屬性值
string
name
這個身分識別的易記名稱。
name?: string
屬性值
string
originator
如果為 true,則表示使用者已啟動呼叫。
originator?: boolean
屬性值
boolean