tdlight/td/telegram/EmojiGroupType.h

25 lines
721 B
C
Raw Normal View History

2023-01-24 19:38:53 +01:00
//
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023
//
// 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/td_api.h"
#include "td/utils/common.h"
#include "td/utils/StringBuilder.h"
namespace td {
enum class EmojiGroupType : int32 { Default, EmojiStatus, ProfilePhoto };
2023-01-24 19:38:53 +01:00
static constexpr int32 MAX_EMOJI_GROUP_TYPE = 3;
2023-01-24 19:38:53 +01:00
EmojiGroupType get_emoji_group_type(const td_api::object_ptr<td_api::EmojiCategoryType> &type);
StringBuilder &operator<<(StringBuilder &string_builder, EmojiGroupType emoji_group_type);
} // namespace td