MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / isPremiumEmoji

Method isPremiumEmoji

Telegram/SourceFiles/data/data_document.cpp:824–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

822}
823
824bool 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
832bool DocumentData::emojiUsesTextColor() const {
833 return (_flags & Flag::UseTextColor);

Callers 9

premiumEmojiSetMethod · 0.80
writeToStreamMethod · 0.80
selectCustomMethod · 0.80
refreshCustomMethod · 0.80
FieldTagMimeProcessorFunction · 0.80
lookupCustomMethod · 0.80
setupEmojiPanelMethod · 0.80
fileChosenMethod · 0.80
initTabbedSelectorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected