Provide single-data generic TL accessor.

This commit is contained in:
John Preston 2022-07-08 21:02:48 +04:00
parent 9eaac98070
commit 6e25a2fc12
2 changed files with 4 additions and 0 deletions

View file

@ -90,6 +90,7 @@ generate({
'bytes': 'string',
},
'builtinInclude': 'mtproto/core_types.h',
'optimizeSingleData': True,
'dumpToText': {
'include': 'mtproto/details/mtproto_dump_to_text.h',

View file

@ -29,6 +29,9 @@ using mtpPingId = uint64;
using mtpBuffer = QVector<mtpPrime>;
using mtpTypeId = uint32;
struct NotSingleDataTypePlaceholder {
};
namespace MTP {
// type DcId represents actual data center id, while in most cases