Closed anisabboud closed 1 year ago
This is clearly a bug with the TS definition. Let me fix this
v1.0.17 is now released :)
Thank you for the quick response @baptistejamin!
I think the description
field should be marked as optional.
The label
field doesn't seem to do anything, so could probably be removed.
Updated :)
SDK docs for carousel message use
"description": "...string..."
, whilemessage.ts
typings definedescription: boolean
. Also, typings include a requiredlabel
field, while the docs example is missing that field. Which is the correct code to use?https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/npm/#show-a-carousel-message
https://github.com/crisp-im/crisp-sdk-web/blob/master/src/message.ts#L42