Ad default value to MessageStickerContent.body in case of redaction

This commit is contained in:
Florian Renaud 2022-11-28 12:12:49 +01:00
parent a8f3bb1d4e
commit dd81584076

View File

@ -34,7 +34,7 @@ data class MessageStickerContent(
* Required. A textual representation of the image. This could be the alt text of the image, the filename of the image,
* or some kind of content description for accessibility e.g. 'image attachment'.
*/
@Json(name = "body") override val body: String,
@Json(name = "body") override val body: String = "",
/**
* Metadata about the image referred to in url.