AyuGramDesktop/Telegram/SourceFiles/ayu/utils/ayu_mapper.h
2025-01-16 13:08:58 +03:00

14 lines
409 B
C++

// This is the source code of AyuGram for Desktop.
//
// We do not and cannot prevent the use of our code,
// but be respectful and credit the original author.
//
// Copyright @Radolyn, 2025
#pragma once
namespace AyuMapper {
std::pair<std::string, std::vector<char>> serializeTextWithEntities(not_null<HistoryItem*> item);
int mapItemFlagsToMTPFlags(not_null<HistoryItem*> item);
} // namespace AyuMapper