@wavezfm/api 0.7.24 → 0.7.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/types.d.ts +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,8 +105,9 @@ if (access.canEdit) {
|
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
`icon` accepts a Tabler identifier or HTTPS image URL for the badge beside the
|
|
108
|
-
name
|
|
109
|
-
|
|
108
|
+
name only; changing it does not change the bot avatar. The chat avatar uses
|
|
109
|
+
`chatImageUrl`, then `photoUrl`, then the default robot. `photoUrl` also supplies
|
|
110
|
+
the profile photo.
|
|
110
111
|
Image artwork retains its own colors. Send the full appearance when preserving
|
|
111
112
|
other fields: the server replaces all four fields and omitted fields reset to
|
|
112
113
|
`null`. `setBotAppearanceAccess(roomId, enabled)` is platform-admin-only.
|
package/dist/types.d.ts
CHANGED
|
@@ -876,11 +876,12 @@ export interface RoomBotSettings {
|
|
|
876
876
|
}
|
|
877
877
|
export type RoomBotSettingsUpdateInput = Pick<RoomBotSettings, "botName" | "commandPrefix" | "permissions" | "allowSelfRename">;
|
|
878
878
|
export interface RoomBotAppearance {
|
|
879
|
+
/** Profile photo and chat-avatar fallback when chatImageUrl is unset. */
|
|
879
880
|
photoUrl: string | null;
|
|
880
881
|
color: string | null;
|
|
881
|
-
/** Tabler identifier or HTTPS image URL for the badge
|
|
882
|
+
/** Tabler identifier or HTTPS image URL for the name badge only; never the avatar. */
|
|
882
883
|
icon: string | null;
|
|
883
|
-
/** HTTPS image
|
|
884
|
+
/** HTTPS chat-avatar image; falls back to photoUrl, then the default robot. */
|
|
884
885
|
chatImageUrl: string | null;
|
|
885
886
|
}
|
|
886
887
|
export interface RoomBotAppearanceAccess {
|