| 822 | } |
| 823 | |
| 824 | bool DocumentData::isPremiumEmoji() const { |
| 825 | if (!(_flags & Flag::PremiumSticker)) { |
| 826 | return false; |
| 827 | } |
| 828 | const auto info = sticker(); |
| 829 | return info && info->setType == Data::StickersType::Emoji; |
| 830 | } |
| 831 | |
| 832 | bool DocumentData::emojiUsesTextColor() const { |
| 833 | return (_flags & Flag::UseTextColor); |
no outgoing calls
no test coverage detected