Show premium emoji toast / send to Saved Messages.

This commit is contained in:
John Preston
2022-08-02 20:59:11 +03:00
parent 59903b0b1c
commit f4b80d8714
16 changed files with 133 additions and 23 deletions
@@ -504,6 +504,7 @@ void EditCaptionBox::setupEmojiPanel() {
) | rpl::start_with_next([=](Selector::FileChosen data) {
Data::InsertCustomEmoji(_field.get(), data.document);
}, lifetime());
_emojiPanel->selector()->showPromoForPremiumEmoji();
const auto filterCallback = [=](not_null<QEvent*> event) {
emojiFilterForGeometry(event);