diff options
| author | levlam <levlam@telegram.org> | 2022-04-26 16:01:29 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-04-26 16:01:29 +0300 |
| commit | 447cfbfb1ddbbb749dbff2bde942f56f5a5bb121 (patch) | |
| tree | 9bc31be3a8eb1bfaacfd9bc35f92451b77807f24 /td/telegram/StickerFormat.h | |
| parent | f8077965ad20a0177fa5ee4078650225a43aa177 (diff) | |
Support premium stickers.
Diffstat (limited to 'td/telegram/StickerFormat.h')
| -rw-r--r-- | td/telegram/StickerFormat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/td/telegram/StickerFormat.h b/td/telegram/StickerFormat.h index 151d92ebe..6e1d537ee 100644 --- a/td/telegram/StickerFormat.h +++ b/td/telegram/StickerFormat.h @@ -6,6 +6,7 @@ // #pragma once +#include "td/telegram/PhotoFormat.h" #include "td/telegram/td_api.h" #include "td/utils/common.h" @@ -28,6 +29,8 @@ string get_sticker_format_mime_type(StickerFormat sticker_format); Slice get_sticker_format_extension(StickerFormat sticker_format); +PhotoFormat get_sticker_format_photo_format(StickerFormat sticker_format); + bool is_sticker_format_animated(StickerFormat sticker_format); bool is_sticker_format_vector(StickerFormat sticker_format); |
