2020-04-19 15:30:04 +02:00
|
|
|
//
|
2021-01-01 13:57:46 +01:00
|
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2021
|
2020-04-19 15:30:04 +02:00
|
|
|
//
|
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
//
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "td/telegram/telegram_api.h"
|
|
|
|
|
|
|
|
#include "td/utils/common.h"
|
|
|
|
|
|
|
|
namespace td {
|
|
|
|
|
|
|
|
struct SpecialStickerSetType {
|
|
|
|
string type_;
|
|
|
|
|
|
|
|
static string animated_emoji();
|
|
|
|
|
2021-09-15 13:44:11 +02:00
|
|
|
static string animated_emoji_click();
|
|
|
|
|
2020-04-19 15:30:04 +02:00
|
|
|
static string animated_dice(const string &emoji);
|
|
|
|
|
2020-04-19 20:21:17 +02:00
|
|
|
string get_dice_emoji() const;
|
|
|
|
|
2020-04-19 15:30:04 +02:00
|
|
|
SpecialStickerSetType() = default;
|
|
|
|
|
|
|
|
explicit SpecialStickerSetType(const telegram_api::object_ptr<telegram_api::InputStickerSet> &input_sticker_set);
|
|
|
|
|
|
|
|
telegram_api::object_ptr<telegram_api::InputStickerSet> get_input_sticker_set() const;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace td
|