diff options
| author | levlam <levlam@telegram.org> | 2022-07-17 23:49:46 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-07-17 23:49:46 +0300 |
| commit | 7cd65d06a19af3625aaefc850d58b4f751e6e780 (patch) | |
| tree | 78eab123d73a1a5f3f8c0da8849e85df5deab758 /td/telegram/StickerFormat.h | |
| parent | 4442293acf02693bda542c41dcf5b0094a1e84ba (diff) | |
Support emoji stickers in get_max_sticker_file_size.
Diffstat (limited to 'td/telegram/StickerFormat.h')
| -rw-r--r-- | td/telegram/StickerFormat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/td/telegram/StickerFormat.h b/td/telegram/StickerFormat.h index 5b3110f53..27dfa929d 100644 --- a/td/telegram/StickerFormat.h +++ b/td/telegram/StickerFormat.h @@ -7,6 +7,7 @@ #pragma once #include "td/telegram/PhotoFormat.h" +#include "td/telegram/StickerType.h" #include "td/telegram/td_api.h" #include "td/utils/common.h" @@ -36,7 +37,7 @@ bool is_sticker_format_animated(StickerFormat sticker_format); bool is_sticker_format_vector(StickerFormat sticker_format); -int64 get_max_sticker_file_size(StickerFormat sticker_format, bool for_thumbnail); +int64 get_max_sticker_file_size(StickerFormat sticker_format, StickerType sticker_type, bool for_thumbnail); StringBuilder &operator<<(StringBuilder &string_builder, StickerFormat sticker_format); |
