File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
deltachat-jsonrpc/src/api/types Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5393,6 +5393,8 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
5393
5393
5394
5394
/**
5395
5395
* Message containing a sticker, similar to image.
5396
+ * NB: When sending, the message viewtype may be changed to `Image` by some heuristics like checking
5397
+ * for transparent pixels.
5396
5398
* If possible, the UI should display the image without borders in a transparent way.
5397
5399
* A click on a sticker will offer to install the sticker set in some future.
5398
5400
*/
Original file line number Diff line number Diff line change @@ -273,6 +273,9 @@ pub enum MessageViewtype {
273
273
Gif ,
274
274
275
275
/// Message containing a sticker, similar to image.
276
+ /// NB: When sending, the message viewtype may be changed to `Image` by some heuristics like
277
+ /// checking for transparent pixels. Use `Message::force_sticker()` to disable them.
278
+ ///
276
279
/// If possible, the ui should display the image without borders in a transparent way.
277
280
/// A click on a sticker will offer to install the sticker set in some future.
278
281
Sticker ,
Original file line number Diff line number Diff line change @@ -2094,6 +2094,9 @@ pub enum Viewtype {
2094
2094
Gif = 21 ,
2095
2095
2096
2096
/// Message containing a sticker, similar to image.
2097
+ /// NB: When sending, the message viewtype may be changed to `Image` by some heuristics like
2098
+ /// checking for transparent pixels. Use `Message::force_sticker()` to disable them.
2099
+ ///
2097
2100
/// If possible, the ui should display the image without borders in a transparent way.
2098
2101
/// A click on a sticker will offer to install the sticker set in some future.
2099
2102
Sticker = 23 ,
You can’t perform that action at this time.
0 commit comments