mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
37 lines
803 B
C++
37 lines
803 B
C++
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
For license and copyright information please follow this link:
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
*/
|
|
#pragma once
|
|
|
|
#include "data/stickers/data_stickers.h"
|
|
|
|
#include <QtGui/QImage>
|
|
|
|
namespace ChatHelpers {
|
|
class Show;
|
|
} // namespace ChatHelpers
|
|
|
|
namespace Ui {
|
|
class GenericBox;
|
|
} // namespace Ui
|
|
|
|
namespace Api {
|
|
|
|
void CreateStickerBox(
|
|
not_null<Ui::GenericBox*> box,
|
|
std::shared_ptr<ChatHelpers::Show> show,
|
|
StickerSetIdentifier set,
|
|
QImage image,
|
|
Fn<void(MTPmessages_StickerSet)> done);
|
|
|
|
void OpenCreateStickerFlow(
|
|
std::shared_ptr<ChatHelpers::Show> show,
|
|
StickerSetIdentifier set,
|
|
Fn<void(MTPmessages_StickerSet)> done = nullptr);
|
|
|
|
} // namespace Api
|