Constructor
new TypedID(type, id)
Parameters:
Name | Type | Description |
---|---|---|
type |
Types | Type of entity. Can be one of the constants Types.Group, Types.User or Types.Thing. |
id |
id | ID of the specified entity. If it is a kii user, then must be id of the user. |
Methods
toString() → {string}
Get string by contacting type and id.
Returns:
A string contacted by type and id of entity.
- Type
- string