Twitter
Home
FAQ
Apps
API
Protocol
Schema
TDLib
td
generate
auto
td
telegram
td_api.h
Go to the documentation of this file.
1
#pragma once
2
7
#include "
td/tl/TlObject.h
"
8
9
#include <string>
10
11
#include <cstdint>
12
#include <utility>
13
#include <vector>
14
15
namespace
td {
16
class
TlStorerToString;
17
18
namespace
td_api {
19
23
using
int32
= std::int32_t;
27
using
int53
= std::int64_t;
31
using
int64
= std::int64_t;
32
36
using
string
= std::string;
37
41
using
bytes
= std::string;
42
46
template
<
class
Type>
47
using
array
= std::vector<Type>;
48
52
using
BaseObject
=
::td::TlObject
;
53
57
template
<
class
Type>
58
using
object_ptr
=
::td::tl_object_ptr<Type>
;
59
75
template
<
class
Type,
class
... Args>
76
object_ptr<Type>
make_object
(Args &&... args) {
77
return
object_ptr<Type>
(
new
Type(std::forward<Args>(args)...));
78
}
79
124
template
<
class
ToType,
class
FromType>
125
object_ptr<ToType>
move_object_as
(FromType &&from) {
126
return
object_ptr<ToType>
(static_cast<ToType *>(from.release()));
127
}
128
134
std::string to_string(
const
BaseObject &value);
135
142
template
<
class
T>
143
std::string
to_string
(
const
object_ptr<T>
&value) {
144
if
(value ==
nullptr
) {
145
return
"null"
;
146
}
147
148
return
to_string
(*value);
149
}
150
157
template
<
class
T>
158
std::string
to_string
(
const
std::vector<
object_ptr<T>
> &values) {
159
std::string result =
"{\n"
;
160
for
(
const
auto
&value : values) {
161
if
(value ==
nullptr
) {
162
result +=
"null\n"
;
163
}
else
{
164
result +=
to_string
(*value);
165
}
166
}
167
result +=
"}\n"
;
168
return
result;
169
}
170
174
class
Object
:
public
TlObject
{
175
public
:
176
};
177
181
class
Function
:
public
TlObject
{
182
public
:
183
};
184
188
class
accentColor
final :
public
Object
{
193
std::int32_t get_id()
const
final
{
194
return
ID
;
195
}
196
197
public
:
199
int32
id_
;
201
int32
built_in_accent_color_id_
;
203
array<int32>
light_theme_colors_
;
205
array<int32>
dark_theme_colors_
;
207
int32
min_channel_chat_boost_level_
;
208
212
accentColor
();
213
223
accentColor
(
int32
id_
,
int32
built_in_accent_color_id_
,
array<int32>
&&
light_theme_colors_
,
array<int32>
&&
dark_theme_colors_
,
int32
min_channel_chat_boost_level_
);
224
226
static
const
std::int32_t
ID
= -496870680;
227
233
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
234
};
235
239
class
acceptedGiftTypes
final :
public
Object
{
244
std::int32_t get_id()
const
final
{
245
return
ID
;
246
}
247
248
public
:
250
bool
unlimited_gifts_
;
252
bool
limited_gifts_
;
254
bool
upgraded_gifts_
;
256
bool
premium_subscription_
;
257
261
acceptedGiftTypes
();
262
271
acceptedGiftTypes
(
bool
unlimited_gifts_
,
bool
limited_gifts_
,
bool
upgraded_gifts_
,
bool
premium_subscription_
);
272
274
static
const
std::int32_t
ID
= 1783521300;
275
281
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
282
};
283
287
class
accountInfo
final :
public
Object
{
292
std::int32_t get_id()
const
final
{
293
return
ID
;
294
}
295
296
public
:
298
int32
registration_month_
;
300
int32
registration_year_
;
302
string
phone_number_country_code_
;
304
int32
last_name_change_date_
;
306
int32
last_photo_change_date_
;
307
311
accountInfo
();
312
322
accountInfo
(
int32
registration_month_
,
int32
registration_year_
,
string
const
&
phone_number_country_code_
,
int32
last_name_change_date_
,
int32
last_photo_change_date_
);
323
325
static
const
std::int32_t
ID
= 1803492711;
326
332
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
333
};
334
338
class
accountTtl
final :
public
Object
{
343
std::int32_t get_id()
const
final
{
344
return
ID
;
345
}
346
347
public
:
349
int32
days_
;
350
354
accountTtl
();
355
361
explicit
accountTtl
(
int32
days_
);
362
364
static
const
std::int32_t
ID
= 1324495492;
365
371
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
372
};
373
374
class
MessageSender
;
375
376
class
ReactionType
;
377
381
class
addedReaction
final :
public
Object
{
386
std::int32_t get_id()
const
final
{
387
return
ID
;
388
}
389
390
public
:
392
object_ptr<ReactionType>
type_
;
394
object_ptr<MessageSender>
sender_id_
;
396
bool
is_outgoing_
;
398
int32
date_
;
399
403
addedReaction
();
404
413
addedReaction
(
object_ptr<ReactionType>
&&
type_
,
object_ptr<MessageSender>
&&
sender_id_
,
bool
is_outgoing_
,
int32
date_
);
414
416
static
const
std::int32_t
ID
= 1258586525;
417
423
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
424
};
425
426
class
addedReaction
;
427
431
class
addedReactions
final :
public
Object
{
436
std::int32_t get_id()
const
final
{
437
return
ID
;
438
}
439
440
public
:
442
int32
total_count_
;
444
array<object_ptr<addedReaction>
>
reactions_
;
446
string
next_offset_
;
447
451
addedReactions
();
452
460
addedReactions
(
int32
total_count_
,
array
<
object_ptr<addedReaction>
> &&
reactions_
,
string
const
&
next_offset_
);
461
463
static
const
std::int32_t
ID
= 226352304;
464
470
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
471
};
472
476
class
address
final :
public
Object
{
481
std::int32_t get_id()
const
final
{
482
return
ID
;
483
}
484
485
public
:
487
string
country_code_
;
489
string
state_
;
491
string
city_
;
493
string
street_line1_
;
495
string
street_line2_
;
497
string
postal_code_
;
498
502
address
();
503
514
address
(
string
const
&
country_code_
,
string
const
&
state_
,
string
const
&
city_
,
string
const
&
street_line1_
,
string
const
&
street_line2_
,
string
const
&
postal_code_
);
515
517
static
const
std::int32_t
ID
= -2043654342;
518
524
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
525
};
526
527
class
photo
;
528
532
class
advertisementSponsor
final :
public
Object
{
537
std::int32_t get_id()
const
final
{
538
return
ID
;
539
}
540
541
public
:
543
string
url_
;
545
object_ptr<photo>
photo_
;
547
string
info_
;
548
552
advertisementSponsor
();
553
561
advertisementSponsor
(
string
const
&
url_
,
object_ptr<photo>
&&
photo_
,
string
const
&
info_
);
562
564
static
const
std::int32_t
ID
= 1388914159;
565
571
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
572
};
573
574
class
starAmount
;
575
579
class
affiliateInfo
final :
public
Object
{
584
std::int32_t get_id()
const
final
{
585
return
ID
;
586
}
587
588
public
:
590
int32
commission_per_mille_
;
592
int53
affiliate_chat_id_
;
594
object_ptr<starAmount>
star_amount_
;
595
599
affiliateInfo
();
600
608
affiliateInfo
(
int32
commission_per_mille_
,
int53
affiliate_chat_id_
,
object_ptr<starAmount>
&&
star_amount_
);
609
611
static
const
std::int32_t
ID
= -1312695046;
612
618
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
619
};
620
621
class
affiliateProgramParameters
;
622
623
class
starAmount
;
624
628
class
affiliateProgramInfo
final :
public
Object
{
633
std::int32_t get_id()
const
final
{
634
return
ID
;
635
}
636
637
public
:
639
object_ptr<affiliateProgramParameters>
parameters_
;
641
int32
end_date_
;
643
object_ptr<starAmount>
daily_revenue_per_user_amount_
;
644
648
affiliateProgramInfo
();
649
657
affiliateProgramInfo
(
object_ptr<affiliateProgramParameters>
&&
parameters_
,
int32
end_date_
,
object_ptr<starAmount>
&&
daily_revenue_per_user_amount_
);
658
660
static
const
std::int32_t
ID
= -1761810251;
661
667
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
668
};
669
673
class
affiliateProgramParameters
final :
public
Object
{
678
std::int32_t get_id()
const
final
{
679
return
ID
;
680
}
681
682
public
:
684
int32
commission_per_mille_
;
686
int32
month_count_
;
687
691
affiliateProgramParameters
();
692
699
affiliateProgramParameters
(
int32
commission_per_mille_
,
int32
month_count_
);
700
702
static
const
std::int32_t
ID
= 1642662996;
703
709
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
710
};
711
716
class
AffiliateProgramSortOrder
:
public
Object
{
717
public
:
718
};
719
723
class
affiliateProgramSortOrderProfitability
final :
public
AffiliateProgramSortOrder
{
728
std::int32_t get_id()
const
final
{
729
return
ID
;
730
}
731
732
public
:
733
737
affiliateProgramSortOrderProfitability
();
738
740
static
const
std::int32_t
ID
= -1963282585;
741
747
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
748
};
749
753
class
affiliateProgramSortOrderCreationDate
final :
public
AffiliateProgramSortOrder
{
758
std::int32_t get_id()
const
final
{
759
return
ID
;
760
}
761
762
public
:
763
767
affiliateProgramSortOrderCreationDate
();
768
770
static
const
std::int32_t
ID
= -1558628083;
771
777
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
778
};
779
783
class
affiliateProgramSortOrderRevenue
final :
public
AffiliateProgramSortOrder
{
788
std::int32_t get_id()
const
final
{
789
return
ID
;
790
}
791
792
public
:
793
797
affiliateProgramSortOrderRevenue
();
798
800
static
const
std::int32_t
ID
= 1923269304;
801
807
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
808
};
809
814
class
AffiliateType
:
public
Object
{
815
public
:
816
};
817
821
class
affiliateTypeCurrentUser
final :
public
AffiliateType
{
826
std::int32_t get_id()
const
final
{
827
return
ID
;
828
}
829
830
public
:
831
835
affiliateTypeCurrentUser
();
836
838
static
const
std::int32_t
ID
= 1453785589;
839
845
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
846
};
847
851
class
affiliateTypeBot
final :
public
AffiliateType
{
856
std::int32_t get_id()
const
final
{
857
return
ID
;
858
}
859
860
public
:
862
int53
user_id_
;
863
867
affiliateTypeBot
();
868
874
explicit
affiliateTypeBot
(
int53
user_id_
);
875
877
static
const
std::int32_t
ID
= -1032587200;
878
884
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
885
};
886
890
class
affiliateTypeChannel
final :
public
AffiliateType
{
895
std::int32_t get_id()
const
final
{
896
return
ID
;
897
}
898
899
public
:
901
int53
chat_id_
;
902
906
affiliateTypeChannel
();
907
913
explicit
affiliateTypeChannel
(
int53
chat_id_
);
914
916
static
const
std::int32_t
ID
= -683939735;
917
923
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
924
};
925
929
class
ageVerificationParameters
final :
public
Object
{
934
std::int32_t get_id()
const
final
{
935
return
ID
;
936
}
937
938
public
:
940
int32
min_age_
;
942
string
verification_bot_username_
;
944
string
country_
;
945
949
ageVerificationParameters
();
950
958
ageVerificationParameters
(
int32
min_age_
,
string
const
&
verification_bot_username_
,
string
const
&
country_
);
959
961
static
const
std::int32_t
ID
= -2050025833;
962
968
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
969
};
970
971
class
file
;
972
976
class
alternativeVideo
final :
public
Object
{
981
std::int32_t get_id()
const
final
{
982
return
ID
;
983
}
984
985
public
:
987
int64
id_
;
989
int32
width_
;
991
int32
height_
;
993
string
codec_
;
995
object_ptr<file>
hls_file_
;
997
object_ptr<file>
video_
;
998
1002
alternativeVideo
();
1003
1014
alternativeVideo
(
int64
id_
,
int32
width_
,
int32
height_
,
string
const
&
codec_
,
object_ptr<file>
&&
hls_file_
,
object_ptr<file>
&&
video_
);
1015
1017
static
const
std::int32_t
ID
= 483379470;
1018
1024
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1025
};
1026
1027
class
file
;
1028
1032
class
animatedChatPhoto
final :
public
Object
{
1037
std::int32_t get_id()
const
final
{
1038
return
ID
;
1039
}
1040
1041
public
:
1043
int32
length_
;
1045
object_ptr<file>
file_
;
1047
double
main_frame_timestamp_
;
1048
1052
animatedChatPhoto
();
1053
1061
animatedChatPhoto
(
int32
length_
,
object_ptr<file>
&&
file_
,
double
main_frame_timestamp_
);
1062
1064
static
const
std::int32_t
ID
= 191994926;
1065
1071
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1072
};
1073
1074
class
file
;
1075
1076
class
sticker
;
1077
1081
class
animatedEmoji
final :
public
Object
{
1086
std::int32_t get_id()
const
final
{
1087
return
ID
;
1088
}
1089
1090
public
:
1092
object_ptr<sticker>
sticker_
;
1094
int32
sticker_width_
;
1096
int32
sticker_height_
;
1098
int32
fitzpatrick_type_
;
1100
object_ptr<file>
sound_
;
1101
1105
animatedEmoji
();
1106
1116
animatedEmoji
(
object_ptr<sticker>
&&
sticker_
,
int32
sticker_width_
,
int32
sticker_height_
,
int32
fitzpatrick_type_
,
object_ptr<file>
&&
sound_
);
1117
1119
static
const
std::int32_t
ID
= 1378918079;
1120
1126
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1127
};
1128
1129
class
file
;
1130
1131
class
minithumbnail
;
1132
1133
class
thumbnail
;
1134
1138
class
animation
final :
public
Object
{
1143
std::int32_t get_id()
const
final
{
1144
return
ID
;
1145
}
1146
1147
public
:
1149
int32
duration_
;
1151
int32
width_
;
1153
int32
height_
;
1155
string
file_name_
;
1157
string
mime_type_
;
1159
bool
has_stickers_
;
1161
object_ptr<minithumbnail>
minithumbnail_
;
1163
object_ptr<thumbnail>
thumbnail_
;
1165
object_ptr<file>
animation_
;
1166
1170
animation
();
1171
1185
animation
(
int32
duration_
,
int32
width_
,
int32
height_
,
string
const
&
file_name_
,
string
const
&
mime_type_
,
bool
has_stickers_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
object_ptr<thumbnail>
&&
thumbnail_
,
object_ptr<file>
&&
animation_
);
1186
1188
static
const
std::int32_t
ID
= -872359106;
1189
1195
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1196
};
1197
1198
class
animation
;
1199
1203
class
animations
final :
public
Object
{
1208
std::int32_t get_id()
const
final
{
1209
return
ID
;
1210
}
1211
1212
public
:
1214
array<object_ptr<animation>
>
animations_
;
1215
1219
animations
();
1220
1226
explicit
animations
(
array
<
object_ptr<animation>
> &&
animations_
);
1227
1229
static
const
std::int32_t
ID
= 344216945;
1230
1236
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1237
};
1238
1242
class
archiveChatListSettings
final :
public
Object
{
1247
std::int32_t get_id()
const
final
{
1248
return
ID
;
1249
}
1250
1251
public
:
1253
bool
archive_and_mute_new_chats_from_unknown_users_
;
1255
bool
keep_unmuted_chats_archived_
;
1257
bool
keep_chats_from_folders_archived_
;
1258
1262
archiveChatListSettings
();
1263
1271
archiveChatListSettings
(
bool
archive_and_mute_new_chats_from_unknown_users_
,
bool
keep_unmuted_chats_archived_
,
bool
keep_chats_from_folders_archived_
);
1272
1274
static
const
std::int32_t
ID
= 1058499236;
1275
1281
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1282
};
1283
1284
class
attachmentMenuBotColor
;
1285
1286
class
file
;
1287
1291
class
attachmentMenuBot
final :
public
Object
{
1296
std::int32_t get_id()
const
final
{
1297
return
ID
;
1298
}
1299
1300
public
:
1302
int53
bot_user_id_
;
1304
bool
supports_self_chat_
;
1306
bool
supports_user_chats_
;
1308
bool
supports_bot_chats_
;
1310
bool
supports_group_chats_
;
1312
bool
supports_channel_chats_
;
1314
bool
request_write_access_
;
1316
bool
is_added_
;
1318
bool
show_in_attachment_menu_
;
1320
bool
show_in_side_menu_
;
1322
bool
show_disclaimer_in_side_menu_
;
1324
string
name_
;
1326
object_ptr<attachmentMenuBotColor>
name_color_
;
1328
object_ptr<file>
default_icon_
;
1330
object_ptr<file>
ios_static_icon_
;
1332
object_ptr<file>
ios_animated_icon_
;
1334
object_ptr<file>
ios_side_menu_icon_
;
1336
object_ptr<file>
android_icon_
;
1338
object_ptr<file>
android_side_menu_icon_
;
1340
object_ptr<file>
macos_icon_
;
1342
object_ptr<file>
macos_side_menu_icon_
;
1344
object_ptr<attachmentMenuBotColor>
icon_color_
;
1346
object_ptr<file>
web_app_placeholder_
;
1347
1351
attachmentMenuBot
();
1352
1380
attachmentMenuBot
(
int53
bot_user_id_
,
bool
supports_self_chat_
,
bool
supports_user_chats_
,
bool
supports_bot_chats_
,
bool
supports_group_chats_
,
bool
supports_channel_chats_
,
bool
request_write_access_
,
bool
is_added_
,
bool
show_in_attachment_menu_
,
bool
show_in_side_menu_
,
bool
show_disclaimer_in_side_menu_
,
string
const
&
name_
,
object_ptr<attachmentMenuBotColor>
&&
name_color_
,
object_ptr<file>
&&
default_icon_
,
object_ptr<file>
&&
ios_static_icon_
,
object_ptr<file>
&&
ios_animated_icon_
,
object_ptr<file>
&&
ios_side_menu_icon_
,
object_ptr<file>
&&
android_icon_
,
object_ptr<file>
&&
android_side_menu_icon_
,
object_ptr<file>
&&
macos_icon_
,
object_ptr<file>
&&
macos_side_menu_icon_
,
object_ptr<attachmentMenuBotColor>
&&
icon_color_
,
object_ptr<file>
&&
web_app_placeholder_
);
1381
1383
static
const
std::int32_t
ID
= -1183966273;
1384
1390
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1391
};
1392
1396
class
attachmentMenuBotColor
final :
public
Object
{
1401
std::int32_t get_id()
const
final
{
1402
return
ID
;
1403
}
1404
1405
public
:
1407
int32
light_color_
;
1409
int32
dark_color_
;
1410
1414
attachmentMenuBotColor
();
1415
1422
attachmentMenuBotColor
(
int32
light_color_
,
int32
dark_color_
);
1423
1425
static
const
std::int32_t
ID
= 1680039612;
1426
1432
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1433
};
1434
1435
class
file
;
1436
1437
class
minithumbnail
;
1438
1439
class
thumbnail
;
1440
1444
class
audio
final :
public
Object
{
1449
std::int32_t get_id()
const
final
{
1450
return
ID
;
1451
}
1452
1453
public
:
1455
int32
duration_
;
1457
string
title_
;
1459
string
performer_
;
1461
string
file_name_
;
1463
string
mime_type_
;
1465
object_ptr<minithumbnail>
album_cover_minithumbnail_
;
1467
object_ptr<thumbnail>
album_cover_thumbnail_
;
1469
array<object_ptr<thumbnail>
>
external_album_covers_
;
1471
object_ptr<file>
audio_
;
1472
1476
audio
();
1477
1491
audio
(
int32
duration_
,
string
const
&
title_
,
string
const
&
performer_
,
string
const
&
file_name_
,
string
const
&
mime_type_
,
object_ptr<minithumbnail>
&&
album_cover_minithumbnail_
,
object_ptr<thumbnail>
&&
album_cover_thumbnail_
,
array
<
object_ptr<thumbnail>
> &&
external_album_covers_
,
object_ptr<file>
&&
audio_
);
1492
1494
static
const
std::int32_t
ID
= -166398841;
1495
1501
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1502
};
1503
1504
class
audio
;
1505
1509
class
audios
final :
public
Object
{
1514
std::int32_t get_id()
const
final
{
1515
return
ID
;
1516
}
1517
1518
public
:
1520
int32
total_count_
;
1522
array<object_ptr<audio>
>
audios_
;
1523
1527
audios
();
1528
1535
audios
(
int32
total_count_
,
array
<
object_ptr<audio>
> &&
audios_
);
1536
1538
static
const
std::int32_t
ID
= -680688982;
1539
1545
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1546
};
1547
1548
class
AuthenticationCodeType
;
1549
1553
class
authenticationCodeInfo
final :
public
Object
{
1558
std::int32_t get_id()
const
final
{
1559
return
ID
;
1560
}
1561
1562
public
:
1564
string
phone_number_
;
1566
object_ptr<AuthenticationCodeType>
type_
;
1568
object_ptr<AuthenticationCodeType>
next_type_
;
1570
int32
timeout_
;
1571
1575
authenticationCodeInfo
();
1576
1585
authenticationCodeInfo
(
string
const
&
phone_number_
,
object_ptr<AuthenticationCodeType>
&&
type_
,
object_ptr<AuthenticationCodeType>
&&
next_type_
,
int32
timeout_
);
1586
1588
static
const
std::int32_t
ID
= -860345416;
1589
1595
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1596
};
1597
1598
class
FirebaseDeviceVerificationParameters
;
1599
1604
class
AuthenticationCodeType
:
public
Object
{
1605
public
:
1606
};
1607
1611
class
authenticationCodeTypeTelegramMessage
final :
public
AuthenticationCodeType
{
1616
std::int32_t get_id()
const
final
{
1617
return
ID
;
1618
}
1619
1620
public
:
1622
int32
length_
;
1623
1627
authenticationCodeTypeTelegramMessage
();
1628
1634
explicit
authenticationCodeTypeTelegramMessage
(
int32
length_
);
1635
1637
static
const
std::int32_t
ID
= 2079628074;
1638
1644
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1645
};
1646
1650
class
authenticationCodeTypeSms
final :
public
AuthenticationCodeType
{
1655
std::int32_t get_id()
const
final
{
1656
return
ID
;
1657
}
1658
1659
public
:
1661
int32
length_
;
1662
1666
authenticationCodeTypeSms
();
1667
1673
explicit
authenticationCodeTypeSms
(
int32
length_
);
1674
1676
static
const
std::int32_t
ID
= 962650760;
1677
1683
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1684
};
1685
1689
class
authenticationCodeTypeSmsWord
final :
public
AuthenticationCodeType
{
1694
std::int32_t get_id()
const
final
{
1695
return
ID
;
1696
}
1697
1698
public
:
1700
string
first_letter_
;
1701
1705
authenticationCodeTypeSmsWord
();
1706
1712
explicit
authenticationCodeTypeSmsWord
(
string
const
&
first_letter_
);
1713
1715
static
const
std::int32_t
ID
= -1509540765;
1716
1722
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1723
};
1724
1728
class
authenticationCodeTypeSmsPhrase
final :
public
AuthenticationCodeType
{
1733
std::int32_t get_id()
const
final
{
1734
return
ID
;
1735
}
1736
1737
public
:
1739
string
first_word_
;
1740
1744
authenticationCodeTypeSmsPhrase
();
1745
1751
explicit
authenticationCodeTypeSmsPhrase
(
string
const
&
first_word_
);
1752
1754
static
const
std::int32_t
ID
= 784108753;
1755
1761
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1762
};
1763
1767
class
authenticationCodeTypeCall
final :
public
AuthenticationCodeType
{
1772
std::int32_t get_id()
const
final
{
1773
return
ID
;
1774
}
1775
1776
public
:
1778
int32
length_
;
1779
1783
authenticationCodeTypeCall
();
1784
1790
explicit
authenticationCodeTypeCall
(
int32
length_
);
1791
1793
static
const
std::int32_t
ID
= 1636265063;
1794
1800
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1801
};
1802
1806
class
authenticationCodeTypeFlashCall
final :
public
AuthenticationCodeType
{
1811
std::int32_t get_id()
const
final
{
1812
return
ID
;
1813
}
1814
1815
public
:
1817
string
pattern_
;
1818
1822
authenticationCodeTypeFlashCall
();
1823
1829
explicit
authenticationCodeTypeFlashCall
(
string
const
&
pattern_
);
1830
1832
static
const
std::int32_t
ID
= 1395882402;
1833
1839
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1840
};
1841
1845
class
authenticationCodeTypeMissedCall
final :
public
AuthenticationCodeType
{
1850
std::int32_t get_id()
const
final
{
1851
return
ID
;
1852
}
1853
1854
public
:
1856
string
phone_number_prefix_
;
1858
int32
length_
;
1859
1863
authenticationCodeTypeMissedCall
();
1864
1871
authenticationCodeTypeMissedCall
(
string
const
&
phone_number_prefix_
,
int32
length_
);
1872
1874
static
const
std::int32_t
ID
= 700123783;
1875
1881
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1882
};
1883
1887
class
authenticationCodeTypeFragment
final :
public
AuthenticationCodeType
{
1892
std::int32_t get_id()
const
final
{
1893
return
ID
;
1894
}
1895
1896
public
:
1898
string
url_
;
1900
int32
length_
;
1901
1905
authenticationCodeTypeFragment
();
1906
1913
authenticationCodeTypeFragment
(
string
const
&
url_
,
int32
length_
);
1914
1916
static
const
std::int32_t
ID
= -2129693491;
1917
1923
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1924
};
1925
1929
class
authenticationCodeTypeFirebaseAndroid
final :
public
AuthenticationCodeType
{
1934
std::int32_t get_id()
const
final
{
1935
return
ID
;
1936
}
1937
1938
public
:
1940
object_ptr<FirebaseDeviceVerificationParameters>
device_verification_parameters_
;
1942
int32
length_
;
1943
1947
authenticationCodeTypeFirebaseAndroid
();
1948
1955
authenticationCodeTypeFirebaseAndroid
(
object_ptr<FirebaseDeviceVerificationParameters>
&&
device_verification_parameters_
,
int32
length_
);
1956
1958
static
const
std::int32_t
ID
= 1872475422;
1959
1965
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1966
};
1967
1971
class
authenticationCodeTypeFirebaseIos
final :
public
AuthenticationCodeType
{
1976
std::int32_t get_id()
const
final
{
1977
return
ID
;
1978
}
1979
1980
public
:
1982
string
receipt_
;
1984
int32
push_timeout_
;
1986
int32
length_
;
1987
1991
authenticationCodeTypeFirebaseIos
();
1992
2000
authenticationCodeTypeFirebaseIos
(
string
const
&
receipt_
,
int32
push_timeout_
,
int32
length_
);
2001
2003
static
const
std::int32_t
ID
= -11162989;
2004
2010
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2011
};
2012
2013
class
EmailAddressResetState
;
2014
2015
class
authenticationCodeInfo
;
2016
2017
class
emailAddressAuthenticationCodeInfo
;
2018
2019
class
termsOfService
;
2020
2025
class
AuthorizationState
:
public
Object
{
2026
public
:
2027
};
2028
2032
class
authorizationStateWaitTdlibParameters
final :
public
AuthorizationState
{
2037
std::int32_t get_id()
const
final
{
2038
return
ID
;
2039
}
2040
2041
public
:
2042
2046
authorizationStateWaitTdlibParameters
();
2047
2049
static
const
std::int32_t
ID
= 904720988;
2050
2056
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2057
};
2058
2062
class
authorizationStateWaitPhoneNumber
final :
public
AuthorizationState
{
2067
std::int32_t get_id()
const
final
{
2068
return
ID
;
2069
}
2070
2071
public
:
2072
2076
authorizationStateWaitPhoneNumber
();
2077
2079
static
const
std::int32_t
ID
= 306402531;
2080
2086
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2087
};
2088
2092
class
authorizationStateWaitPremiumPurchase
final :
public
AuthorizationState
{
2097
std::int32_t get_id()
const
final
{
2098
return
ID
;
2099
}
2100
2101
public
:
2103
string
store_product_id_
;
2105
string
support_email_address_
;
2107
string
support_email_subject_
;
2108
2112
authorizationStateWaitPremiumPurchase
();
2113
2121
authorizationStateWaitPremiumPurchase
(
string
const
&
store_product_id_
,
string
const
&
support_email_address_
,
string
const
&
support_email_subject_
);
2122
2124
static
const
std::int32_t
ID
= 2097616261;
2125
2131
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2132
};
2133
2137
class
authorizationStateWaitEmailAddress
final :
public
AuthorizationState
{
2142
std::int32_t get_id()
const
final
{
2143
return
ID
;
2144
}
2145
2146
public
:
2148
bool
allow_apple_id_
;
2150
bool
allow_google_id_
;
2151
2155
authorizationStateWaitEmailAddress
();
2156
2163
authorizationStateWaitEmailAddress
(
bool
allow_apple_id_
,
bool
allow_google_id_
);
2164
2166
static
const
std::int32_t
ID
= 1040478663;
2167
2173
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2174
};
2175
2179
class
authorizationStateWaitEmailCode
final :
public
AuthorizationState
{
2184
std::int32_t get_id()
const
final
{
2185
return
ID
;
2186
}
2187
2188
public
:
2190
bool
allow_apple_id_
;
2192
bool
allow_google_id_
;
2194
object_ptr<emailAddressAuthenticationCodeInfo>
code_info_
;
2196
object_ptr<EmailAddressResetState>
email_address_reset_state_
;
2197
2201
authorizationStateWaitEmailCode
();
2202
2211
authorizationStateWaitEmailCode
(
bool
allow_apple_id_
,
bool
allow_google_id_
,
object_ptr<emailAddressAuthenticationCodeInfo>
&&
code_info_
,
object_ptr<EmailAddressResetState>
&&
email_address_reset_state_
);
2212
2214
static
const
std::int32_t
ID
= -1868627365;
2215
2221
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2222
};
2223
2227
class
authorizationStateWaitCode
final :
public
AuthorizationState
{
2232
std::int32_t get_id()
const
final
{
2233
return
ID
;
2234
}
2235
2236
public
:
2238
object_ptr<authenticationCodeInfo>
code_info_
;
2239
2243
authorizationStateWaitCode
();
2244
2250
explicit
authorizationStateWaitCode
(
object_ptr<authenticationCodeInfo>
&&
code_info_
);
2251
2253
static
const
std::int32_t
ID
= 52643073;
2254
2260
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2261
};
2262
2266
class
authorizationStateWaitOtherDeviceConfirmation
final :
public
AuthorizationState
{
2271
std::int32_t get_id()
const
final
{
2272
return
ID
;
2273
}
2274
2275
public
:
2277
string
link_
;
2278
2282
authorizationStateWaitOtherDeviceConfirmation
();
2283
2289
explicit
authorizationStateWaitOtherDeviceConfirmation
(
string
const
&
link_
);
2290
2292
static
const
std::int32_t
ID
= 860166378;
2293
2299
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2300
};
2301
2305
class
authorizationStateWaitRegistration
final :
public
AuthorizationState
{
2310
std::int32_t get_id()
const
final
{
2311
return
ID
;
2312
}
2313
2314
public
:
2316
object_ptr<termsOfService>
terms_of_service_
;
2317
2321
authorizationStateWaitRegistration
();
2322
2328
explicit
authorizationStateWaitRegistration
(
object_ptr<termsOfService>
&&
terms_of_service_
);
2329
2331
static
const
std::int32_t
ID
= 550350511;
2332
2338
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2339
};
2340
2344
class
authorizationStateWaitPassword
final :
public
AuthorizationState
{
2349
std::int32_t get_id()
const
final
{
2350
return
ID
;
2351
}
2352
2353
public
:
2355
string
password_hint_
;
2357
bool
has_recovery_email_address_
;
2359
bool
has_passport_data_
;
2361
string
recovery_email_address_pattern_
;
2362
2366
authorizationStateWaitPassword
();
2367
2376
authorizationStateWaitPassword
(
string
const
&
password_hint_
,
bool
has_recovery_email_address_
,
bool
has_passport_data_
,
string
const
&
recovery_email_address_pattern_
);
2377
2379
static
const
std::int32_t
ID
= 112238030;
2380
2386
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2387
};
2388
2392
class
authorizationStateReady
final :
public
AuthorizationState
{
2397
std::int32_t get_id()
const
final
{
2398
return
ID
;
2399
}
2400
2401
public
:
2402
2406
authorizationStateReady
();
2407
2409
static
const
std::int32_t
ID
= -1834871737;
2410
2416
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2417
};
2418
2422
class
authorizationStateLoggingOut
final :
public
AuthorizationState
{
2427
std::int32_t get_id()
const
final
{
2428
return
ID
;
2429
}
2430
2431
public
:
2432
2436
authorizationStateLoggingOut
();
2437
2439
static
const
std::int32_t
ID
= 154449270;
2440
2446
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2447
};
2448
2452
class
authorizationStateClosing
final :
public
AuthorizationState
{
2457
std::int32_t get_id()
const
final
{
2458
return
ID
;
2459
}
2460
2461
public
:
2462
2466
authorizationStateClosing
();
2467
2469
static
const
std::int32_t
ID
= 445855311;
2470
2476
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2477
};
2478
2482
class
authorizationStateClosed
final :
public
AuthorizationState
{
2487
std::int32_t get_id()
const
final
{
2488
return
ID
;
2489
}
2490
2491
public
:
2492
2496
authorizationStateClosed
();
2497
2499
static
const
std::int32_t
ID
= 1526047584;
2500
2506
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2507
};
2508
2512
class
autoDownloadSettings
final :
public
Object
{
2517
std::int32_t get_id()
const
final
{
2518
return
ID
;
2519
}
2520
2521
public
:
2523
bool
is_auto_download_enabled_
;
2525
int32
max_photo_file_size_
;
2527
int53
max_video_file_size_
;
2529
int53
max_other_file_size_
;
2531
int32
video_upload_bitrate_
;
2533
bool
preload_large_videos_
;
2535
bool
preload_next_audio_
;
2537
bool
preload_stories_
;
2539
bool
use_less_data_for_calls_
;
2540
2544
autoDownloadSettings
();
2545
2559
autoDownloadSettings
(
bool
is_auto_download_enabled_
,
int32
max_photo_file_size_
,
int53
max_video_file_size_
,
int53
max_other_file_size_
,
int32
video_upload_bitrate_
,
bool
preload_large_videos_
,
bool
preload_next_audio_
,
bool
preload_stories_
,
bool
use_less_data_for_calls_
);
2560
2562
static
const
std::int32_t
ID
= 991433696;
2563
2569
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2570
};
2571
2572
class
autoDownloadSettings
;
2573
2577
class
autoDownloadSettingsPresets
final :
public
Object
{
2582
std::int32_t get_id()
const
final
{
2583
return
ID
;
2584
}
2585
2586
public
:
2588
object_ptr<autoDownloadSettings>
low_
;
2590
object_ptr<autoDownloadSettings>
medium_
;
2592
object_ptr<autoDownloadSettings>
high_
;
2593
2597
autoDownloadSettingsPresets
();
2598
2606
autoDownloadSettingsPresets
(
object_ptr<autoDownloadSettings>
&&
low_
,
object_ptr<autoDownloadSettings>
&&
medium_
,
object_ptr<autoDownloadSettings>
&&
high_
);
2607
2609
static
const
std::int32_t
ID
= -782099166;
2610
2616
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2617
};
2618
2619
class
autosaveSettingsException
;
2620
2621
class
scopeAutosaveSettings
;
2622
2626
class
autosaveSettings
final :
public
Object
{
2631
std::int32_t get_id()
const
final
{
2632
return
ID
;
2633
}
2634
2635
public
:
2637
object_ptr<scopeAutosaveSettings>
private_chat_settings_
;
2639
object_ptr<scopeAutosaveSettings>
group_settings_
;
2641
object_ptr<scopeAutosaveSettings>
channel_settings_
;
2643
array<object_ptr<autosaveSettingsException>
>
exceptions_
;
2644
2648
autosaveSettings
();
2649
2658
autosaveSettings
(
object_ptr<scopeAutosaveSettings>
&&
private_chat_settings_
,
object_ptr<scopeAutosaveSettings>
&&
group_settings_
,
object_ptr<scopeAutosaveSettings>
&&
channel_settings_
,
array
<
object_ptr<autosaveSettingsException>
> &&
exceptions_
);
2659
2661
static
const
std::int32_t
ID
= 1629412502;
2662
2668
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2669
};
2670
2671
class
scopeAutosaveSettings
;
2672
2676
class
autosaveSettingsException
final :
public
Object
{
2681
std::int32_t get_id()
const
final
{
2682
return
ID
;
2683
}
2684
2685
public
:
2687
int53
chat_id_
;
2689
object_ptr<scopeAutosaveSettings>
settings_
;
2690
2694
autosaveSettingsException
();
2695
2702
autosaveSettingsException
(
int53
chat_id_
,
object_ptr<scopeAutosaveSettings>
&&
settings_
);
2703
2705
static
const
std::int32_t
ID
= 1483470280;
2706
2712
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2713
};
2714
2719
class
AutosaveSettingsScope
:
public
Object
{
2720
public
:
2721
};
2722
2726
class
autosaveSettingsScopePrivateChats
final :
public
AutosaveSettingsScope
{
2731
std::int32_t get_id()
const
final
{
2732
return
ID
;
2733
}
2734
2735
public
:
2736
2740
autosaveSettingsScopePrivateChats
();
2741
2743
static
const
std::int32_t
ID
= 1395227007;
2744
2750
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2751
};
2752
2756
class
autosaveSettingsScopeGroupChats
final :
public
AutosaveSettingsScope
{
2761
std::int32_t get_id()
const
final
{
2762
return
ID
;
2763
}
2764
2765
public
:
2766
2770
autosaveSettingsScopeGroupChats
();
2771
2773
static
const
std::int32_t
ID
= 853544526;
2774
2780
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2781
};
2782
2786
class
autosaveSettingsScopeChannelChats
final :
public
AutosaveSettingsScope
{
2791
std::int32_t get_id()
const
final
{
2792
return
ID
;
2793
}
2794
2795
public
:
2796
2800
autosaveSettingsScopeChannelChats
();
2801
2803
static
const
std::int32_t
ID
= -499572783;
2804
2810
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2811
};
2812
2816
class
autosaveSettingsScopeChat
final :
public
AutosaveSettingsScope
{
2821
std::int32_t get_id()
const
final
{
2822
return
ID
;
2823
}
2824
2825
public
:
2827
int53
chat_id_
;
2828
2832
autosaveSettingsScopeChat
();
2833
2839
explicit
autosaveSettingsScopeChat
(
int53
chat_id_
);
2840
2842
static
const
std::int32_t
ID
= -1632255255;
2843
2849
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2850
};
2851
2852
class
gift
;
2853
2857
class
availableGift
final :
public
Object
{
2862
std::int32_t get_id()
const
final
{
2863
return
ID
;
2864
}
2865
2866
public
:
2868
object_ptr<gift>
gift_
;
2870
int32
resale_count_
;
2872
int53
min_resale_star_count_
;
2874
string
title_
;
2875
2879
availableGift
();
2880
2889
availableGift
(
object_ptr<gift>
&&
gift_
,
int32
resale_count_
,
int53
min_resale_star_count_
,
string
const
&
title_
);
2890
2892
static
const
std::int32_t
ID
= 850530502;
2893
2899
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2900
};
2901
2902
class
availableGift
;
2903
2907
class
availableGifts
final :
public
Object
{
2912
std::int32_t get_id()
const
final
{
2913
return
ID
;
2914
}
2915
2916
public
:
2918
array<object_ptr<availableGift>
>
gifts_
;
2919
2923
availableGifts
();
2924
2930
explicit
availableGifts
(
array
<
object_ptr<availableGift>
> &&
gifts_
);
2931
2933
static
const
std::int32_t
ID
= -1450341886;
2934
2940
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2941
};
2942
2943
class
ReactionType
;
2944
2948
class
availableReaction
final :
public
Object
{
2953
std::int32_t get_id()
const
final
{
2954
return
ID
;
2955
}
2956
2957
public
:
2959
object_ptr<ReactionType>
type_
;
2961
bool
needs_premium_
;
2962
2966
availableReaction
();
2967
2974
availableReaction
(
object_ptr<ReactionType>
&&
type_
,
bool
needs_premium_
);
2975
2977
static
const
std::int32_t
ID
= -117292153;
2978
2984
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2985
};
2986
2987
class
ReactionUnavailabilityReason
;
2988
2989
class
availableReaction
;
2990
2994
class
availableReactions
final :
public
Object
{
2999
std::int32_t get_id()
const
final
{
3000
return
ID
;
3001
}
3002
3003
public
:
3005
array<object_ptr<availableReaction>
>
top_reactions_
;
3007
array<object_ptr<availableReaction>
>
recent_reactions_
;
3009
array<object_ptr<availableReaction>
>
popular_reactions_
;
3011
bool
allow_custom_emoji_
;
3013
bool
are_tags_
;
3015
object_ptr<ReactionUnavailabilityReason>
unavailability_reason_
;
3016
3020
availableReactions
();
3021
3032
availableReactions
(
array
<
object_ptr<availableReaction>
> &&
top_reactions_
,
array
<
object_ptr<availableReaction>
> &&
recent_reactions_
,
array
<
object_ptr<availableReaction>
> &&
popular_reactions_
,
bool
allow_custom_emoji_
,
bool
are_tags_
,
object_ptr<ReactionUnavailabilityReason>
&&
unavailability_reason_
);
3033
3035
static
const
std::int32_t
ID
= 912529522;
3036
3042
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3043
};
3044
3045
class
BackgroundType
;
3046
3047
class
document
;
3048
3052
class
background
final :
public
Object
{
3057
std::int32_t get_id()
const
final
{
3058
return
ID
;
3059
}
3060
3061
public
:
3063
int64
id_
;
3065
bool
is_default_
;
3067
bool
is_dark_
;
3069
string
name_
;
3071
object_ptr<document>
document_
;
3073
object_ptr<BackgroundType>
type_
;
3074
3078
background
();
3079
3090
background
(
int64
id_
,
bool
is_default_
,
bool
is_dark_
,
string
const
&
name_
,
object_ptr<document>
&&
document_
,
object_ptr<BackgroundType>
&&
type_
);
3091
3093
static
const
std::int32_t
ID
= -429971172;
3094
3100
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3101
};
3102
3107
class
BackgroundFill
:
public
Object
{
3108
public
:
3109
};
3110
3114
class
backgroundFillSolid
final :
public
BackgroundFill
{
3119
std::int32_t get_id()
const
final
{
3120
return
ID
;
3121
}
3122
3123
public
:
3125
int32
color_
;
3126
3130
backgroundFillSolid
();
3131
3137
explicit
backgroundFillSolid
(
int32
color_
);
3138
3140
static
const
std::int32_t
ID
= 1010678813;
3141
3147
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3148
};
3149
3153
class
backgroundFillGradient
final :
public
BackgroundFill
{
3158
std::int32_t get_id()
const
final
{
3159
return
ID
;
3160
}
3161
3162
public
:
3164
int32
top_color_
;
3166
int32
bottom_color_
;
3168
int32
rotation_angle_
;
3169
3173
backgroundFillGradient
();
3174
3182
backgroundFillGradient
(
int32
top_color_
,
int32
bottom_color_
,
int32
rotation_angle_
);
3183
3185
static
const
std::int32_t
ID
= -1839206017;
3186
3192
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3193
};
3194
3198
class
backgroundFillFreeformGradient
final :
public
BackgroundFill
{
3203
std::int32_t get_id()
const
final
{
3204
return
ID
;
3205
}
3206
3207
public
:
3209
array<int32>
colors_
;
3210
3214
backgroundFillFreeformGradient
();
3215
3221
explicit
backgroundFillFreeformGradient
(
array<int32>
&&
colors_
);
3222
3224
static
const
std::int32_t
ID
= -1145469255;
3225
3231
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3232
};
3233
3234
class
BackgroundFill
;
3235
3240
class
BackgroundType
:
public
Object
{
3241
public
:
3242
};
3243
3247
class
backgroundTypeWallpaper
final :
public
BackgroundType
{
3252
std::int32_t get_id()
const
final
{
3253
return
ID
;
3254
}
3255
3256
public
:
3258
bool
is_blurred_
;
3260
bool
is_moving_
;
3261
3265
backgroundTypeWallpaper
();
3266
3273
backgroundTypeWallpaper
(
bool
is_blurred_
,
bool
is_moving_
);
3274
3276
static
const
std::int32_t
ID
= 1972128891;
3277
3283
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3284
};
3285
3289
class
backgroundTypePattern
final :
public
BackgroundType
{
3294
std::int32_t get_id()
const
final
{
3295
return
ID
;
3296
}
3297
3298
public
:
3300
object_ptr<BackgroundFill>
fill_
;
3302
int32
intensity_
;
3304
bool
is_inverted_
;
3306
bool
is_moving_
;
3307
3311
backgroundTypePattern
();
3312
3321
backgroundTypePattern
(
object_ptr<BackgroundFill>
&&
fill_
,
int32
intensity_
,
bool
is_inverted_
,
bool
is_moving_
);
3322
3324
static
const
std::int32_t
ID
= 1290213117;
3325
3331
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3332
};
3333
3337
class
backgroundTypeFill
final :
public
BackgroundType
{
3342
std::int32_t get_id()
const
final
{
3343
return
ID
;
3344
}
3345
3346
public
:
3348
object_ptr<BackgroundFill>
fill_
;
3349
3353
backgroundTypeFill
();
3354
3360
explicit
backgroundTypeFill
(
object_ptr<BackgroundFill>
&&
fill_
);
3361
3363
static
const
std::int32_t
ID
= 993008684;
3364
3370
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3371
};
3372
3376
class
backgroundTypeChatTheme
final :
public
BackgroundType
{
3381
std::int32_t get_id()
const
final
{
3382
return
ID
;
3383
}
3384
3385
public
:
3387
string
theme_name_
;
3388
3392
backgroundTypeChatTheme
();
3393
3399
explicit
backgroundTypeChatTheme
(
string
const
&
theme_name_
);
3400
3402
static
const
std::int32_t
ID
= 1299879762;
3403
3409
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3410
};
3411
3412
class
background
;
3413
3417
class
backgrounds
final :
public
Object
{
3422
std::int32_t get_id()
const
final
{
3423
return
ID
;
3424
}
3425
3426
public
:
3428
array<object_ptr<background>
>
backgrounds_
;
3429
3433
backgrounds
();
3434
3440
explicit
backgrounds
(
array
<
object_ptr<background>
> &&
backgrounds_
);
3441
3443
static
const
std::int32_t
ID
= 724728704;
3444
3450
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3451
};
3452
3456
class
bankCardActionOpenUrl
final :
public
Object
{
3461
std::int32_t get_id()
const
final
{
3462
return
ID
;
3463
}
3464
3465
public
:
3467
string
text_
;
3469
string
url_
;
3470
3474
bankCardActionOpenUrl
();
3475
3482
bankCardActionOpenUrl
(
string
const
&
text_
,
string
const
&
url_
);
3483
3485
static
const
std::int32_t
ID
= -196454267;
3486
3492
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3493
};
3494
3495
class
bankCardActionOpenUrl
;
3496
3500
class
bankCardInfo
final :
public
Object
{
3505
std::int32_t get_id()
const
final
{
3506
return
ID
;
3507
}
3508
3509
public
:
3511
string
title_
;
3513
array<object_ptr<bankCardActionOpenUrl>
>
actions_
;
3514
3518
bankCardInfo
();
3519
3526
bankCardInfo
(
string
const
&
title_
,
array
<
object_ptr<bankCardActionOpenUrl>
> &&
actions_
);
3527
3529
static
const
std::int32_t
ID
= -2116647730;
3530
3536
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3537
};
3538
3539
class
ChatMemberStatus
;
3540
3544
class
basicGroup
final :
public
Object
{
3549
std::int32_t get_id()
const
final
{
3550
return
ID
;
3551
}
3552
3553
public
:
3555
int53
id_
;
3557
int32
member_count_
;
3559
object_ptr<ChatMemberStatus>
status_
;
3561
bool
is_active_
;
3563
int53
upgraded_to_supergroup_id_
;
3564
3568
basicGroup
();
3569
3579
basicGroup
(
int53
id_
,
int32
member_count_
,
object_ptr<ChatMemberStatus>
&&
status_
,
bool
is_active_
,
int53
upgraded_to_supergroup_id_
);
3580
3582
static
const
std::int32_t
ID
= -194767217;
3583
3589
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3590
};
3591
3592
class
botCommands
;
3593
3594
class
chatInviteLink
;
3595
3596
class
chatMember
;
3597
3598
class
chatPhoto
;
3599
3603
class
basicGroupFullInfo
final :
public
Object
{
3608
std::int32_t get_id()
const
final
{
3609
return
ID
;
3610
}
3611
3612
public
:
3614
object_ptr<chatPhoto>
photo_
;
3616
string
description_
;
3618
int53
creator_user_id_
;
3620
array<object_ptr<chatMember>
>
members_
;
3622
bool
can_hide_members_
;
3624
bool
can_toggle_aggressive_anti_spam_
;
3626
object_ptr<chatInviteLink>
invite_link_
;
3628
array<object_ptr<botCommands>
>
bot_commands_
;
3629
3633
basicGroupFullInfo
();
3634
3647
basicGroupFullInfo
(
object_ptr<chatPhoto>
&&
photo_
,
string
const
&
description_
,
int53
creator_user_id_
,
array
<
object_ptr<chatMember>
> &&
members_
,
bool
can_hide_members_
,
bool
can_toggle_aggressive_anti_spam_
,
object_ptr<chatInviteLink>
&&
invite_link_
,
array
<
object_ptr<botCommands>
> &&
bot_commands_
);
3648
3650
static
const
std::int32_t
ID
= -1879035520;
3651
3657
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3658
};
3659
3663
class
birthdate
final :
public
Object
{
3668
std::int32_t get_id()
const
final
{
3669
return
ID
;
3670
}
3671
3672
public
:
3674
int32
day_
;
3676
int32
month_
;
3678
int32
year_
;
3679
3683
birthdate
();
3684
3692
birthdate
(
int32
day_
,
int32
month_
,
int32
year_
);
3693
3695
static
const
std::int32_t
ID
= 1644064030;
3696
3702
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3703
};
3704
3709
class
BlockList
:
public
Object
{
3710
public
:
3711
};
3712
3716
class
blockListMain
final :
public
BlockList
{
3721
std::int32_t get_id()
const
final
{
3722
return
ID
;
3723
}
3724
3725
public
:
3726
3730
blockListMain
();
3731
3733
static
const
std::int32_t
ID
= 1352930172;
3734
3740
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3741
};
3742
3746
class
blockListStories
final :
public
BlockList
{
3751
std::int32_t get_id()
const
final
{
3752
return
ID
;
3753
}
3754
3755
public
:
3756
3760
blockListStories
();
3761
3763
static
const
std::int32_t
ID
= 103323228;
3764
3770
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3771
};
3772
3776
class
botCommand
final :
public
Object
{
3781
std::int32_t get_id()
const
final
{
3782
return
ID
;
3783
}
3784
3785
public
:
3787
string
command_
;
3789
string
description_
;
3790
3794
botCommand
();
3795
3802
botCommand
(
string
const
&
command_
,
string
const
&
description_
);
3803
3805
static
const
std::int32_t
ID
= -1032140601;
3806
3812
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3813
};
3814
3819
class
BotCommandScope
:
public
Object
{
3820
public
:
3821
};
3822
3826
class
botCommandScopeDefault
final :
public
BotCommandScope
{
3831
std::int32_t get_id()
const
final
{
3832
return
ID
;
3833
}
3834
3835
public
:
3836
3840
botCommandScopeDefault
();
3841
3843
static
const
std::int32_t
ID
= 795652779;
3844
3850
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3851
};
3852
3856
class
botCommandScopeAllPrivateChats
final :
public
BotCommandScope
{
3861
std::int32_t get_id()
const
final
{
3862
return
ID
;
3863
}
3864
3865
public
:
3866
3870
botCommandScopeAllPrivateChats
();
3871
3873
static
const
std::int32_t
ID
= -344889543;
3874
3880
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3881
};
3882
3886
class
botCommandScopeAllGroupChats
final :
public
BotCommandScope
{
3891
std::int32_t get_id()
const
final
{
3892
return
ID
;
3893
}
3894
3895
public
:
3896
3900
botCommandScopeAllGroupChats
();
3901
3903
static
const
std::int32_t
ID
= -981088162;
3904
3910
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3911
};
3912
3916
class
botCommandScopeAllChatAdministrators
final :
public
BotCommandScope
{
3921
std::int32_t get_id()
const
final
{
3922
return
ID
;
3923
}
3924
3925
public
:
3926
3930
botCommandScopeAllChatAdministrators
();
3931
3933
static
const
std::int32_t
ID
= 1998329169;
3934
3940
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3941
};
3942
3946
class
botCommandScopeChat
final :
public
BotCommandScope
{
3951
std::int32_t get_id()
const
final
{
3952
return
ID
;
3953
}
3954
3955
public
:
3957
int53
chat_id_
;
3958
3962
botCommandScopeChat
();
3963
3969
explicit
botCommandScopeChat
(
int53
chat_id_
);
3970
3972
static
const
std::int32_t
ID
= -430234971;
3973
3979
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3980
};
3981
3985
class
botCommandScopeChatAdministrators
final :
public
BotCommandScope
{
3990
std::int32_t get_id()
const
final
{
3991
return
ID
;
3992
}
3993
3994
public
:
3996
int53
chat_id_
;
3997
4001
botCommandScopeChatAdministrators
();
4002
4008
explicit
botCommandScopeChatAdministrators
(
int53
chat_id_
);
4009
4011
static
const
std::int32_t
ID
= 1119682126;
4012
4018
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4019
};
4020
4024
class
botCommandScopeChatMember
final :
public
BotCommandScope
{
4029
std::int32_t get_id()
const
final
{
4030
return
ID
;
4031
}
4032
4033
public
:
4035
int53
chat_id_
;
4037
int53
user_id_
;
4038
4042
botCommandScopeChatMember
();
4043
4050
botCommandScopeChatMember
(
int53
chat_id_
,
int53
user_id_
);
4051
4053
static
const
std::int32_t
ID
= -211380494;
4054
4060
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4061
};
4062
4063
class
botCommand
;
4064
4068
class
botCommands
final :
public
Object
{
4073
std::int32_t get_id()
const
final
{
4074
return
ID
;
4075
}
4076
4077
public
:
4079
int53
bot_user_id_
;
4081
array<object_ptr<botCommand>
>
commands_
;
4082
4086
botCommands
();
4087
4094
botCommands
(
int53
bot_user_id_
,
array
<
object_ptr<botCommand>
> &&
commands_
);
4095
4097
static
const
std::int32_t
ID
= 1741364468;
4098
4104
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4105
};
4106
4107
class
InternalLinkType
;
4108
4109
class
affiliateProgramInfo
;
4110
4111
class
animation
;
4112
4113
class
botCommand
;
4114
4115
class
botMenuButton
;
4116
4117
class
botVerificationParameters
;
4118
4119
class
chatAdministratorRights
;
4120
4121
class
photo
;
4122
4126
class
botInfo
final :
public
Object
{
4131
std::int32_t get_id()
const
final
{
4132
return
ID
;
4133
}
4134
4135
public
:
4137
string
short_description_
;
4139
string
description_
;
4141
object_ptr<photo>
photo_
;
4143
object_ptr<animation>
animation_
;
4145
object_ptr<botMenuButton>
menu_button_
;
4147
array<object_ptr<botCommand>
>
commands_
;
4149
string
privacy_policy_url_
;
4151
object_ptr<chatAdministratorRights>
default_group_administrator_rights_
;
4153
object_ptr<chatAdministratorRights>
default_channel_administrator_rights_
;
4155
object_ptr<affiliateProgramInfo>
affiliate_program_
;
4157
int32
web_app_background_light_color_
;
4159
int32
web_app_background_dark_color_
;
4161
int32
web_app_header_light_color_
;
4163
int32
web_app_header_dark_color_
;
4165
object_ptr<botVerificationParameters>
verification_parameters_
;
4167
bool
can_get_revenue_statistics_
;
4169
bool
can_manage_emoji_status_
;
4171
bool
has_media_previews_
;
4173
object_ptr<InternalLinkType>
edit_commands_link_
;
4175
object_ptr<InternalLinkType>
edit_description_link_
;
4177
object_ptr<InternalLinkType>
edit_description_media_link_
;
4179
object_ptr<InternalLinkType>
edit_settings_link_
;
4180
4184
botInfo
();
4185
4212
botInfo
(
string
const
&
short_description_
,
string
const
&
description_
,
object_ptr<photo>
&&
photo_
,
object_ptr<animation>
&&
animation_
,
object_ptr<botMenuButton>
&&
menu_button_
,
array
<
object_ptr<botCommand>
> &&
commands_
,
string
const
&
privacy_policy_url_
,
object_ptr<chatAdministratorRights>
&&
default_group_administrator_rights_
,
object_ptr<chatAdministratorRights>
&&
default_channel_administrator_rights_
,
object_ptr<affiliateProgramInfo>
&&
affiliate_program_
,
int32
web_app_background_light_color_
,
int32
web_app_background_dark_color_
,
int32
web_app_header_light_color_
,
int32
web_app_header_dark_color_
,
object_ptr<botVerificationParameters>
&&
verification_parameters_
,
bool
can_get_revenue_statistics_
,
bool
can_manage_emoji_status_
,
bool
has_media_previews_
,
object_ptr<InternalLinkType>
&&
edit_commands_link_
,
object_ptr<InternalLinkType>
&&
edit_description_link_
,
object_ptr<InternalLinkType>
&&
edit_description_media_link_
,
object_ptr<InternalLinkType>
&&
edit_settings_link_
);
4213
4215
static
const
std::int32_t
ID
= 1771886272;
4216
4222
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4223
};
4224
4225
class
StoryContent
;
4226
4230
class
botMediaPreview
final :
public
Object
{
4235
std::int32_t get_id()
const
final
{
4236
return
ID
;
4237
}
4238
4239
public
:
4241
int32
date_
;
4243
object_ptr<StoryContent>
content_
;
4244
4248
botMediaPreview
();
4249
4256
botMediaPreview
(
int32
date_
,
object_ptr<StoryContent>
&&
content_
);
4257
4259
static
const
std::int32_t
ID
= -1632264984;
4260
4266
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4267
};
4268
4269
class
botMediaPreview
;
4270
4274
class
botMediaPreviewInfo
final :
public
Object
{
4279
std::int32_t get_id()
const
final
{
4280
return
ID
;
4281
}
4282
4283
public
:
4285
array<object_ptr<botMediaPreview>
>
previews_
;
4287
array<string>
language_codes_
;
4288
4292
botMediaPreviewInfo
();
4293
4300
botMediaPreviewInfo
(
array
<
object_ptr<botMediaPreview>
> &&
previews_
,
array<string>
&&
language_codes_
);
4301
4303
static
const
std::int32_t
ID
= -284783012;
4304
4310
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4311
};
4312
4313
class
botMediaPreview
;
4314
4318
class
botMediaPreviews
final :
public
Object
{
4323
std::int32_t get_id()
const
final
{
4324
return
ID
;
4325
}
4326
4327
public
:
4329
array<object_ptr<botMediaPreview>
>
previews_
;
4330
4334
botMediaPreviews
();
4335
4341
explicit
botMediaPreviews
(
array
<
object_ptr<botMediaPreview>
> &&
previews_
);
4342
4344
static
const
std::int32_t
ID
= -1787720586;
4345
4351
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4352
};
4353
4357
class
botMenuButton
final :
public
Object
{
4362
std::int32_t get_id()
const
final
{
4363
return
ID
;
4364
}
4365
4366
public
:
4368
string
text_
;
4370
string
url_
;
4371
4375
botMenuButton
();
4376
4383
botMenuButton
(
string
const
&
text_
,
string
const
&
url_
);
4384
4386
static
const
std::int32_t
ID
= -944407322;
4387
4393
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4394
};
4395
4396
class
formattedText
;
4397
4401
class
botVerification
final :
public
Object
{
4406
std::int32_t get_id()
const
final
{
4407
return
ID
;
4408
}
4409
4410
public
:
4412
int53
bot_user_id_
;
4414
int64
icon_custom_emoji_id_
;
4416
object_ptr<formattedText>
custom_description_
;
4417
4421
botVerification
();
4422
4430
botVerification
(
int53
bot_user_id_
,
int64
icon_custom_emoji_id_
,
object_ptr<formattedText>
&&
custom_description_
);
4431
4433
static
const
std::int32_t
ID
= -1319061774;
4434
4440
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4441
};
4442
4443
class
formattedText
;
4444
4448
class
botVerificationParameters
final :
public
Object
{
4453
std::int32_t get_id()
const
final
{
4454
return
ID
;
4455
}
4456
4457
public
:
4459
int64
icon_custom_emoji_id_
;
4461
string
organization_name_
;
4463
object_ptr<formattedText>
default_custom_description_
;
4465
bool
can_set_custom_description_
;
4466
4470
botVerificationParameters
();
4471
4480
botVerificationParameters
(
int64
icon_custom_emoji_id_
,
string
const
&
organization_name_
,
object_ptr<formattedText>
&&
default_custom_description_
,
bool
can_set_custom_description_
);
4481
4483
static
const
std::int32_t
ID
= -723737249;
4484
4490
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4491
};
4492
4493
class
webApp
;
4494
4499
class
BotWriteAccessAllowReason
:
public
Object
{
4500
public
:
4501
};
4502
4506
class
botWriteAccessAllowReasonConnectedWebsite
final :
public
BotWriteAccessAllowReason
{
4511
std::int32_t get_id()
const
final
{
4512
return
ID
;
4513
}
4514
4515
public
:
4517
string
domain_name_
;
4518
4522
botWriteAccessAllowReasonConnectedWebsite
();
4523
4529
explicit
botWriteAccessAllowReasonConnectedWebsite
(
string
const
&
domain_name_
);
4530
4532
static
const
std::int32_t
ID
= 2016325603;
4533
4539
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4540
};
4541
4545
class
botWriteAccessAllowReasonAddedToAttachmentMenu
final :
public
BotWriteAccessAllowReason
{
4550
std::int32_t get_id()
const
final
{
4551
return
ID
;
4552
}
4553
4554
public
:
4555
4559
botWriteAccessAllowReasonAddedToAttachmentMenu
();
4560
4562
static
const
std::int32_t
ID
= -2104795235;
4563
4569
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4570
};
4571
4575
class
botWriteAccessAllowReasonLaunchedWebApp
final :
public
BotWriteAccessAllowReason
{
4580
std::int32_t get_id()
const
final
{
4581
return
ID
;
4582
}
4583
4584
public
:
4586
object_ptr<webApp>
web_app_
;
4587
4591
botWriteAccessAllowReasonLaunchedWebApp
();
4592
4598
explicit
botWriteAccessAllowReasonLaunchedWebApp
(
object_ptr<webApp>
&&
web_app_
);
4599
4601
static
const
std::int32_t
ID
= -240843561;
4602
4608
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4609
};
4610
4614
class
botWriteAccessAllowReasonAcceptedRequest
final :
public
BotWriteAccessAllowReason
{
4619
std::int32_t get_id()
const
final
{
4620
return
ID
;
4621
}
4622
4623
public
:
4624
4628
botWriteAccessAllowReasonAcceptedRequest
();
4629
4631
static
const
std::int32_t
ID
= -1983497220;
4632
4638
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4639
};
4640
4645
class
BuiltInTheme
:
public
Object
{
4646
public
:
4647
};
4648
4652
class
builtInThemeClassic
final :
public
BuiltInTheme
{
4657
std::int32_t get_id()
const
final
{
4658
return
ID
;
4659
}
4660
4661
public
:
4662
4666
builtInThemeClassic
();
4667
4669
static
const
std::int32_t
ID
= -696429972;
4670
4676
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4677
};
4678
4682
class
builtInThemeDay
final :
public
BuiltInTheme
{
4687
std::int32_t get_id()
const
final
{
4688
return
ID
;
4689
}
4690
4691
public
:
4692
4696
builtInThemeDay
();
4697
4699
static
const
std::int32_t
ID
= 411774754;
4700
4706
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4707
};
4708
4712
class
builtInThemeNight
final :
public
BuiltInTheme
{
4717
std::int32_t get_id()
const
final
{
4718
return
ID
;
4719
}
4720
4721
public
:
4722
4726
builtInThemeNight
();
4727
4729
static
const
std::int32_t
ID
= 429672829;
4730
4736
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4737
};
4738
4742
class
builtInThemeTinted
final :
public
BuiltInTheme
{
4747
std::int32_t get_id()
const
final
{
4748
return
ID
;
4749
}
4750
4751
public
:
4752
4756
builtInThemeTinted
();
4757
4759
static
const
std::int32_t
ID
= 513932973;
4760
4766
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4767
};
4768
4772
class
builtInThemeArctic
final :
public
BuiltInTheme
{
4777
std::int32_t get_id()
const
final
{
4778
return
ID
;
4779
}
4780
4781
public
:
4782
4786
builtInThemeArctic
();
4787
4789
static
const
std::int32_t
ID
= 1427659554;
4790
4796
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4797
};
4798
4803
class
BusinessAwayMessageSchedule
:
public
Object
{
4804
public
:
4805
};
4806
4810
class
businessAwayMessageScheduleAlways
final :
public
BusinessAwayMessageSchedule
{
4815
std::int32_t get_id()
const
final
{
4816
return
ID
;
4817
}
4818
4819
public
:
4820
4824
businessAwayMessageScheduleAlways
();
4825
4827
static
const
std::int32_t
ID
= -910564679;
4828
4834
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4835
};
4836
4840
class
businessAwayMessageScheduleOutsideOfOpeningHours
final :
public
BusinessAwayMessageSchedule
{
4845
std::int32_t get_id()
const
final
{
4846
return
ID
;
4847
}
4848
4849
public
:
4850
4854
businessAwayMessageScheduleOutsideOfOpeningHours
();
4855
4857
static
const
std::int32_t
ID
= -968630506;
4858
4864
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4865
};
4866
4870
class
businessAwayMessageScheduleCustom
final :
public
BusinessAwayMessageSchedule
{
4875
std::int32_t get_id()
const
final
{
4876
return
ID
;
4877
}
4878
4879
public
:
4881
int32
start_date_
;
4883
int32
end_date_
;
4884
4888
businessAwayMessageScheduleCustom
();
4889
4896
businessAwayMessageScheduleCustom
(
int32
start_date_
,
int32
end_date_
);
4897
4899
static
const
std::int32_t
ID
= -1967108654;
4900
4906
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4907
};
4908
4909
class
BusinessAwayMessageSchedule
;
4910
4911
class
businessRecipients
;
4912
4916
class
businessAwayMessageSettings
final :
public
Object
{
4921
std::int32_t get_id()
const
final
{
4922
return
ID
;
4923
}
4924
4925
public
:
4927
int32
shortcut_id_
;
4929
object_ptr<businessRecipients>
recipients_
;
4931
object_ptr<BusinessAwayMessageSchedule>
schedule_
;
4933
bool
offline_only_
;
4934
4938
businessAwayMessageSettings
();
4939
4948
businessAwayMessageSettings
(
int32
shortcut_id_
,
object_ptr<businessRecipients>
&&
recipients_
,
object_ptr<BusinessAwayMessageSchedule>
&&
schedule_
,
bool
offline_only_
);
4949
4951
static
const
std::int32_t
ID
= 353084137;
4952
4958
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4959
};
4960
4964
class
businessBotManageBar
final :
public
Object
{
4969
std::int32_t get_id()
const
final
{
4970
return
ID
;
4971
}
4972
4973
public
:
4975
int53
bot_user_id_
;
4977
string
manage_url_
;
4979
bool
is_bot_paused_
;
4981
bool
can_bot_reply_
;
4982
4986
businessBotManageBar
();
4987
4996
businessBotManageBar
(
int53
bot_user_id_
,
string
const
&
manage_url_
,
bool
is_bot_paused_
,
bool
can_bot_reply_
);
4997
4999
static
const
std::int32_t
ID
= -311399806;
5000
5006
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5007
};
5008
5012
class
businessBotRights
final :
public
Object
{
5017
std::int32_t get_id()
const
final
{
5018
return
ID
;
5019
}
5020
5021
public
:
5023
bool
can_reply_
;
5025
bool
can_read_messages_
;
5027
bool
can_delete_sent_messages_
;
5029
bool
can_delete_all_messages_
;
5031
bool
can_edit_name_
;
5033
bool
can_edit_bio_
;
5035
bool
can_edit_profile_photo_
;
5037
bool
can_edit_username_
;
5039
bool
can_view_gifts_and_stars_
;
5041
bool
can_sell_gifts_
;
5043
bool
can_change_gift_settings_
;
5045
bool
can_transfer_and_upgrade_gifts_
;
5047
bool
can_transfer_stars_
;
5049
bool
can_manage_stories_
;
5050
5054
businessBotRights
();
5055
5074
businessBotRights
(
bool
can_reply_
,
bool
can_read_messages_
,
bool
can_delete_sent_messages_
,
bool
can_delete_all_messages_
,
bool
can_edit_name_
,
bool
can_edit_bio_
,
bool
can_edit_profile_photo_
,
bool
can_edit_username_
,
bool
can_view_gifts_and_stars_
,
bool
can_sell_gifts_
,
bool
can_change_gift_settings_
,
bool
can_transfer_and_upgrade_gifts_
,
bool
can_transfer_stars_
,
bool
can_manage_stories_
);
5075
5077
static
const
std::int32_t
ID
= 1224839038;
5078
5084
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5085
};
5086
5087
class
formattedText
;
5088
5092
class
businessChatLink
final :
public
Object
{
5097
std::int32_t get_id()
const
final
{
5098
return
ID
;
5099
}
5100
5101
public
:
5103
string
link_
;
5105
object_ptr<formattedText>
text_
;
5107
string
title_
;
5109
int32
view_count_
;
5110
5114
businessChatLink
();
5115
5124
businessChatLink
(
string
const
&
link_
,
object_ptr<formattedText>
&&
text_
,
string
const
&
title_
,
int32
view_count_
);
5125
5127
static
const
std::int32_t
ID
= -1902539901;
5128
5134
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5135
};
5136
5137
class
formattedText
;
5138
5142
class
businessChatLinkInfo
final :
public
Object
{
5147
std::int32_t get_id()
const
final
{
5148
return
ID
;
5149
}
5150
5151
public
:
5153
int53
chat_id_
;
5155
object_ptr<formattedText>
text_
;
5156
5160
businessChatLinkInfo
();
5161
5168
businessChatLinkInfo
(
int53
chat_id_
,
object_ptr<formattedText>
&&
text_
);
5169
5171
static
const
std::int32_t
ID
= -864865105;
5172
5178
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5179
};
5180
5181
class
businessChatLink
;
5182
5186
class
businessChatLinks
final :
public
Object
{
5191
std::int32_t get_id()
const
final
{
5192
return
ID
;
5193
}
5194
5195
public
:
5197
array<object_ptr<businessChatLink>
>
links_
;
5198
5202
businessChatLinks
();
5203
5209
explicit
businessChatLinks
(
array
<
object_ptr<businessChatLink>
> &&
links_
);
5210
5212
static
const
std::int32_t
ID
= 79067036;
5213
5219
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5220
};
5221
5222
class
businessBotRights
;
5223
5224
class
businessRecipients
;
5225
5229
class
businessConnectedBot
final :
public
Object
{
5234
std::int32_t get_id()
const
final
{
5235
return
ID
;
5236
}
5237
5238
public
:
5240
int53
bot_user_id_
;
5242
object_ptr<businessRecipients>
recipients_
;
5244
object_ptr<businessBotRights>
rights_
;
5245
5249
businessConnectedBot
();
5250
5258
businessConnectedBot
(
int53
bot_user_id_
,
object_ptr<businessRecipients>
&&
recipients_
,
object_ptr<businessBotRights>
&&
rights_
);
5259
5261
static
const
std::int32_t
ID
= -1815439021;
5262
5268
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5269
};
5270
5271
class
businessBotRights
;
5272
5276
class
businessConnection
final :
public
Object
{
5281
std::int32_t get_id()
const
final
{
5282
return
ID
;
5283
}
5284
5285
public
:
5287
string
id_
;
5289
int53
user_id_
;
5291
int53
user_chat_id_
;
5293
int32
date_
;
5295
object_ptr<businessBotRights>
rights_
;
5297
bool
is_enabled_
;
5298
5302
businessConnection
();
5303
5314
businessConnection
(
string
const
&
id_
,
int53
user_id_
,
int53
user_chat_id_
,
int32
date_
,
object_ptr<businessBotRights>
&&
rights_
,
bool
is_enabled_
);
5315
5317
static
const
std::int32_t
ID
= -995703933;
5318
5324
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5325
};
5326
5331
class
BusinessFeature
:
public
Object
{
5332
public
:
5333
};
5334
5338
class
businessFeatureLocation
final :
public
BusinessFeature
{
5343
std::int32_t get_id()
const
final
{
5344
return
ID
;
5345
}
5346
5347
public
:
5348
5352
businessFeatureLocation
();
5353
5355
static
const
std::int32_t
ID
= -1064304004;
5356
5362
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5363
};
5364
5368
class
businessFeatureOpeningHours
final :
public
BusinessFeature
{
5373
std::int32_t get_id()
const
final
{
5374
return
ID
;
5375
}
5376
5377
public
:
5378
5382
businessFeatureOpeningHours
();
5383
5385
static
const
std::int32_t
ID
= 461054701;
5386
5392
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5393
};
5394
5398
class
businessFeatureQuickReplies
final :
public
BusinessFeature
{
5403
std::int32_t get_id()
const
final
{
5404
return
ID
;
5405
}
5406
5407
public
:
5408
5412
businessFeatureQuickReplies
();
5413
5415
static
const
std::int32_t
ID
= -1674048894;
5416
5422
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5423
};
5424
5428
class
businessFeatureGreetingMessage
final :
public
BusinessFeature
{
5433
std::int32_t get_id()
const
final
{
5434
return
ID
;
5435
}
5436
5437
public
:
5438
5442
businessFeatureGreetingMessage
();
5443
5445
static
const
std::int32_t
ID
= 1789424756;
5446
5452
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5453
};
5454
5458
class
businessFeatureAwayMessage
final :
public
BusinessFeature
{
5463
std::int32_t get_id()
const
final
{
5464
return
ID
;
5465
}
5466
5467
public
:
5468
5472
businessFeatureAwayMessage
();
5473
5475
static
const
std::int32_t
ID
= 1090119901;
5476
5482
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5483
};
5484
5488
class
businessFeatureAccountLinks
final :
public
BusinessFeature
{
5493
std::int32_t get_id()
const
final
{
5494
return
ID
;
5495
}
5496
5497
public
:
5498
5502
businessFeatureAccountLinks
();
5503
5505
static
const
std::int32_t
ID
= 1878693646;
5506
5512
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5513
};
5514
5518
class
businessFeatureStartPage
final :
public
BusinessFeature
{
5523
std::int32_t get_id()
const
final
{
5524
return
ID
;
5525
}
5526
5527
public
:
5528
5532
businessFeatureStartPage
();
5533
5535
static
const
std::int32_t
ID
= 401471457;
5536
5542
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5543
};
5544
5548
class
businessFeatureBots
final :
public
BusinessFeature
{
5553
std::int32_t get_id()
const
final
{
5554
return
ID
;
5555
}
5556
5557
public
:
5558
5562
businessFeatureBots
();
5563
5565
static
const
std::int32_t
ID
= 275084773;
5566
5572
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5573
};
5574
5578
class
businessFeatureEmojiStatus
final :
public
BusinessFeature
{
5583
std::int32_t get_id()
const
final
{
5584
return
ID
;
5585
}
5586
5587
public
:
5588
5592
businessFeatureEmojiStatus
();
5593
5595
static
const
std::int32_t
ID
= -846282523;
5596
5602
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5603
};
5604
5608
class
businessFeatureChatFolderTags
final :
public
BusinessFeature
{
5613
std::int32_t get_id()
const
final
{
5614
return
ID
;
5615
}
5616
5617
public
:
5618
5622
businessFeatureChatFolderTags
();
5623
5625
static
const
std::int32_t
ID
= -543880918;
5626
5632
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5633
};
5634
5638
class
businessFeatureUpgradedStories
final :
public
BusinessFeature
{
5643
std::int32_t get_id()
const
final
{
5644
return
ID
;
5645
}
5646
5647
public
:
5648
5652
businessFeatureUpgradedStories
();
5653
5655
static
const
std::int32_t
ID
= -1812245550;
5656
5662
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5663
};
5664
5665
class
BusinessFeature
;
5666
5667
class
animation
;
5668
5672
class
businessFeaturePromotionAnimation
final :
public
Object
{
5677
std::int32_t get_id()
const
final
{
5678
return
ID
;
5679
}
5680
5681
public
:
5683
object_ptr<BusinessFeature>
feature_
;
5685
object_ptr<animation>
animation_
;
5686
5690
businessFeaturePromotionAnimation
();
5691
5698
businessFeaturePromotionAnimation
(
object_ptr<BusinessFeature>
&&
feature_
,
object_ptr<animation>
&&
animation_
);
5699
5701
static
const
std::int32_t
ID
= 2047174666;
5702
5708
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5709
};
5710
5711
class
BusinessFeature
;
5712
5716
class
businessFeatures
final :
public
Object
{
5721
std::int32_t get_id()
const
final
{
5722
return
ID
;
5723
}
5724
5725
public
:
5727
array<object_ptr<BusinessFeature>
>
features_
;
5728
5732
businessFeatures
();
5733
5739
explicit
businessFeatures
(
array
<
object_ptr<BusinessFeature>
> &&
features_
);
5740
5742
static
const
std::int32_t
ID
= -1532468184;
5743
5749
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5750
};
5751
5752
class
businessRecipients
;
5753
5757
class
businessGreetingMessageSettings
final :
public
Object
{
5762
std::int32_t get_id()
const
final
{
5763
return
ID
;
5764
}
5765
5766
public
:
5768
int32
shortcut_id_
;
5770
object_ptr<businessRecipients>
recipients_
;
5772
int32
inactivity_days_
;
5773
5777
businessGreetingMessageSettings
();
5778
5786
businessGreetingMessageSettings
(
int32
shortcut_id_
,
object_ptr<businessRecipients>
&&
recipients_
,
int32
inactivity_days_
);
5787
5789
static
const
std::int32_t
ID
= 1689140754;
5790
5796
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5797
};
5798
5799
class
businessAwayMessageSettings
;
5800
5801
class
businessGreetingMessageSettings
;
5802
5803
class
businessLocation
;
5804
5805
class
businessOpeningHours
;
5806
5807
class
businessStartPage
;
5808
5812
class
businessInfo
final :
public
Object
{
5817
std::int32_t get_id()
const
final
{
5818
return
ID
;
5819
}
5820
5821
public
:
5823
object_ptr<businessLocation>
location_
;
5825
object_ptr<businessOpeningHours>
opening_hours_
;
5827
object_ptr<businessOpeningHours>
local_opening_hours_
;
5829
int32
next_open_in_
;
5831
int32
next_close_in_
;
5833
object_ptr<businessGreetingMessageSettings>
greeting_message_settings_
;
5835
object_ptr<businessAwayMessageSettings>
away_message_settings_
;
5837
object_ptr<businessStartPage>
start_page_
;
5838
5842
businessInfo
();
5843
5856
businessInfo
(
object_ptr<businessLocation>
&&
location_
,
object_ptr<businessOpeningHours>
&&
opening_hours_
,
object_ptr<businessOpeningHours>
&&
local_opening_hours_
,
int32
next_open_in_
,
int32
next_close_in_
,
object_ptr<businessGreetingMessageSettings>
&&
greeting_message_settings_
,
object_ptr<businessAwayMessageSettings>
&&
away_message_settings_
,
object_ptr<businessStartPage>
&&
start_page_
);
5857
5859
static
const
std::int32_t
ID
= 1428179342;
5860
5866
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5867
};
5868
5869
class
location
;
5870
5874
class
businessLocation
final :
public
Object
{
5879
std::int32_t get_id()
const
final
{
5880
return
ID
;
5881
}
5882
5883
public
:
5885
object_ptr<location>
location_
;
5887
string
address_
;
5888
5892
businessLocation
();
5893
5900
businessLocation
(
object_ptr<location>
&&
location_
,
string
const
&
address_
);
5901
5903
static
const
std::int32_t
ID
= -1084969126;
5904
5910
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5911
};
5912
5913
class
message
;
5914
5918
class
businessMessage
final :
public
Object
{
5923
std::int32_t get_id()
const
final
{
5924
return
ID
;
5925
}
5926
5927
public
:
5929
object_ptr<message>
message_
;
5931
object_ptr<message>
reply_to_message_
;
5932
5936
businessMessage
();
5937
5944
businessMessage
(
object_ptr<message>
&&
message_
,
object_ptr<message>
&&
reply_to_message_
);
5945
5947
static
const
std::int32_t
ID
= -94353850;
5948
5954
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5955
};
5956
5957
class
businessMessage
;
5958
5962
class
businessMessages
final :
public
Object
{
5967
std::int32_t get_id()
const
final
{
5968
return
ID
;
5969
}
5970
5971
public
:
5973
array<object_ptr<businessMessage>
>
messages_
;
5974
5978
businessMessages
();
5979
5985
explicit
businessMessages
(
array
<
object_ptr<businessMessage>
> &&
messages_
);
5986
5988
static
const
std::int32_t
ID
= -764562473;
5989
5995
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5996
};
5997
5998
class
businessOpeningHoursInterval
;
5999
6003
class
businessOpeningHours
final :
public
Object
{
6008
std::int32_t get_id()
const
final
{
6009
return
ID
;
6010
}
6011
6012
public
:
6014
string
time_zone_id_
;
6016
array<object_ptr<businessOpeningHoursInterval>
>
opening_hours_
;
6017
6021
businessOpeningHours
();
6022
6029
businessOpeningHours
(
string
const
&
time_zone_id_
,
array
<
object_ptr<businessOpeningHoursInterval>
> &&
opening_hours_
);
6030
6032
static
const
std::int32_t
ID
= 816603700;
6033
6039
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6040
};
6041
6045
class
businessOpeningHoursInterval
final :
public
Object
{
6050
std::int32_t get_id()
const
final
{
6051
return
ID
;
6052
}
6053
6054
public
:
6056
int32
start_minute_
;
6058
int32
end_minute_
;
6059
6063
businessOpeningHoursInterval
();
6064
6071
businessOpeningHoursInterval
(
int32
start_minute_
,
int32
end_minute_
);
6072
6074
static
const
std::int32_t
ID
= -1108322732;
6075
6081
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6082
};
6083
6087
class
businessRecipients
final :
public
Object
{
6092
std::int32_t get_id()
const
final
{
6093
return
ID
;
6094
}
6095
6096
public
:
6098
array<int53>
chat_ids_
;
6100
array<int53>
excluded_chat_ids_
;
6102
bool
select_existing_chats_
;
6104
bool
select_new_chats_
;
6106
bool
select_contacts_
;
6108
bool
select_non_contacts_
;
6110
bool
exclude_selected_
;
6111
6115
businessRecipients
();
6116
6128
businessRecipients
(
array<int53>
&&
chat_ids_
,
array<int53>
&&
excluded_chat_ids_
,
bool
select_existing_chats_
,
bool
select_new_chats_
,
bool
select_contacts_
,
bool
select_non_contacts_
,
bool
exclude_selected_
);
6129
6131
static
const
std::int32_t
ID
= 868656909;
6132
6138
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6139
};
6140
6141
class
sticker
;
6142
6146
class
businessStartPage
final :
public
Object
{
6151
std::int32_t get_id()
const
final
{
6152
return
ID
;
6153
}
6154
6155
public
:
6157
string
title_
;
6159
string
message_
;
6161
object_ptr<sticker>
sticker_
;
6162
6166
businessStartPage
();
6167
6175
businessStartPage
(
string
const
&
title_
,
string
const
&
message_
,
object_ptr<sticker>
&&
sticker_
);
6176
6178
static
const
std::int32_t
ID
= -1616709681;
6179
6185
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6186
};
6187
6188
class
CallState
;
6189
6193
class
call
final :
public
Object
{
6198
std::int32_t get_id()
const
final
{
6199
return
ID
;
6200
}
6201
6202
public
:
6204
int32
id_
;
6206
int53
user_id_
;
6208
bool
is_outgoing_
;
6210
bool
is_video_
;
6212
object_ptr<CallState>
state_
;
6213
6217
call
();
6218
6228
call
(
int32
id_
,
int53
user_id_
,
bool
is_outgoing_
,
bool
is_video_
,
object_ptr<CallState>
&&
state_
);
6229
6231
static
const
std::int32_t
ID
= 920360804;
6232
6238
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6239
};
6240
6245
class
CallDiscardReason
:
public
Object
{
6246
public
:
6247
};
6248
6252
class
callDiscardReasonEmpty
final :
public
CallDiscardReason
{
6257
std::int32_t get_id()
const
final
{
6258
return
ID
;
6259
}
6260
6261
public
:
6262
6266
callDiscardReasonEmpty
();
6267
6269
static
const
std::int32_t
ID
= -1258917949;
6270
6276
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6277
};
6278
6282
class
callDiscardReasonMissed
final :
public
CallDiscardReason
{
6287
std::int32_t get_id()
const
final
{
6288
return
ID
;
6289
}
6290
6291
public
:
6292
6296
callDiscardReasonMissed
();
6297
6299
static
const
std::int32_t
ID
= 1680358012;
6300
6306
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6307
};
6308
6312
class
callDiscardReasonDeclined
final :
public
CallDiscardReason
{
6317
std::int32_t get_id()
const
final
{
6318
return
ID
;
6319
}
6320
6321
public
:
6322
6326
callDiscardReasonDeclined
();
6327
6329
static
const
std::int32_t
ID
= -1729926094;
6330
6336
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6337
};
6338
6342
class
callDiscardReasonDisconnected
final :
public
CallDiscardReason
{
6347
std::int32_t get_id()
const
final
{
6348
return
ID
;
6349
}
6350
6351
public
:
6352
6356
callDiscardReasonDisconnected
();
6357
6359
static
const
std::int32_t
ID
= -1342872670;
6360
6366
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6367
};
6368
6372
class
callDiscardReasonHungUp
final :
public
CallDiscardReason
{
6377
std::int32_t get_id()
const
final
{
6378
return
ID
;
6379
}
6380
6381
public
:
6382
6386
callDiscardReasonHungUp
();
6387
6389
static
const
std::int32_t
ID
= 438216166;
6390
6396
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6397
};
6398
6402
class
callDiscardReasonUpgradeToGroupCall
final :
public
CallDiscardReason
{
6407
std::int32_t get_id()
const
final
{
6408
return
ID
;
6409
}
6410
6411
public
:
6413
string
invite_link_
;
6414
6418
callDiscardReasonUpgradeToGroupCall
();
6419
6425
explicit
callDiscardReasonUpgradeToGroupCall
(
string
const
&
invite_link_
);
6426
6428
static
const
std::int32_t
ID
= 1254509319;
6429
6435
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6436
};
6437
6441
class
callId
final :
public
Object
{
6446
std::int32_t get_id()
const
final
{
6447
return
ID
;
6448
}
6449
6450
public
:
6452
int32
id_
;
6453
6457
callId
();
6458
6464
explicit
callId
(
int32
id_
);
6465
6467
static
const
std::int32_t
ID
= 65717769;
6468
6474
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6475
};
6476
6481
class
CallProblem
:
public
Object
{
6482
public
:
6483
};
6484
6488
class
callProblemEcho
final :
public
CallProblem
{
6493
std::int32_t get_id()
const
final
{
6494
return
ID
;
6495
}
6496
6497
public
:
6498
6502
callProblemEcho
();
6503
6505
static
const
std::int32_t
ID
= 801116548;
6506
6512
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6513
};
6514
6518
class
callProblemNoise
final :
public
CallProblem
{
6523
std::int32_t get_id()
const
final
{
6524
return
ID
;
6525
}
6526
6527
public
:
6528
6532
callProblemNoise
();
6533
6535
static
const
std::int32_t
ID
= 1053065359;
6536
6542
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6543
};
6544
6548
class
callProblemInterruptions
final :
public
CallProblem
{
6553
std::int32_t get_id()
const
final
{
6554
return
ID
;
6555
}
6556
6557
public
:
6558
6562
callProblemInterruptions
();
6563
6565
static
const
std::int32_t
ID
= 1119493218;
6566
6572
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6573
};
6574
6578
class
callProblemDistortedSpeech
final :
public
CallProblem
{
6583
std::int32_t get_id()
const
final
{
6584
return
ID
;
6585
}
6586
6587
public
:
6588
6592
callProblemDistortedSpeech
();
6593
6595
static
const
std::int32_t
ID
= 379960581;
6596
6602
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6603
};
6604
6608
class
callProblemSilentLocal
final :
public
CallProblem
{
6613
std::int32_t get_id()
const
final
{
6614
return
ID
;
6615
}
6616
6617
public
:
6618
6622
callProblemSilentLocal
();
6623
6625
static
const
std::int32_t
ID
= 253652790;
6626
6632
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6633
};
6634
6638
class
callProblemSilentRemote
final :
public
CallProblem
{
6643
std::int32_t get_id()
const
final
{
6644
return
ID
;
6645
}
6646
6647
public
:
6648
6652
callProblemSilentRemote
();
6653
6655
static
const
std::int32_t
ID
= 573634714;
6656
6662
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6663
};
6664
6668
class
callProblemDropped
final :
public
CallProblem
{
6673
std::int32_t get_id()
const
final
{
6674
return
ID
;
6675
}
6676
6677
public
:
6678
6682
callProblemDropped
();
6683
6685
static
const
std::int32_t
ID
= -1207311487;
6686
6692
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6693
};
6694
6698
class
callProblemDistortedVideo
final :
public
CallProblem
{
6703
std::int32_t get_id()
const
final
{
6704
return
ID
;
6705
}
6706
6707
public
:
6708
6712
callProblemDistortedVideo
();
6713
6715
static
const
std::int32_t
ID
= 385245706;
6716
6722
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6723
};
6724
6728
class
callProblemPixelatedVideo
final :
public
CallProblem
{
6733
std::int32_t get_id()
const
final
{
6734
return
ID
;
6735
}
6736
6737
public
:
6738
6742
callProblemPixelatedVideo
();
6743
6745
static
const
std::int32_t
ID
= 2115315411;
6746
6752
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6753
};
6754
6758
class
callProtocol
final :
public
Object
{
6763
std::int32_t get_id()
const
final
{
6764
return
ID
;
6765
}
6766
6767
public
:
6769
bool
udp_p2p_
;
6771
bool
udp_reflector_
;
6773
int32
min_layer_
;
6775
int32
max_layer_
;
6777
array<string>
library_versions_
;
6778
6782
callProtocol
();
6783
6793
callProtocol
(
bool
udp_p2p_
,
bool
udp_reflector_
,
int32
min_layer_
,
int32
max_layer_
,
array<string>
&&
library_versions_
);
6794
6796
static
const
std::int32_t
ID
= -1075562897;
6797
6803
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6804
};
6805
6806
class
CallServerType
;
6807
6811
class
callServer
final :
public
Object
{
6816
std::int32_t get_id()
const
final
{
6817
return
ID
;
6818
}
6819
6820
public
:
6822
int64
id_
;
6824
string
ip_address_
;
6826
string
ipv6_address_
;
6828
int32
port_
;
6830
object_ptr<CallServerType>
type_
;
6831
6835
callServer
();
6836
6846
callServer
(
int64
id_
,
string
const
&
ip_address_
,
string
const
&
ipv6_address_
,
int32
port_
,
object_ptr<CallServerType>
&&
type_
);
6847
6849
static
const
std::int32_t
ID
= 1865932695;
6850
6856
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6857
};
6858
6863
class
CallServerType
:
public
Object
{
6864
public
:
6865
};
6866
6870
class
callServerTypeTelegramReflector
final :
public
CallServerType
{
6875
std::int32_t get_id()
const
final
{
6876
return
ID
;
6877
}
6878
6879
public
:
6881
bytes
peer_tag_
;
6883
bool
is_tcp_
;
6884
6888
callServerTypeTelegramReflector
();
6889
6896
callServerTypeTelegramReflector
(
bytes
const
&
peer_tag_
,
bool
is_tcp_
);
6897
6899
static
const
std::int32_t
ID
= 850343189;
6900
6906
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6907
};
6908
6912
class
callServerTypeWebrtc
final :
public
CallServerType
{
6917
std::int32_t get_id()
const
final
{
6918
return
ID
;
6919
}
6920
6921
public
:
6923
string
username_
;
6925
string
password_
;
6927
bool
supports_turn_
;
6929
bool
supports_stun_
;
6930
6934
callServerTypeWebrtc
();
6935
6944
callServerTypeWebrtc
(
string
const
&
username_
,
string
const
&
password_
,
bool
supports_turn_
,
bool
supports_stun_
);
6945
6947
static
const
std::int32_t
ID
= 1250622821;
6948
6954
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6955
};
6956
6957
class
CallDiscardReason
;
6958
6959
class
callProtocol
;
6960
6961
class
callServer
;
6962
6963
class
error
;
6964
6969
class
CallState
:
public
Object
{
6970
public
:
6971
};
6972
6976
class
callStatePending
final :
public
CallState
{
6981
std::int32_t get_id()
const
final
{
6982
return
ID
;
6983
}
6984
6985
public
:
6987
bool
is_created_
;
6989
bool
is_received_
;
6990
6994
callStatePending
();
6995
7002
callStatePending
(
bool
is_created_
,
bool
is_received_
);
7003
7005
static
const
std::int32_t
ID
= 1073048620;
7006
7012
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7013
};
7014
7018
class
callStateExchangingKeys
final :
public
CallState
{
7023
std::int32_t get_id()
const
final
{
7024
return
ID
;
7025
}
7026
7027
public
:
7028
7032
callStateExchangingKeys
();
7033
7035
static
const
std::int32_t
ID
= -1848149403;
7036
7042
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7043
};
7044
7048
class
callStateReady
final :
public
CallState
{
7053
std::int32_t get_id()
const
final
{
7054
return
ID
;
7055
}
7056
7057
public
:
7059
object_ptr<callProtocol>
protocol_
;
7061
array<object_ptr<callServer>
>
servers_
;
7063
string
config_
;
7065
bytes
encryption_key_
;
7067
array<string>
emojis_
;
7069
bool
allow_p2p_
;
7071
bool
is_group_call_supported_
;
7073
string
custom_parameters_
;
7074
7078
callStateReady
();
7079
7092
callStateReady
(
object_ptr<callProtocol>
&&
protocol_
,
array
<
object_ptr<callServer>
> &&
servers_
,
string
const
&
config_
,
bytes
const
&
encryption_key_
,
array<string>
&&
emojis_
,
bool
allow_p2p_
,
bool
is_group_call_supported_
,
string
const
&
custom_parameters_
);
7093
7095
static
const
std::int32_t
ID
= -281776921;
7096
7102
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7103
};
7104
7108
class
callStateHangingUp
final :
public
CallState
{
7113
std::int32_t get_id()
const
final
{
7114
return
ID
;
7115
}
7116
7117
public
:
7118
7122
callStateHangingUp
();
7123
7125
static
const
std::int32_t
ID
= -2133790038;
7126
7132
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7133
};
7134
7138
class
callStateDiscarded
final :
public
CallState
{
7143
std::int32_t get_id()
const
final
{
7144
return
ID
;
7145
}
7146
7147
public
:
7149
object_ptr<CallDiscardReason>
reason_
;
7151
bool
need_rating_
;
7153
bool
need_debug_information_
;
7155
bool
need_log_
;
7156
7160
callStateDiscarded
();
7161
7170
callStateDiscarded
(
object_ptr<CallDiscardReason>
&&
reason_
,
bool
need_rating_
,
bool
need_debug_information_
,
bool
need_log_
);
7171
7173
static
const
std::int32_t
ID
= 1394310213;
7174
7180
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7181
};
7182
7186
class
callStateError
final :
public
CallState
{
7191
std::int32_t get_id()
const
final
{
7192
return
ID
;
7193
}
7194
7195
public
:
7197
object_ptr<error>
error_
;
7198
7202
callStateError
();
7203
7209
explicit
callStateError
(
object_ptr<error>
&&
error_
);
7210
7212
static
const
std::int32_t
ID
= -975215467;
7213
7219
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7220
};
7221
7225
class
callbackQueryAnswer
final :
public
Object
{
7230
std::int32_t get_id()
const
final
{
7231
return
ID
;
7232
}
7233
7234
public
:
7236
string
text_
;
7238
bool
show_alert_
;
7240
string
url_
;
7241
7245
callbackQueryAnswer
();
7246
7254
callbackQueryAnswer
(
string
const
&
text_
,
bool
show_alert_
,
string
const
&
url_
);
7255
7257
static
const
std::int32_t
ID
= 360867933;
7258
7264
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7265
};
7266
7271
class
CallbackQueryPayload
:
public
Object
{
7272
public
:
7273
};
7274
7278
class
callbackQueryPayloadData
final :
public
CallbackQueryPayload
{
7283
std::int32_t get_id()
const
final
{
7284
return
ID
;
7285
}
7286
7287
public
:
7289
bytes
data_
;
7290
7294
callbackQueryPayloadData
();
7295
7301
explicit
callbackQueryPayloadData
(
bytes
const
&
data_
);
7302
7304
static
const
std::int32_t
ID
= -1977729946;
7305
7311
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7312
};
7313
7317
class
callbackQueryPayloadDataWithPassword
final :
public
CallbackQueryPayload
{
7322
std::int32_t get_id()
const
final
{
7323
return
ID
;
7324
}
7325
7326
public
:
7328
string
password_
;
7330
bytes
data_
;
7331
7335
callbackQueryPayloadDataWithPassword
();
7336
7343
callbackQueryPayloadDataWithPassword
(
string
const
&
password_
,
bytes
const
&
data_
);
7344
7346
static
const
std::int32_t
ID
= 1340266738;
7347
7353
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7354
};
7355
7359
class
callbackQueryPayloadGame
final :
public
CallbackQueryPayload
{
7364
std::int32_t get_id()
const
final
{
7365
return
ID
;
7366
}
7367
7368
public
:
7370
string
game_short_name_
;
7371
7375
callbackQueryPayloadGame
();
7376
7382
explicit
callbackQueryPayloadGame
(
string
const
&
game_short_name_
);
7383
7385
static
const
std::int32_t
ID
= 1303571512;
7386
7392
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7393
};
7394
7399
class
CanPostStoryResult
:
public
Object
{
7400
public
:
7401
};
7402
7406
class
canPostStoryResultOk
final :
public
CanPostStoryResult
{
7411
std::int32_t get_id()
const
final
{
7412
return
ID
;
7413
}
7414
7415
public
:
7417
int32
story_count_
;
7418
7422
canPostStoryResultOk
();
7423
7429
explicit
canPostStoryResultOk
(
int32
story_count_
);
7430
7432
static
const
std::int32_t
ID
= 2083205610;
7433
7439
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7440
};
7441
7445
class
canPostStoryResultPremiumNeeded
final :
public
CanPostStoryResult
{
7450
std::int32_t get_id()
const
final
{
7451
return
ID
;
7452
}
7453
7454
public
:
7455
7459
canPostStoryResultPremiumNeeded
();
7460
7462
static
const
std::int32_t
ID
= 935130501;
7463
7469
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7470
};
7471
7475
class
canPostStoryResultBoostNeeded
final :
public
CanPostStoryResult
{
7480
std::int32_t get_id()
const
final
{
7481
return
ID
;
7482
}
7483
7484
public
:
7485
7489
canPostStoryResultBoostNeeded
();
7490
7492
static
const
std::int32_t
ID
= 80246195;
7493
7499
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7500
};
7501
7505
class
canPostStoryResultActiveStoryLimitExceeded
final :
public
CanPostStoryResult
{
7510
std::int32_t get_id()
const
final
{
7511
return
ID
;
7512
}
7513
7514
public
:
7515
7519
canPostStoryResultActiveStoryLimitExceeded
();
7520
7522
static
const
std::int32_t
ID
= -1640759002;
7523
7529
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7530
};
7531
7535
class
canPostStoryResultWeeklyLimitExceeded
final :
public
CanPostStoryResult
{
7540
std::int32_t get_id()
const
final
{
7541
return
ID
;
7542
}
7543
7544
public
:
7546
int32
retry_after_
;
7547
7551
canPostStoryResultWeeklyLimitExceeded
();
7552
7558
explicit
canPostStoryResultWeeklyLimitExceeded
(
int32
retry_after_
);
7559
7561
static
const
std::int32_t
ID
= 552858605;
7562
7568
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7569
};
7570
7574
class
canPostStoryResultMonthlyLimitExceeded
final :
public
CanPostStoryResult
{
7579
std::int32_t get_id()
const
final
{
7580
return
ID
;
7581
}
7582
7583
public
:
7585
int32
retry_after_
;
7586
7590
canPostStoryResultMonthlyLimitExceeded
();
7591
7597
explicit
canPostStoryResultMonthlyLimitExceeded
(
int32
retry_after_
);
7598
7600
static
const
std::int32_t
ID
= -784208562;
7601
7607
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7608
};
7609
7610
class
formattedText
;
7611
7616
class
CanSendGiftResult
:
public
Object
{
7617
public
:
7618
};
7619
7623
class
canSendGiftResultOk
final :
public
CanSendGiftResult
{
7628
std::int32_t get_id()
const
final
{
7629
return
ID
;
7630
}
7631
7632
public
:
7633
7637
canSendGiftResultOk
();
7638
7640
static
const
std::int32_t
ID
= 641908725;
7641
7647
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7648
};
7649
7653
class
canSendGiftResultFail
final :
public
CanSendGiftResult
{
7658
std::int32_t get_id()
const
final
{
7659
return
ID
;
7660
}
7661
7662
public
:
7664
object_ptr<formattedText>
reason_
;
7665
7669
canSendGiftResultFail
();
7670
7676
explicit
canSendGiftResultFail
(
object_ptr<formattedText>
&&
reason_
);
7677
7679
static
const
std::int32_t
ID
= 1359108924;
7680
7686
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7687
};
7688
7693
class
CanSendMessageToUserResult
:
public
Object
{
7694
public
:
7695
};
7696
7700
class
canSendMessageToUserResultOk
final :
public
CanSendMessageToUserResult
{
7705
std::int32_t get_id()
const
final
{
7706
return
ID
;
7707
}
7708
7709
public
:
7710
7714
canSendMessageToUserResultOk
();
7715
7717
static
const
std::int32_t
ID
= 1530583042;
7718
7724
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7725
};
7726
7730
class
canSendMessageToUserResultUserHasPaidMessages
final :
public
CanSendMessageToUserResult
{
7735
std::int32_t get_id()
const
final
{
7736
return
ID
;
7737
}
7738
7739
public
:
7741
int53
outgoing_paid_message_star_count_
;
7742
7746
canSendMessageToUserResultUserHasPaidMessages
();
7747
7753
explicit
canSendMessageToUserResultUserHasPaidMessages
(
int53
outgoing_paid_message_star_count_
);
7754
7756
static
const
std::int32_t
ID
= -1346487602;
7757
7763
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7764
};
7765
7769
class
canSendMessageToUserResultUserIsDeleted
final :
public
CanSendMessageToUserResult
{
7774
std::int32_t get_id()
const
final
{
7775
return
ID
;
7776
}
7777
7778
public
:
7779
7783
canSendMessageToUserResultUserIsDeleted
();
7784
7786
static
const
std::int32_t
ID
= -1944639903;
7787
7793
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7794
};
7795
7799
class
canSendMessageToUserResultUserRestrictsNewChats
final :
public
CanSendMessageToUserResult
{
7804
std::int32_t get_id()
const
final
{
7805
return
ID
;
7806
}
7807
7808
public
:
7809
7813
canSendMessageToUserResultUserRestrictsNewChats
();
7814
7816
static
const
std::int32_t
ID
= 1929699797;
7817
7823
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7824
};
7825
7830
class
CanTransferOwnershipResult
:
public
Object
{
7831
public
:
7832
};
7833
7837
class
canTransferOwnershipResultOk
final :
public
CanTransferOwnershipResult
{
7842
std::int32_t get_id()
const
final
{
7843
return
ID
;
7844
}
7845
7846
public
:
7847
7851
canTransferOwnershipResultOk
();
7852
7854
static
const
std::int32_t
ID
= -89881021;
7855
7861
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7862
};
7863
7867
class
canTransferOwnershipResultPasswordNeeded
final :
public
CanTransferOwnershipResult
{
7872
std::int32_t get_id()
const
final
{
7873
return
ID
;
7874
}
7875
7876
public
:
7877
7881
canTransferOwnershipResultPasswordNeeded
();
7882
7884
static
const
std::int32_t
ID
= 1548372703;
7885
7891
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7892
};
7893
7897
class
canTransferOwnershipResultPasswordTooFresh
final :
public
CanTransferOwnershipResult
{
7902
std::int32_t get_id()
const
final
{
7903
return
ID
;
7904
}
7905
7906
public
:
7908
int32
retry_after_
;
7909
7913
canTransferOwnershipResultPasswordTooFresh
();
7914
7920
explicit
canTransferOwnershipResultPasswordTooFresh
(
int32
retry_after_
);
7921
7923
static
const
std::int32_t
ID
= 811440913;
7924
7930
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7931
};
7932
7936
class
canTransferOwnershipResultSessionTooFresh
final :
public
CanTransferOwnershipResult
{
7941
std::int32_t get_id()
const
final
{
7942
return
ID
;
7943
}
7944
7945
public
:
7947
int32
retry_after_
;
7948
7952
canTransferOwnershipResultSessionTooFresh
();
7953
7959
explicit
canTransferOwnershipResultSessionTooFresh
(
int32
retry_after_
);
7960
7962
static
const
std::int32_t
ID
= 984664289;
7963
7969
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7970
};
7971
7972
class
BlockList
;
7973
7974
class
ChatActionBar
;
7975
7976
class
ChatAvailableReactions
;
7977
7978
class
ChatList
;
7979
7980
class
ChatTheme
;
7981
7982
class
ChatType
;
7983
7984
class
MessageSender
;
7985
7986
class
businessBotManageBar
;
7987
7988
class
chatBackground
;
7989
7990
class
chatJoinRequestsInfo
;
7991
7992
class
chatNotificationSettings
;
7993
7994
class
chatPermissions
;
7995
7996
class
chatPhotoInfo
;
7997
7998
class
chatPosition
;
7999
8000
class
draftMessage
;
8001
8002
class
emojiStatus
;
8003
8004
class
message
;
8005
8006
class
videoChat
;
8007
8011
class
chat
final :
public
Object
{
8016
std::int32_t get_id()
const
final
{
8017
return
ID
;
8018
}
8019
8020
public
:
8022
int53
id_
;
8024
object_ptr<ChatType>
type_
;
8026
string
title_
;
8028
object_ptr<chatPhotoInfo>
photo_
;
8030
int32
accent_color_id_
;
8032
int64
background_custom_emoji_id_
;
8034
int32
profile_accent_color_id_
;
8036
int64
profile_background_custom_emoji_id_
;
8038
object_ptr<chatPermissions>
permissions_
;
8040
object_ptr<message>
last_message_
;
8042
array<object_ptr<chatPosition>
>
positions_
;
8044
array<object_ptr<ChatList>
>
chat_lists_
;
8046
object_ptr<MessageSender>
message_sender_id_
;
8048
object_ptr<BlockList>
block_list_
;
8050
bool
has_protected_content_
;
8052
bool
is_translatable_
;
8054
bool
is_marked_as_unread_
;
8056
bool
view_as_topics_
;
8058
bool
has_scheduled_messages_
;
8060
bool
can_be_deleted_only_for_self_
;
8062
bool
can_be_deleted_for_all_users_
;
8064
bool
can_be_reported_
;
8066
bool
default_disable_notification_
;
8068
int32
unread_count_
;
8070
int53
last_read_inbox_message_id_
;
8072
int53
last_read_outbox_message_id_
;
8074
int32
unread_mention_count_
;
8076
int32
unread_reaction_count_
;
8078
object_ptr<chatNotificationSettings>
notification_settings_
;
8080
object_ptr<ChatAvailableReactions>
available_reactions_
;
8082
int32
message_auto_delete_time_
;
8084
object_ptr<emojiStatus>
emoji_status_
;
8086
object_ptr<chatBackground>
background_
;
8088
object_ptr<ChatTheme>
theme_
;
8090
object_ptr<ChatActionBar>
action_bar_
;
8092
object_ptr<businessBotManageBar>
business_bot_manage_bar_
;
8094
object_ptr<videoChat>
video_chat_
;
8096
object_ptr<chatJoinRequestsInfo>
pending_join_requests_
;
8098
int53
reply_markup_message_id_
;
8100
object_ptr<draftMessage>
draft_message_
;
8102
string
client_data_
;
8103
8107
chat
();
8108
8154
chat
(
int53
id_
,
object_ptr<ChatType>
&&
type_
,
string
const
&
title_
,
object_ptr<chatPhotoInfo>
&&
photo_
,
int32
accent_color_id_
,
int64
background_custom_emoji_id_
,
int32
profile_accent_color_id_
,
int64
profile_background_custom_emoji_id_
,
object_ptr<chatPermissions>
&&
permissions_
,
object_ptr<message>
&&
last_message_
,
array
<
object_ptr<chatPosition>
> &&
positions_
,
array
<
object_ptr<ChatList>
> &&
chat_lists_
,
object_ptr<MessageSender>
&&
message_sender_id_
,
object_ptr<BlockList>
&&
block_list_
,
bool
has_protected_content_
,
bool
is_translatable_
,
bool
is_marked_as_unread_
,
bool
view_as_topics_
,
bool
has_scheduled_messages_
,
bool
can_be_deleted_only_for_self_
,
bool
can_be_deleted_for_all_users_
,
bool
can_be_reported_
,
bool
default_disable_notification_
,
int32
unread_count_
,
int53
last_read_inbox_message_id_
,
int53
last_read_outbox_message_id_
,
int32
unread_mention_count_
,
int32
unread_reaction_count_
,
object_ptr<chatNotificationSettings>
&&
notification_settings_
,
object_ptr<ChatAvailableReactions>
&&
available_reactions_
,
int32
message_auto_delete_time_
,
object_ptr<emojiStatus>
&&
emoji_status_
,
object_ptr<chatBackground>
&&
background_
,
object_ptr<ChatTheme>
&&
theme_
,
object_ptr<ChatActionBar>
&&
action_bar_
,
object_ptr<businessBotManageBar>
&&
business_bot_manage_bar_
,
object_ptr<videoChat>
&&
video_chat_
,
object_ptr<chatJoinRequestsInfo>
&&
pending_join_requests_
,
int53
reply_markup_message_id_
,
object_ptr<draftMessage>
&&
draft_message_
,
string
const
&
client_data_
);
8155
8157
static
const
std::int32_t
ID
= 1889386973;
8158
8164
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8165
};
8166
8171
class
ChatAction
:
public
Object
{
8172
public
:
8173
};
8174
8178
class
chatActionTyping
final :
public
ChatAction
{
8183
std::int32_t get_id()
const
final
{
8184
return
ID
;
8185
}
8186
8187
public
:
8188
8192
chatActionTyping
();
8193
8195
static
const
std::int32_t
ID
= 380122167;
8196
8202
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8203
};
8204
8208
class
chatActionRecordingVideo
final :
public
ChatAction
{
8213
std::int32_t get_id()
const
final
{
8214
return
ID
;
8215
}
8216
8217
public
:
8218
8222
chatActionRecordingVideo
();
8223
8225
static
const
std::int32_t
ID
= 216553362;
8226
8232
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8233
};
8234
8238
class
chatActionUploadingVideo
final :
public
ChatAction
{
8243
std::int32_t get_id()
const
final
{
8244
return
ID
;
8245
}
8246
8247
public
:
8249
int32
progress_
;
8250
8254
chatActionUploadingVideo
();
8255
8261
explicit
chatActionUploadingVideo
(
int32
progress_
);
8262
8264
static
const
std::int32_t
ID
= 1234185270;
8265
8271
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8272
};
8273
8277
class
chatActionRecordingVoiceNote
final :
public
ChatAction
{
8282
std::int32_t get_id()
const
final
{
8283
return
ID
;
8284
}
8285
8286
public
:
8287
8291
chatActionRecordingVoiceNote
();
8292
8294
static
const
std::int32_t
ID
= -808850058;
8295
8301
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8302
};
8303
8307
class
chatActionUploadingVoiceNote
final :
public
ChatAction
{
8312
std::int32_t get_id()
const
final
{
8313
return
ID
;
8314
}
8315
8316
public
:
8318
int32
progress_
;
8319
8323
chatActionUploadingVoiceNote
();
8324
8330
explicit
chatActionUploadingVoiceNote
(
int32
progress_
);
8331
8333
static
const
std::int32_t
ID
= -613643666;
8334
8340
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8341
};
8342
8346
class
chatActionUploadingPhoto
final :
public
ChatAction
{
8351
std::int32_t get_id()
const
final
{
8352
return
ID
;
8353
}
8354
8355
public
:
8357
int32
progress_
;
8358
8362
chatActionUploadingPhoto
();
8363
8369
explicit
chatActionUploadingPhoto
(
int32
progress_
);
8370
8372
static
const
std::int32_t
ID
= 654240583;
8373
8379
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8380
};
8381
8385
class
chatActionUploadingDocument
final :
public
ChatAction
{
8390
std::int32_t get_id()
const
final
{
8391
return
ID
;
8392
}
8393
8394
public
:
8396
int32
progress_
;
8397
8401
chatActionUploadingDocument
();
8402
8408
explicit
chatActionUploadingDocument
(
int32
progress_
);
8409
8411
static
const
std::int32_t
ID
= 167884362;
8412
8418
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8419
};
8420
8424
class
chatActionChoosingSticker
final :
public
ChatAction
{
8429
std::int32_t get_id()
const
final
{
8430
return
ID
;
8431
}
8432
8433
public
:
8434
8438
chatActionChoosingSticker
();
8439
8441
static
const
std::int32_t
ID
= 372753697;
8442
8448
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8449
};
8450
8454
class
chatActionChoosingLocation
final :
public
ChatAction
{
8459
std::int32_t get_id()
const
final
{
8460
return
ID
;
8461
}
8462
8463
public
:
8464
8468
chatActionChoosingLocation
();
8469
8471
static
const
std::int32_t
ID
= -2017893596;
8472
8478
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8479
};
8480
8484
class
chatActionChoosingContact
final :
public
ChatAction
{
8489
std::int32_t get_id()
const
final
{
8490
return
ID
;
8491
}
8492
8493
public
:
8494
8498
chatActionChoosingContact
();
8499
8501
static
const
std::int32_t
ID
= -1222507496;
8502
8508
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8509
};
8510
8514
class
chatActionStartPlayingGame
final :
public
ChatAction
{
8519
std::int32_t get_id()
const
final
{
8520
return
ID
;
8521
}
8522
8523
public
:
8524
8528
chatActionStartPlayingGame
();
8529
8531
static
const
std::int32_t
ID
= -865884164;
8532
8538
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8539
};
8540
8544
class
chatActionRecordingVideoNote
final :
public
ChatAction
{
8549
std::int32_t get_id()
const
final
{
8550
return
ID
;
8551
}
8552
8553
public
:
8554
8558
chatActionRecordingVideoNote
();
8559
8561
static
const
std::int32_t
ID
= 16523393;
8562
8568
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8569
};
8570
8574
class
chatActionUploadingVideoNote
final :
public
ChatAction
{
8579
std::int32_t get_id()
const
final
{
8580
return
ID
;
8581
}
8582
8583
public
:
8585
int32
progress_
;
8586
8590
chatActionUploadingVideoNote
();
8591
8597
explicit
chatActionUploadingVideoNote
(
int32
progress_
);
8598
8600
static
const
std::int32_t
ID
= 1172364918;
8601
8607
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8608
};
8609
8613
class
chatActionWatchingAnimations
final :
public
ChatAction
{
8618
std::int32_t get_id()
const
final
{
8619
return
ID
;
8620
}
8621
8622
public
:
8624
string
emoji_
;
8625
8629
chatActionWatchingAnimations
();
8630
8636
explicit
chatActionWatchingAnimations
(
string
const
&
emoji_
);
8637
8639
static
const
std::int32_t
ID
= 2052990641;
8640
8646
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8647
};
8648
8652
class
chatActionCancel
final :
public
ChatAction
{
8657
std::int32_t get_id()
const
final
{
8658
return
ID
;
8659
}
8660
8661
public
:
8662
8666
chatActionCancel
();
8667
8669
static
const
std::int32_t
ID
= 1160523958;
8670
8676
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8677
};
8678
8679
class
accountInfo
;
8680
8685
class
ChatActionBar
:
public
Object
{
8686
public
:
8687
};
8688
8692
class
chatActionBarReportSpam
final :
public
ChatActionBar
{
8697
std::int32_t get_id()
const
final
{
8698
return
ID
;
8699
}
8700
8701
public
:
8703
bool
can_unarchive_
;
8704
8708
chatActionBarReportSpam
();
8709
8715
explicit
chatActionBarReportSpam
(
bool
can_unarchive_
);
8716
8718
static
const
std::int32_t
ID
= -1312758246;
8719
8725
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8726
};
8727
8731
class
chatActionBarInviteMembers
final :
public
ChatActionBar
{
8736
std::int32_t get_id()
const
final
{
8737
return
ID
;
8738
}
8739
8740
public
:
8741
8745
chatActionBarInviteMembers
();
8746
8748
static
const
std::int32_t
ID
= 1985313904;
8749
8755
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8756
};
8757
8761
class
chatActionBarReportAddBlock
final :
public
ChatActionBar
{
8766
std::int32_t get_id()
const
final
{
8767
return
ID
;
8768
}
8769
8770
public
:
8772
bool
can_unarchive_
;
8774
object_ptr<accountInfo>
account_info_
;
8775
8779
chatActionBarReportAddBlock
();
8780
8787
chatActionBarReportAddBlock
(
bool
can_unarchive_
,
object_ptr<accountInfo>
&&
account_info_
);
8788
8790
static
const
std::int32_t
ID
= -1476817269;
8791
8797
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8798
};
8799
8803
class
chatActionBarAddContact
final :
public
ChatActionBar
{
8808
std::int32_t get_id()
const
final
{
8809
return
ID
;
8810
}
8811
8812
public
:
8813
8817
chatActionBarAddContact
();
8818
8820
static
const
std::int32_t
ID
= -733325295;
8821
8827
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8828
};
8829
8833
class
chatActionBarSharePhoneNumber
final :
public
ChatActionBar
{
8838
std::int32_t get_id()
const
final
{
8839
return
ID
;
8840
}
8841
8842
public
:
8843
8847
chatActionBarSharePhoneNumber
();
8848
8850
static
const
std::int32_t
ID
= 35188697;
8851
8857
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8858
};
8859
8863
class
chatActionBarJoinRequest
final :
public
ChatActionBar
{
8868
std::int32_t get_id()
const
final
{
8869
return
ID
;
8870
}
8871
8872
public
:
8874
string
title_
;
8876
bool
is_channel_
;
8878
int32
request_date_
;
8879
8883
chatActionBarJoinRequest
();
8884
8892
chatActionBarJoinRequest
(
string
const
&
title_
,
bool
is_channel_
,
int32
request_date_
);
8893
8895
static
const
std::int32_t
ID
= 1037140744;
8896
8902
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8903
};
8904
8905
class
StoryList
;
8906
8907
class
storyInfo
;
8908
8912
class
chatActiveStories
final :
public
Object
{
8917
std::int32_t get_id()
const
final
{
8918
return
ID
;
8919
}
8920
8921
public
:
8923
int53
chat_id_
;
8925
object_ptr<StoryList>
list_
;
8927
int53
order_
;
8929
bool
can_be_archived_
;
8931
int32
max_read_story_id_
;
8933
array<object_ptr<storyInfo>
>
stories_
;
8934
8938
chatActiveStories
();
8939
8950
chatActiveStories
(
int53
chat_id_
,
object_ptr<StoryList>
&&
list_
,
int53
order_
,
bool
can_be_archived_
,
int32
max_read_story_id_
,
array
<
object_ptr<storyInfo>
> &&
stories_
);
8951
8953
static
const
std::int32_t
ID
= 396502772;
8954
8960
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8961
};
8962
8966
class
chatAdministrator
final :
public
Object
{
8971
std::int32_t get_id()
const
final
{
8972
return
ID
;
8973
}
8974
8975
public
:
8977
int53
user_id_
;
8979
string
custom_title_
;
8981
bool
is_owner_
;
8982
8986
chatAdministrator
();
8987
8995
chatAdministrator
(
int53
user_id_
,
string
const
&
custom_title_
,
bool
is_owner_
);
8996
8998
static
const
std::int32_t
ID
= 1920449836;
8999
9005
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9006
};
9007
9011
class
chatAdministratorRights
final :
public
Object
{
9016
std::int32_t get_id()
const
final
{
9017
return
ID
;
9018
}
9019
9020
public
:
9022
bool
can_manage_chat_
;
9024
bool
can_change_info_
;
9026
bool
can_post_messages_
;
9028
bool
can_edit_messages_
;
9030
bool
can_delete_messages_
;
9032
bool
can_invite_users_
;
9034
bool
can_restrict_members_
;
9036
bool
can_pin_messages_
;
9038
bool
can_manage_topics_
;
9040
bool
can_promote_members_
;
9042
bool
can_manage_video_chats_
;
9044
bool
can_post_stories_
;
9046
bool
can_edit_stories_
;
9048
bool
can_delete_stories_
;
9050
bool
can_manage_direct_messages_
;
9052
bool
is_anonymous_
;
9053
9057
chatAdministratorRights
();
9058
9079
chatAdministratorRights
(
bool
can_manage_chat_
,
bool
can_change_info_
,
bool
can_post_messages_
,
bool
can_edit_messages_
,
bool
can_delete_messages_
,
bool
can_invite_users_
,
bool
can_restrict_members_
,
bool
can_pin_messages_
,
bool
can_manage_topics_
,
bool
can_promote_members_
,
bool
can_manage_video_chats_
,
bool
can_post_stories_
,
bool
can_edit_stories_
,
bool
can_delete_stories_
,
bool
can_manage_direct_messages_
,
bool
is_anonymous_
);
9080
9082
static
const
std::int32_t
ID
= -1142880374;
9083
9089
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9090
};
9091
9092
class
chatAdministrator
;
9093
9097
class
chatAdministrators
final :
public
Object
{
9102
std::int32_t get_id()
const
final
{
9103
return
ID
;
9104
}
9105
9106
public
:
9108
array<object_ptr<chatAdministrator>
>
administrators_
;
9109
9113
chatAdministrators
();
9114
9120
explicit
chatAdministrators
(
array
<
object_ptr<chatAdministrator>
> &&
administrators_
);
9121
9123
static
const
std::int32_t
ID
= -2126186435;
9124
9130
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9131
};
9132
9133
class
ReactionType
;
9134
9139
class
ChatAvailableReactions
:
public
Object
{
9140
public
:
9141
};
9142
9146
class
chatAvailableReactionsAll
final :
public
ChatAvailableReactions
{
9151
std::int32_t get_id()
const
final
{
9152
return
ID
;
9153
}
9154
9155
public
:
9157
int32
max_reaction_count_
;
9158
9162
chatAvailableReactionsAll
();
9163
9169
explicit
chatAvailableReactionsAll
(
int32
max_reaction_count_
);
9170
9172
static
const
std::int32_t
ID
= 694160279;
9173
9179
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9180
};
9181
9185
class
chatAvailableReactionsSome
final :
public
ChatAvailableReactions
{
9190
std::int32_t get_id()
const
final
{
9191
return
ID
;
9192
}
9193
9194
public
:
9196
array<object_ptr<ReactionType>
>
reactions_
;
9198
int32
max_reaction_count_
;
9199
9203
chatAvailableReactionsSome
();
9204
9211
chatAvailableReactionsSome
(
array
<
object_ptr<ReactionType>
> &&
reactions_
,
int32
max_reaction_count_
);
9212
9214
static
const
std::int32_t
ID
= 152513153;
9215
9221
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9222
};
9223
9224
class
background
;
9225
9229
class
chatBackground
final :
public
Object
{
9234
std::int32_t get_id()
const
final
{
9235
return
ID
;
9236
}
9237
9238
public
:
9240
object_ptr<background>
background_
;
9242
int32
dark_theme_dimming_
;
9243
9247
chatBackground
();
9248
9255
chatBackground
(
object_ptr<background>
&&
background_
,
int32
dark_theme_dimming_
);
9256
9258
static
const
std::int32_t
ID
= 1653152104;
9259
9265
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9266
};
9267
9268
class
ChatBoostSource
;
9269
9273
class
chatBoost
final :
public
Object
{
9278
std::int32_t get_id()
const
final
{
9279
return
ID
;
9280
}
9281
9282
public
:
9284
string
id_
;
9286
int32
count_
;
9288
object_ptr<ChatBoostSource>
source_
;
9290
int32
start_date_
;
9292
int32
expiration_date_
;
9293
9297
chatBoost
();
9298
9308
chatBoost
(
string
const
&
id_
,
int32
count_
,
object_ptr<ChatBoostSource>
&&
source_
,
int32
start_date_
,
int32
expiration_date_
);
9309
9311
static
const
std::int32_t
ID
= -1765815118;
9312
9318
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9319
};
9320
9321
class
chatBoostLevelFeatures
;
9322
9326
class
chatBoostFeatures
final :
public
Object
{
9331
std::int32_t get_id()
const
final
{
9332
return
ID
;
9333
}
9334
9335
public
:
9337
array<object_ptr<chatBoostLevelFeatures>
>
features_
;
9339
int32
min_profile_background_custom_emoji_boost_level_
;
9341
int32
min_background_custom_emoji_boost_level_
;
9343
int32
min_emoji_status_boost_level_
;
9345
int32
min_chat_theme_background_boost_level_
;
9347
int32
min_custom_background_boost_level_
;
9349
int32
min_custom_emoji_sticker_set_boost_level_
;
9351
int32
min_automatic_translation_boost_level_
;
9353
int32
min_speech_recognition_boost_level_
;
9355
int32
min_sponsored_message_disable_boost_level_
;
9356
9360
chatBoostFeatures
();
9361
9376
chatBoostFeatures
(
array
<
object_ptr<chatBoostLevelFeatures>
> &&
features_
,
int32
min_profile_background_custom_emoji_boost_level_
,
int32
min_background_custom_emoji_boost_level_
,
int32
min_emoji_status_boost_level_
,
int32
min_chat_theme_background_boost_level_
,
int32
min_custom_background_boost_level_
,
int32
min_custom_emoji_sticker_set_boost_level_
,
int32
min_automatic_translation_boost_level_
,
int32
min_speech_recognition_boost_level_
,
int32
min_sponsored_message_disable_boost_level_
);
9377
9379
static
const
std::int32_t
ID
= -940531367;
9380
9386
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9387
};
9388
9392
class
chatBoostLevelFeatures
final :
public
Object
{
9397
std::int32_t get_id()
const
final
{
9398
return
ID
;
9399
}
9400
9401
public
:
9403
int32
level_
;
9405
int32
story_per_day_count_
;
9407
int32
custom_emoji_reaction_count_
;
9409
int32
title_color_count_
;
9411
int32
profile_accent_color_count_
;
9413
bool
can_set_profile_background_custom_emoji_
;
9415
int32
accent_color_count_
;
9417
bool
can_set_background_custom_emoji_
;
9419
bool
can_set_emoji_status_
;
9421
int32
chat_theme_background_count_
;
9423
bool
can_set_custom_background_
;
9425
bool
can_set_custom_emoji_sticker_set_
;
9427
bool
can_enable_automatic_translation_
;
9429
bool
can_recognize_speech_
;
9431
bool
can_disable_sponsored_messages_
;
9432
9436
chatBoostLevelFeatures
();
9437
9457
chatBoostLevelFeatures
(
int32
level_
,
int32
story_per_day_count_
,
int32
custom_emoji_reaction_count_
,
int32
title_color_count_
,
int32
profile_accent_color_count_
,
bool
can_set_profile_background_custom_emoji_
,
int32
accent_color_count_
,
bool
can_set_background_custom_emoji_
,
bool
can_set_emoji_status_
,
int32
chat_theme_background_count_
,
bool
can_set_custom_background_
,
bool
can_set_custom_emoji_sticker_set_
,
bool
can_enable_automatic_translation_
,
bool
can_recognize_speech_
,
bool
can_disable_sponsored_messages_
);
9458
9460
static
const
std::int32_t
ID
= 975439470;
9461
9467
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9468
};
9469
9473
class
chatBoostLink
final :
public
Object
{
9478
std::int32_t get_id()
const
final
{
9479
return
ID
;
9480
}
9481
9482
public
:
9484
string
link_
;
9486
bool
is_public_
;
9487
9491
chatBoostLink
();
9492
9499
chatBoostLink
(
string
const
&
link_
,
bool
is_public_
);
9500
9502
static
const
std::int32_t
ID
= -1253999503;
9503
9509
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9510
};
9511
9515
class
chatBoostLinkInfo
final :
public
Object
{
9520
std::int32_t get_id()
const
final
{
9521
return
ID
;
9522
}
9523
9524
public
:
9526
bool
is_public_
;
9528
int53
chat_id_
;
9529
9533
chatBoostLinkInfo
();
9534
9541
chatBoostLinkInfo
(
bool
is_public_
,
int53
chat_id_
);
9542
9544
static
const
std::int32_t
ID
= -602785660;
9545
9551
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9552
};
9553
9557
class
chatBoostSlot
final :
public
Object
{
9562
std::int32_t get_id()
const
final
{
9563
return
ID
;
9564
}
9565
9566
public
:
9568
int32
slot_id_
;
9570
int53
currently_boosted_chat_id_
;
9572
int32
start_date_
;
9574
int32
expiration_date_
;
9576
int32
cooldown_until_date_
;
9577
9581
chatBoostSlot
();
9582
9592
chatBoostSlot
(
int32
slot_id_
,
int53
currently_boosted_chat_id_
,
int32
start_date_
,
int32
expiration_date_
,
int32
cooldown_until_date_
);
9593
9595
static
const
std::int32_t
ID
= 123206343;
9596
9602
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9603
};
9604
9605
class
chatBoostSlot
;
9606
9610
class
chatBoostSlots
final :
public
Object
{
9615
std::int32_t get_id()
const
final
{
9616
return
ID
;
9617
}
9618
9619
public
:
9621
array<object_ptr<chatBoostSlot>
>
slots_
;
9622
9626
chatBoostSlots
();
9627
9633
explicit
chatBoostSlots
(
array
<
object_ptr<chatBoostSlot>
> &&
slots_
);
9634
9636
static
const
std::int32_t
ID
= 1014966293;
9637
9643
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9644
};
9645
9650
class
ChatBoostSource
:
public
Object
{
9651
public
:
9652
};
9653
9657
class
chatBoostSourceGiftCode
final :
public
ChatBoostSource
{
9662
std::int32_t get_id()
const
final
{
9663
return
ID
;
9664
}
9665
9666
public
:
9668
int53
user_id_
;
9670
string
gift_code_
;
9671
9675
chatBoostSourceGiftCode
();
9676
9683
chatBoostSourceGiftCode
(
int53
user_id_
,
string
const
&
gift_code_
);
9684
9686
static
const
std::int32_t
ID
= -98299206;
9687
9693
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9694
};
9695
9699
class
chatBoostSourceGiveaway
final :
public
ChatBoostSource
{
9704
std::int32_t get_id()
const
final
{
9705
return
ID
;
9706
}
9707
9708
public
:
9710
int53
user_id_
;
9712
string
gift_code_
;
9714
int53
star_count_
;
9716
int53
giveaway_message_id_
;
9718
bool
is_unclaimed_
;
9719
9723
chatBoostSourceGiveaway
();
9724
9734
chatBoostSourceGiveaway
(
int53
user_id_
,
string
const
&
gift_code_
,
int53
star_count_
,
int53
giveaway_message_id_
,
bool
is_unclaimed_
);
9735
9737
static
const
std::int32_t
ID
= 1918145690;
9738
9744
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9745
};
9746
9750
class
chatBoostSourcePremium
final :
public
ChatBoostSource
{
9755
std::int32_t get_id()
const
final
{
9756
return
ID
;
9757
}
9758
9759
public
:
9761
int53
user_id_
;
9762
9766
chatBoostSourcePremium
();
9767
9773
explicit
chatBoostSourcePremium
(
int53
user_id_
);
9774
9776
static
const
std::int32_t
ID
= 972011;
9777
9783
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9784
};
9785
9786
class
prepaidGiveaway
;
9787
9791
class
chatBoostStatus
final :
public
Object
{
9796
std::int32_t get_id()
const
final
{
9797
return
ID
;
9798
}
9799
9800
public
:
9802
string
boost_url_
;
9804
array<int32>
applied_slot_ids_
;
9806
int32
level_
;
9808
int32
gift_code_boost_count_
;
9810
int32
boost_count_
;
9812
int32
current_level_boost_count_
;
9814
int32
next_level_boost_count_
;
9816
int32
premium_member_count_
;
9818
double
premium_member_percentage_
;
9820
array<object_ptr<prepaidGiveaway>
>
prepaid_giveaways_
;
9821
9825
chatBoostStatus
();
9826
9841
chatBoostStatus
(
string
const
&
boost_url_
,
array<int32>
&&
applied_slot_ids_
,
int32
level_
,
int32
gift_code_boost_count_
,
int32
boost_count_
,
int32
current_level_boost_count_
,
int32
next_level_boost_count_
,
int32
premium_member_count_
,
double
premium_member_percentage_
,
array
<
object_ptr<prepaidGiveaway>
> &&
prepaid_giveaways_
);
9842
9844
static
const
std::int32_t
ID
= -1050332618;
9845
9851
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9852
};
9853
9854
class
ChatEventAction
;
9855
9856
class
MessageSender
;
9857
9861
class
chatEvent
final :
public
Object
{
9866
std::int32_t get_id()
const
final
{
9867
return
ID
;
9868
}
9869
9870
public
:
9872
int64
id_
;
9874
int32
date_
;
9876
object_ptr<MessageSender>
member_id_
;
9878
object_ptr<ChatEventAction>
action_
;
9879
9883
chatEvent
();
9884
9893
chatEvent
(
int64
id_
,
int32
date_
,
object_ptr<MessageSender>
&&
member_id_
,
object_ptr<ChatEventAction>
&&
action_
);
9894
9896
static
const
std::int32_t
ID
= -652102704;
9897
9903
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9904
};
9905
9906
class
ChatAvailableReactions
;
9907
9908
class
ChatMemberStatus
;
9909
9910
class
MessageSender
;
9911
9912
class
chatBackground
;
9913
9914
class
chatInviteLink
;
9915
9916
class
chatLocation
;
9917
9918
class
chatPermissions
;
9919
9920
class
chatPhoto
;
9921
9922
class
emojiStatus
;
9923
9924
class
forumTopicInfo
;
9925
9926
class
message
;
9927
9932
class
ChatEventAction
:
public
Object
{
9933
public
:
9934
};
9935
9939
class
chatEventMessageEdited
final :
public
ChatEventAction
{
9944
std::int32_t get_id()
const
final
{
9945
return
ID
;
9946
}
9947
9948
public
:
9950
object_ptr<message>
old_message_
;
9952
object_ptr<message>
new_message_
;
9953
9957
chatEventMessageEdited
();
9958
9965
chatEventMessageEdited
(
object_ptr<message>
&&
old_message_
,
object_ptr<message>
&&
new_message_
);
9966
9968
static
const
std::int32_t
ID
= -430967304;
9969
9975
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9976
};
9977
9981
class
chatEventMessageDeleted
final :
public
ChatEventAction
{
9986
std::int32_t get_id()
const
final
{
9987
return
ID
;
9988
}
9989
9990
public
:
9992
object_ptr<message>
message_
;
9994
bool
can_report_anti_spam_false_positive_
;
9995
9999
chatEventMessageDeleted
();
10000
10007
chatEventMessageDeleted
(
object_ptr<message>
&&
message_
,
bool
can_report_anti_spam_false_positive_
);
10008
10010
static
const
std::int32_t
ID
= 935316851;
10011
10017
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10018
};
10019
10023
class
chatEventMessagePinned
final :
public
ChatEventAction
{
10028
std::int32_t get_id()
const
final
{
10029
return
ID
;
10030
}
10031
10032
public
:
10034
object_ptr<message>
message_
;
10035
10039
chatEventMessagePinned
();
10040
10046
explicit
chatEventMessagePinned
(
object_ptr<message>
&&
message_
);
10047
10049
static
const
std::int32_t
ID
= 438742298;
10050
10056
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10057
};
10058
10062
class
chatEventMessageUnpinned
final :
public
ChatEventAction
{
10067
std::int32_t get_id()
const
final
{
10068
return
ID
;
10069
}
10070
10071
public
:
10073
object_ptr<message>
message_
;
10074
10078
chatEventMessageUnpinned
();
10079
10085
explicit
chatEventMessageUnpinned
(
object_ptr<message>
&&
message_
);
10086
10088
static
const
std::int32_t
ID
= -376161513;
10089
10095
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10096
};
10097
10101
class
chatEventPollStopped
final :
public
ChatEventAction
{
10106
std::int32_t get_id()
const
final
{
10107
return
ID
;
10108
}
10109
10110
public
:
10112
object_ptr<message>
message_
;
10113
10117
chatEventPollStopped
();
10118
10124
explicit
chatEventPollStopped
(
object_ptr<message>
&&
message_
);
10125
10127
static
const
std::int32_t
ID
= 2009893861;
10128
10134
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10135
};
10136
10140
class
chatEventMemberJoined
final :
public
ChatEventAction
{
10145
std::int32_t get_id()
const
final
{
10146
return
ID
;
10147
}
10148
10149
public
:
10150
10154
chatEventMemberJoined
();
10155
10157
static
const
std::int32_t
ID
= -235468508;
10158
10164
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10165
};
10166
10170
class
chatEventMemberJoinedByInviteLink
final :
public
ChatEventAction
{
10175
std::int32_t get_id()
const
final
{
10176
return
ID
;
10177
}
10178
10179
public
:
10181
object_ptr<chatInviteLink>
invite_link_
;
10183
bool
via_chat_folder_invite_link_
;
10184
10188
chatEventMemberJoinedByInviteLink
();
10189
10196
chatEventMemberJoinedByInviteLink
(
object_ptr<chatInviteLink>
&&
invite_link_
,
bool
via_chat_folder_invite_link_
);
10197
10199
static
const
std::int32_t
ID
= -1445536390;
10200
10206
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10207
};
10208
10212
class
chatEventMemberJoinedByRequest
final :
public
ChatEventAction
{
10217
std::int32_t get_id()
const
final
{
10218
return
ID
;
10219
}
10220
10221
public
:
10223
int53
approver_user_id_
;
10225
object_ptr<chatInviteLink>
invite_link_
;
10226
10230
chatEventMemberJoinedByRequest
();
10231
10238
chatEventMemberJoinedByRequest
(
int53
approver_user_id_
,
object_ptr<chatInviteLink>
&&
invite_link_
);
10239
10241
static
const
std::int32_t
ID
= -1647804865;
10242
10248
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10249
};
10250
10254
class
chatEventMemberInvited
final :
public
ChatEventAction
{
10259
std::int32_t get_id()
const
final
{
10260
return
ID
;
10261
}
10262
10263
public
:
10265
int53
user_id_
;
10267
object_ptr<ChatMemberStatus>
status_
;
10268
10272
chatEventMemberInvited
();
10273
10280
chatEventMemberInvited
(
int53
user_id_
,
object_ptr<ChatMemberStatus>
&&
status_
);
10281
10283
static
const
std::int32_t
ID
= 953663433;
10284
10290
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10291
};
10292
10296
class
chatEventMemberLeft
final :
public
ChatEventAction
{
10301
std::int32_t get_id()
const
final
{
10302
return
ID
;
10303
}
10304
10305
public
:
10306
10310
chatEventMemberLeft
();
10311
10313
static
const
std::int32_t
ID
= -948420593;
10314
10320
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10321
};
10322
10326
class
chatEventMemberPromoted
final :
public
ChatEventAction
{
10331
std::int32_t get_id()
const
final
{
10332
return
ID
;
10333
}
10334
10335
public
:
10337
int53
user_id_
;
10339
object_ptr<ChatMemberStatus>
old_status_
;
10341
object_ptr<ChatMemberStatus>
new_status_
;
10342
10346
chatEventMemberPromoted
();
10347
10355
chatEventMemberPromoted
(
int53
user_id_
,
object_ptr<ChatMemberStatus>
&&
old_status_
,
object_ptr<ChatMemberStatus>
&&
new_status_
);
10356
10358
static
const
std::int32_t
ID
= 525297761;
10359
10365
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10366
};
10367
10371
class
chatEventMemberRestricted
final :
public
ChatEventAction
{
10376
std::int32_t get_id()
const
final
{
10377
return
ID
;
10378
}
10379
10380
public
:
10382
object_ptr<MessageSender>
member_id_
;
10384
object_ptr<ChatMemberStatus>
old_status_
;
10386
object_ptr<ChatMemberStatus>
new_status_
;
10387
10391
chatEventMemberRestricted
();
10392
10400
chatEventMemberRestricted
(
object_ptr<MessageSender>
&&
member_id_
,
object_ptr<ChatMemberStatus>
&&
old_status_
,
object_ptr<ChatMemberStatus>
&&
new_status_
);
10401
10403
static
const
std::int32_t
ID
= 1603608069;
10404
10410
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10411
};
10412
10416
class
chatEventMemberSubscriptionExtended
final :
public
ChatEventAction
{
10421
std::int32_t get_id()
const
final
{
10422
return
ID
;
10423
}
10424
10425
public
:
10427
int53
user_id_
;
10429
object_ptr<ChatMemberStatus>
old_status_
;
10431
object_ptr<ChatMemberStatus>
new_status_
;
10432
10436
chatEventMemberSubscriptionExtended
();
10437
10445
chatEventMemberSubscriptionExtended
(
int53
user_id_
,
object_ptr<ChatMemberStatus>
&&
old_status_
,
object_ptr<ChatMemberStatus>
&&
new_status_
);
10446
10448
static
const
std::int32_t
ID
= -1141198846;
10449
10455
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10456
};
10457
10461
class
chatEventAvailableReactionsChanged
final :
public
ChatEventAction
{
10466
std::int32_t get_id()
const
final
{
10467
return
ID
;
10468
}
10469
10470
public
:
10472
object_ptr<ChatAvailableReactions>
old_available_reactions_
;
10474
object_ptr<ChatAvailableReactions>
new_available_reactions_
;
10475
10479
chatEventAvailableReactionsChanged
();
10480
10487
chatEventAvailableReactionsChanged
(
object_ptr<ChatAvailableReactions>
&&
old_available_reactions_
,
object_ptr<ChatAvailableReactions>
&&
new_available_reactions_
);
10488
10490
static
const
std::int32_t
ID
= -1749491521;
10491
10497
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10498
};
10499
10503
class
chatEventBackgroundChanged
final :
public
ChatEventAction
{
10508
std::int32_t get_id()
const
final
{
10509
return
ID
;
10510
}
10511
10512
public
:
10514
object_ptr<chatBackground>
old_background_
;
10516
object_ptr<chatBackground>
new_background_
;
10517
10521
chatEventBackgroundChanged
();
10522
10529
chatEventBackgroundChanged
(
object_ptr<chatBackground>
&&
old_background_
,
object_ptr<chatBackground>
&&
new_background_
);
10530
10532
static
const
std::int32_t
ID
= -1225953992;
10533
10539
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10540
};
10541
10545
class
chatEventDescriptionChanged
final :
public
ChatEventAction
{
10550
std::int32_t get_id()
const
final
{
10551
return
ID
;
10552
}
10553
10554
public
:
10556
string
old_description_
;
10558
string
new_description_
;
10559
10563
chatEventDescriptionChanged
();
10564
10571
chatEventDescriptionChanged
(
string
const
&
old_description_
,
string
const
&
new_description_
);
10572
10574
static
const
std::int32_t
ID
= 39112478;
10575
10581
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10582
};
10583
10587
class
chatEventEmojiStatusChanged
final :
public
ChatEventAction
{
10592
std::int32_t get_id()
const
final
{
10593
return
ID
;
10594
}
10595
10596
public
:
10598
object_ptr<emojiStatus>
old_emoji_status_
;
10600
object_ptr<emojiStatus>
new_emoji_status_
;
10601
10605
chatEventEmojiStatusChanged
();
10606
10613
chatEventEmojiStatusChanged
(
object_ptr<emojiStatus>
&&
old_emoji_status_
,
object_ptr<emojiStatus>
&&
new_emoji_status_
);
10614
10616
static
const
std::int32_t
ID
= -2081850594;
10617
10623
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10624
};
10625
10629
class
chatEventLinkedChatChanged
final :
public
ChatEventAction
{
10634
std::int32_t get_id()
const
final
{
10635
return
ID
;
10636
}
10637
10638
public
:
10640
int53
old_linked_chat_id_
;
10642
int53
new_linked_chat_id_
;
10643
10647
chatEventLinkedChatChanged
();
10648
10655
chatEventLinkedChatChanged
(
int53
old_linked_chat_id_
,
int53
new_linked_chat_id_
);
10656
10658
static
const
std::int32_t
ID
= 1797419439;
10659
10665
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10666
};
10667
10671
class
chatEventLocationChanged
final :
public
ChatEventAction
{
10676
std::int32_t get_id()
const
final
{
10677
return
ID
;
10678
}
10679
10680
public
:
10682
object_ptr<chatLocation>
old_location_
;
10684
object_ptr<chatLocation>
new_location_
;
10685
10689
chatEventLocationChanged
();
10690
10697
chatEventLocationChanged
(
object_ptr<chatLocation>
&&
old_location_
,
object_ptr<chatLocation>
&&
new_location_
);
10698
10700
static
const
std::int32_t
ID
= -405930674;
10701
10707
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10708
};
10709
10713
class
chatEventMessageAutoDeleteTimeChanged
final :
public
ChatEventAction
{
10718
std::int32_t get_id()
const
final
{
10719
return
ID
;
10720
}
10721
10722
public
:
10724
int32
old_message_auto_delete_time_
;
10726
int32
new_message_auto_delete_time_
;
10727
10731
chatEventMessageAutoDeleteTimeChanged
();
10732
10739
chatEventMessageAutoDeleteTimeChanged
(
int32
old_message_auto_delete_time_
,
int32
new_message_auto_delete_time_
);
10740
10742
static
const
std::int32_t
ID
= 17317668;
10743
10749
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10750
};
10751
10755
class
chatEventPermissionsChanged
final :
public
ChatEventAction
{
10760
std::int32_t get_id()
const
final
{
10761
return
ID
;
10762
}
10763
10764
public
:
10766
object_ptr<chatPermissions>
old_permissions_
;
10768
object_ptr<chatPermissions>
new_permissions_
;
10769
10773
chatEventPermissionsChanged
();
10774
10781
chatEventPermissionsChanged
(
object_ptr<chatPermissions>
&&
old_permissions_
,
object_ptr<chatPermissions>
&&
new_permissions_
);
10782
10784
static
const
std::int32_t
ID
= -1311557720;
10785
10791
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10792
};
10793
10797
class
chatEventPhotoChanged
final :
public
ChatEventAction
{
10802
std::int32_t get_id()
const
final
{
10803
return
ID
;
10804
}
10805
10806
public
:
10808
object_ptr<chatPhoto>
old_photo_
;
10810
object_ptr<chatPhoto>
new_photo_
;
10811
10815
chatEventPhotoChanged
();
10816
10823
chatEventPhotoChanged
(
object_ptr<chatPhoto>
&&
old_photo_
,
object_ptr<chatPhoto>
&&
new_photo_
);
10824
10826
static
const
std::int32_t
ID
= -811572541;
10827
10833
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10834
};
10835
10839
class
chatEventSlowModeDelayChanged
final :
public
ChatEventAction
{
10844
std::int32_t get_id()
const
final
{
10845
return
ID
;
10846
}
10847
10848
public
:
10850
int32
old_slow_mode_delay_
;
10852
int32
new_slow_mode_delay_
;
10853
10857
chatEventSlowModeDelayChanged
();
10858
10865
chatEventSlowModeDelayChanged
(
int32
old_slow_mode_delay_
,
int32
new_slow_mode_delay_
);
10866
10868
static
const
std::int32_t
ID
= -1653195765;
10869
10875
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10876
};
10877
10881
class
chatEventStickerSetChanged
final :
public
ChatEventAction
{
10886
std::int32_t get_id()
const
final
{
10887
return
ID
;
10888
}
10889
10890
public
:
10892
int64
old_sticker_set_id_
;
10894
int64
new_sticker_set_id_
;
10895
10899
chatEventStickerSetChanged
();
10900
10907
chatEventStickerSetChanged
(
int64
old_sticker_set_id_
,
int64
new_sticker_set_id_
);
10908
10910
static
const
std::int32_t
ID
= -1243130481;
10911
10917
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10918
};
10919
10923
class
chatEventCustomEmojiStickerSetChanged
final :
public
ChatEventAction
{
10928
std::int32_t get_id()
const
final
{
10929
return
ID
;
10930
}
10931
10932
public
:
10934
int64
old_sticker_set_id_
;
10936
int64
new_sticker_set_id_
;
10937
10941
chatEventCustomEmojiStickerSetChanged
();
10942
10949
chatEventCustomEmojiStickerSetChanged
(
int64
old_sticker_set_id_
,
int64
new_sticker_set_id_
);
10950
10952
static
const
std::int32_t
ID
= 118244123;
10953
10959
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10960
};
10961
10965
class
chatEventTitleChanged
final :
public
ChatEventAction
{
10970
std::int32_t get_id()
const
final
{
10971
return
ID
;
10972
}
10973
10974
public
:
10976
string
old_title_
;
10978
string
new_title_
;
10979
10983
chatEventTitleChanged
();
10984
10991
chatEventTitleChanged
(
string
const
&
old_title_
,
string
const
&
new_title_
);
10992
10994
static
const
std::int32_t
ID
= 1134103250;
10995
11001
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11002
};
11003
11007
class
chatEventUsernameChanged
final :
public
ChatEventAction
{
11012
std::int32_t get_id()
const
final
{
11013
return
ID
;
11014
}
11015
11016
public
:
11018
string
old_username_
;
11020
string
new_username_
;
11021
11025
chatEventUsernameChanged
();
11026
11033
chatEventUsernameChanged
(
string
const
&
old_username_
,
string
const
&
new_username_
);
11034
11036
static
const
std::int32_t
ID
= 1728558443;
11037
11043
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11044
};
11045
11049
class
chatEventActiveUsernamesChanged
final :
public
ChatEventAction
{
11054
std::int32_t get_id()
const
final
{
11055
return
ID
;
11056
}
11057
11058
public
:
11060
array<string>
old_usernames_
;
11062
array<string>
new_usernames_
;
11063
11067
chatEventActiveUsernamesChanged
();
11068
11075
chatEventActiveUsernamesChanged
(
array<string>
&&
old_usernames_
,
array<string>
&&
new_usernames_
);
11076
11078
static
const
std::int32_t
ID
= -1508790810;
11079
11085
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11086
};
11087
11091
class
chatEventAccentColorChanged
final :
public
ChatEventAction
{
11096
std::int32_t get_id()
const
final
{
11097
return
ID
;
11098
}
11099
11100
public
:
11102
int32
old_accent_color_id_
;
11104
int64
old_background_custom_emoji_id_
;
11106
int32
new_accent_color_id_
;
11108
int64
new_background_custom_emoji_id_
;
11109
11113
chatEventAccentColorChanged
();
11114
11123
chatEventAccentColorChanged
(
int32
old_accent_color_id_
,
int64
old_background_custom_emoji_id_
,
int32
new_accent_color_id_
,
int64
new_background_custom_emoji_id_
);
11124
11126
static
const
std::int32_t
ID
= -427591885;
11127
11133
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11134
};
11135
11139
class
chatEventProfileAccentColorChanged
final :
public
ChatEventAction
{
11144
std::int32_t get_id()
const
final
{
11145
return
ID
;
11146
}
11147
11148
public
:
11150
int32
old_profile_accent_color_id_
;
11152
int64
old_profile_background_custom_emoji_id_
;
11154
int32
new_profile_accent_color_id_
;
11156
int64
new_profile_background_custom_emoji_id_
;
11157
11161
chatEventProfileAccentColorChanged
();
11162
11171
chatEventProfileAccentColorChanged
(
int32
old_profile_accent_color_id_
,
int64
old_profile_background_custom_emoji_id_
,
int32
new_profile_accent_color_id_
,
int64
new_profile_background_custom_emoji_id_
);
11172
11174
static
const
std::int32_t
ID
= -1514612124;
11175
11181
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11182
};
11183
11187
class
chatEventHasProtectedContentToggled
final :
public
ChatEventAction
{
11192
std::int32_t get_id()
const
final
{
11193
return
ID
;
11194
}
11195
11196
public
:
11198
bool
has_protected_content_
;
11199
11203
chatEventHasProtectedContentToggled
();
11204
11210
explicit
chatEventHasProtectedContentToggled
(
bool
has_protected_content_
);
11211
11213
static
const
std::int32_t
ID
= -184270335;
11214
11220
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11221
};
11222
11226
class
chatEventInvitesToggled
final :
public
ChatEventAction
{
11231
std::int32_t get_id()
const
final
{
11232
return
ID
;
11233
}
11234
11235
public
:
11237
bool
can_invite_users_
;
11238
11242
chatEventInvitesToggled
();
11243
11249
explicit
chatEventInvitesToggled
(
bool
can_invite_users_
);
11250
11252
static
const
std::int32_t
ID
= -62548373;
11253
11259
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11260
};
11261
11265
class
chatEventIsAllHistoryAvailableToggled
final :
public
ChatEventAction
{
11270
std::int32_t get_id()
const
final
{
11271
return
ID
;
11272
}
11273
11274
public
:
11276
bool
is_all_history_available_
;
11277
11281
chatEventIsAllHistoryAvailableToggled
();
11282
11288
explicit
chatEventIsAllHistoryAvailableToggled
(
bool
is_all_history_available_
);
11289
11291
static
const
std::int32_t
ID
= -1599063019;
11292
11298
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11299
};
11300
11304
class
chatEventHasAggressiveAntiSpamEnabledToggled
final :
public
ChatEventAction
{
11309
std::int32_t get_id()
const
final
{
11310
return
ID
;
11311
}
11312
11313
public
:
11315
bool
has_aggressive_anti_spam_enabled_
;
11316
11320
chatEventHasAggressiveAntiSpamEnabledToggled
();
11321
11327
explicit
chatEventHasAggressiveAntiSpamEnabledToggled
(
bool
has_aggressive_anti_spam_enabled_
);
11328
11330
static
const
std::int32_t
ID
= -125348094;
11331
11337
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11338
};
11339
11343
class
chatEventSignMessagesToggled
final :
public
ChatEventAction
{
11348
std::int32_t get_id()
const
final
{
11349
return
ID
;
11350
}
11351
11352
public
:
11354
bool
sign_messages_
;
11355
11359
chatEventSignMessagesToggled
();
11360
11366
explicit
chatEventSignMessagesToggled
(
bool
sign_messages_
);
11367
11369
static
const
std::int32_t
ID
= -1313265634;
11370
11376
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11377
};
11378
11382
class
chatEventShowMessageSenderToggled
final :
public
ChatEventAction
{
11387
std::int32_t get_id()
const
final
{
11388
return
ID
;
11389
}
11390
11391
public
:
11393
bool
show_message_sender_
;
11394
11398
chatEventShowMessageSenderToggled
();
11399
11405
explicit
chatEventShowMessageSenderToggled
(
bool
show_message_sender_
);
11406
11408
static
const
std::int32_t
ID
= -794343453;
11409
11415
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11416
};
11417
11421
class
chatEventAutomaticTranslationToggled
final :
public
ChatEventAction
{
11426
std::int32_t get_id()
const
final
{
11427
return
ID
;
11428
}
11429
11430
public
:
11432
bool
has_automatic_translation_
;
11433
11437
chatEventAutomaticTranslationToggled
();
11438
11444
explicit
chatEventAutomaticTranslationToggled
(
bool
has_automatic_translation_
);
11445
11447
static
const
std::int32_t
ID
= 194147926;
11448
11454
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11455
};
11456
11460
class
chatEventInviteLinkEdited
final :
public
ChatEventAction
{
11465
std::int32_t get_id()
const
final
{
11466
return
ID
;
11467
}
11468
11469
public
:
11471
object_ptr<chatInviteLink>
old_invite_link_
;
11473
object_ptr<chatInviteLink>
new_invite_link_
;
11474
11478
chatEventInviteLinkEdited
();
11479
11486
chatEventInviteLinkEdited
(
object_ptr<chatInviteLink>
&&
old_invite_link_
,
object_ptr<chatInviteLink>
&&
new_invite_link_
);
11487
11489
static
const
std::int32_t
ID
= -460190366;
11490
11496
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11497
};
11498
11502
class
chatEventInviteLinkRevoked
final :
public
ChatEventAction
{
11507
std::int32_t get_id()
const
final
{
11508
return
ID
;
11509
}
11510
11511
public
:
11513
object_ptr<chatInviteLink>
invite_link_
;
11514
11518
chatEventInviteLinkRevoked
();
11519
11525
explicit
chatEventInviteLinkRevoked
(
object_ptr<chatInviteLink>
&&
invite_link_
);
11526
11528
static
const
std::int32_t
ID
= -1579417629;
11529
11535
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11536
};
11537
11541
class
chatEventInviteLinkDeleted
final :
public
ChatEventAction
{
11546
std::int32_t get_id()
const
final
{
11547
return
ID
;
11548
}
11549
11550
public
:
11552
object_ptr<chatInviteLink>
invite_link_
;
11553
11557
chatEventInviteLinkDeleted
();
11558
11564
explicit
chatEventInviteLinkDeleted
(
object_ptr<chatInviteLink>
&&
invite_link_
);
11565
11567
static
const
std::int32_t
ID
= -1394974361;
11568
11574
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11575
};
11576
11580
class
chatEventVideoChatCreated
final :
public
ChatEventAction
{
11585
std::int32_t get_id()
const
final
{
11586
return
ID
;
11587
}
11588
11589
public
:
11591
int32
group_call_id_
;
11592
11596
chatEventVideoChatCreated
();
11597
11603
explicit
chatEventVideoChatCreated
(
int32
group_call_id_
);
11604
11606
static
const
std::int32_t
ID
= 1822853755;
11607
11613
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11614
};
11615
11619
class
chatEventVideoChatEnded
final :
public
ChatEventAction
{
11624
std::int32_t get_id()
const
final
{
11625
return
ID
;
11626
}
11627
11628
public
:
11630
int32
group_call_id_
;
11631
11635
chatEventVideoChatEnded
();
11636
11642
explicit
chatEventVideoChatEnded
(
int32
group_call_id_
);
11643
11645
static
const
std::int32_t
ID
= 1630039112;
11646
11652
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11653
};
11654
11658
class
chatEventVideoChatMuteNewParticipantsToggled
final :
public
ChatEventAction
{
11663
std::int32_t get_id()
const
final
{
11664
return
ID
;
11665
}
11666
11667
public
:
11669
bool
mute_new_participants_
;
11670
11674
chatEventVideoChatMuteNewParticipantsToggled
();
11675
11681
explicit
chatEventVideoChatMuteNewParticipantsToggled
(
bool
mute_new_participants_
);
11682
11684
static
const
std::int32_t
ID
= -126547970;
11685
11691
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11692
};
11693
11697
class
chatEventVideoChatParticipantIsMutedToggled
final :
public
ChatEventAction
{
11702
std::int32_t get_id()
const
final
{
11703
return
ID
;
11704
}
11705
11706
public
:
11708
object_ptr<MessageSender>
participant_id_
;
11710
bool
is_muted_
;
11711
11715
chatEventVideoChatParticipantIsMutedToggled
();
11716
11723
chatEventVideoChatParticipantIsMutedToggled
(
object_ptr<MessageSender>
&&
participant_id_
,
bool
is_muted_
);
11724
11726
static
const
std::int32_t
ID
= 521165047;
11727
11733
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11734
};
11735
11739
class
chatEventVideoChatParticipantVolumeLevelChanged
final :
public
ChatEventAction
{
11744
std::int32_t get_id()
const
final
{
11745
return
ID
;
11746
}
11747
11748
public
:
11750
object_ptr<MessageSender>
participant_id_
;
11752
int32
volume_level_
;
11753
11757
chatEventVideoChatParticipantVolumeLevelChanged
();
11758
11765
chatEventVideoChatParticipantVolumeLevelChanged
(
object_ptr<MessageSender>
&&
participant_id_
,
int32
volume_level_
);
11766
11768
static
const
std::int32_t
ID
= 1131385534;
11769
11775
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11776
};
11777
11781
class
chatEventIsForumToggled
final :
public
ChatEventAction
{
11786
std::int32_t get_id()
const
final
{
11787
return
ID
;
11788
}
11789
11790
public
:
11792
bool
is_forum_
;
11793
11797
chatEventIsForumToggled
();
11798
11804
explicit
chatEventIsForumToggled
(
bool
is_forum_
);
11805
11807
static
const
std::int32_t
ID
= 1516491033;
11808
11814
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11815
};
11816
11820
class
chatEventForumTopicCreated
final :
public
ChatEventAction
{
11825
std::int32_t get_id()
const
final
{
11826
return
ID
;
11827
}
11828
11829
public
:
11831
object_ptr<forumTopicInfo>
topic_info_
;
11832
11836
chatEventForumTopicCreated
();
11837
11843
explicit
chatEventForumTopicCreated
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
11844
11846
static
const
std::int32_t
ID
= 2005269314;
11847
11853
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11854
};
11855
11859
class
chatEventForumTopicEdited
final :
public
ChatEventAction
{
11864
std::int32_t get_id()
const
final
{
11865
return
ID
;
11866
}
11867
11868
public
:
11870
object_ptr<forumTopicInfo>
old_topic_info_
;
11872
object_ptr<forumTopicInfo>
new_topic_info_
;
11873
11877
chatEventForumTopicEdited
();
11878
11885
chatEventForumTopicEdited
(
object_ptr<forumTopicInfo>
&&
old_topic_info_
,
object_ptr<forumTopicInfo>
&&
new_topic_info_
);
11886
11888
static
const
std::int32_t
ID
= 1624910860;
11889
11895
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11896
};
11897
11901
class
chatEventForumTopicToggleIsClosed
final :
public
ChatEventAction
{
11906
std::int32_t get_id()
const
final
{
11907
return
ID
;
11908
}
11909
11910
public
:
11912
object_ptr<forumTopicInfo>
topic_info_
;
11913
11917
chatEventForumTopicToggleIsClosed
();
11918
11924
explicit
chatEventForumTopicToggleIsClosed
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
11925
11927
static
const
std::int32_t
ID
= -962704070;
11928
11934
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11935
};
11936
11940
class
chatEventForumTopicToggleIsHidden
final :
public
ChatEventAction
{
11945
std::int32_t get_id()
const
final
{
11946
return
ID
;
11947
}
11948
11949
public
:
11951
object_ptr<forumTopicInfo>
topic_info_
;
11952
11956
chatEventForumTopicToggleIsHidden
();
11957
11963
explicit
chatEventForumTopicToggleIsHidden
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
11964
11966
static
const
std::int32_t
ID
= -1609175250;
11967
11973
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11974
};
11975
11979
class
chatEventForumTopicDeleted
final :
public
ChatEventAction
{
11984
std::int32_t get_id()
const
final
{
11985
return
ID
;
11986
}
11987
11988
public
:
11990
object_ptr<forumTopicInfo>
topic_info_
;
11991
11995
chatEventForumTopicDeleted
();
11996
12002
explicit
chatEventForumTopicDeleted
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
12003
12005
static
const
std::int32_t
ID
= -1332795123;
12006
12012
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12013
};
12014
12018
class
chatEventForumTopicPinned
final :
public
ChatEventAction
{
12023
std::int32_t get_id()
const
final
{
12024
return
ID
;
12025
}
12026
12027
public
:
12029
object_ptr<forumTopicInfo>
old_topic_info_
;
12031
object_ptr<forumTopicInfo>
new_topic_info_
;
12032
12036
chatEventForumTopicPinned
();
12037
12044
chatEventForumTopicPinned
(
object_ptr<forumTopicInfo>
&&
old_topic_info_
,
object_ptr<forumTopicInfo>
&&
new_topic_info_
);
12045
12047
static
const
std::int32_t
ID
= 2143626222;
12048
12054
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12055
};
12056
12060
class
chatEventLogFilters
final :
public
Object
{
12065
std::int32_t get_id()
const
final
{
12066
return
ID
;
12067
}
12068
12069
public
:
12071
bool
message_edits_
;
12073
bool
message_deletions_
;
12075
bool
message_pins_
;
12077
bool
member_joins_
;
12079
bool
member_leaves_
;
12081
bool
member_invites_
;
12083
bool
member_promotions_
;
12085
bool
member_restrictions_
;
12087
bool
info_changes_
;
12089
bool
setting_changes_
;
12091
bool
invite_link_changes_
;
12093
bool
video_chat_changes_
;
12095
bool
forum_changes_
;
12097
bool
subscription_extensions_
;
12098
12102
chatEventLogFilters
();
12103
12122
chatEventLogFilters
(
bool
message_edits_
,
bool
message_deletions_
,
bool
message_pins_
,
bool
member_joins_
,
bool
member_leaves_
,
bool
member_invites_
,
bool
member_promotions_
,
bool
member_restrictions_
,
bool
info_changes_
,
bool
setting_changes_
,
bool
invite_link_changes_
,
bool
video_chat_changes_
,
bool
forum_changes_
,
bool
subscription_extensions_
);
12123
12125
static
const
std::int32_t
ID
= -1032965711;
12126
12132
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12133
};
12134
12135
class
chatEvent
;
12136
12140
class
chatEvents
final :
public
Object
{
12145
std::int32_t get_id()
const
final
{
12146
return
ID
;
12147
}
12148
12149
public
:
12151
array<object_ptr<chatEvent>
>
events_
;
12152
12156
chatEvents
();
12157
12163
explicit
chatEvents
(
array
<
object_ptr<chatEvent>
> &&
events_
);
12164
12166
static
const
std::int32_t
ID
= -585329664;
12167
12173
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12174
};
12175
12176
class
chatFolderIcon
;
12177
12178
class
chatFolderName
;
12179
12183
class
chatFolder
final :
public
Object
{
12188
std::int32_t get_id()
const
final
{
12189
return
ID
;
12190
}
12191
12192
public
:
12194
object_ptr<chatFolderName>
name_
;
12196
object_ptr<chatFolderIcon>
icon_
;
12198
int32
color_id_
;
12200
bool
is_shareable_
;
12202
array<int53>
pinned_chat_ids_
;
12204
array<int53>
included_chat_ids_
;
12206
array<int53>
excluded_chat_ids_
;
12208
bool
exclude_muted_
;
12210
bool
exclude_read_
;
12212
bool
exclude_archived_
;
12214
bool
include_contacts_
;
12216
bool
include_non_contacts_
;
12218
bool
include_bots_
;
12220
bool
include_groups_
;
12222
bool
include_channels_
;
12223
12227
chatFolder
();
12228
12248
chatFolder
(
object_ptr<chatFolderName>
&&
name_
,
object_ptr<chatFolderIcon>
&&
icon_
,
int32
color_id_
,
bool
is_shareable_
,
array<int53>
&&
pinned_chat_ids_
,
array<int53>
&&
included_chat_ids_
,
array<int53>
&&
excluded_chat_ids_
,
bool
exclude_muted_
,
bool
exclude_read_
,
bool
exclude_archived_
,
bool
include_contacts_
,
bool
include_non_contacts_
,
bool
include_bots_
,
bool
include_groups_
,
bool
include_channels_
);
12249
12251
static
const
std::int32_t
ID
= 1596164696;
12252
12258
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12259
};
12260
12264
class
chatFolderIcon
final :
public
Object
{
12269
std::int32_t get_id()
const
final
{
12270
return
ID
;
12271
}
12272
12273
public
:
12275
string
name_
;
12276
12280
chatFolderIcon
();
12281
12287
explicit
chatFolderIcon
(
string
const
&
name_
);
12288
12290
static
const
std::int32_t
ID
= -146104090;
12291
12297
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12298
};
12299
12300
class
chatFolderIcon
;
12301
12302
class
chatFolderName
;
12303
12307
class
chatFolderInfo
final :
public
Object
{
12312
std::int32_t get_id()
const
final
{
12313
return
ID
;
12314
}
12315
12316
public
:
12318
int32
id_
;
12320
object_ptr<chatFolderName>
name_
;
12322
object_ptr<chatFolderIcon>
icon_
;
12324
int32
color_id_
;
12326
bool
is_shareable_
;
12328
bool
has_my_invite_links_
;
12329
12333
chatFolderInfo
();
12334
12345
chatFolderInfo
(
int32
id_
,
object_ptr<chatFolderName>
&&
name_
,
object_ptr<chatFolderIcon>
&&
icon_
,
int32
color_id_
,
bool
is_shareable_
,
bool
has_my_invite_links_
);
12346
12348
static
const
std::int32_t
ID
= 815535117;
12349
12355
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12356
};
12357
12361
class
chatFolderInviteLink
final :
public
Object
{
12366
std::int32_t get_id()
const
final
{
12367
return
ID
;
12368
}
12369
12370
public
:
12372
string
invite_link_
;
12374
string
name_
;
12376
array<int53>
chat_ids_
;
12377
12381
chatFolderInviteLink
();
12382
12390
chatFolderInviteLink
(
string
const
&
invite_link_
,
string
const
&
name_
,
array<int53>
&&
chat_ids_
);
12391
12393
static
const
std::int32_t
ID
= 493969661;
12394
12400
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12401
};
12402
12403
class
chatFolderInfo
;
12404
12408
class
chatFolderInviteLinkInfo
final :
public
Object
{
12413
std::int32_t get_id()
const
final
{
12414
return
ID
;
12415
}
12416
12417
public
:
12419
object_ptr<chatFolderInfo>
chat_folder_info_
;
12421
array<int53>
missing_chat_ids_
;
12423
array<int53>
added_chat_ids_
;
12424
12428
chatFolderInviteLinkInfo
();
12429
12437
chatFolderInviteLinkInfo
(
object_ptr<chatFolderInfo>
&&
chat_folder_info_
,
array<int53>
&&
missing_chat_ids_
,
array<int53>
&&
added_chat_ids_
);
12438
12440
static
const
std::int32_t
ID
= 1119450395;
12441
12447
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12448
};
12449
12450
class
chatFolderInviteLink
;
12451
12455
class
chatFolderInviteLinks
final :
public
Object
{
12460
std::int32_t get_id()
const
final
{
12461
return
ID
;
12462
}
12463
12464
public
:
12466
array<object_ptr<chatFolderInviteLink>
>
invite_links_
;
12467
12471
chatFolderInviteLinks
();
12472
12478
explicit
chatFolderInviteLinks
(
array
<
object_ptr<chatFolderInviteLink>
> &&
invite_links_
);
12479
12481
static
const
std::int32_t
ID
= 1853351525;
12482
12488
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12489
};
12490
12491
class
formattedText
;
12492
12496
class
chatFolderName
final :
public
Object
{
12501
std::int32_t get_id()
const
final
{
12502
return
ID
;
12503
}
12504
12505
public
:
12507
object_ptr<formattedText>
text_
;
12509
bool
animate_custom_emoji_
;
12510
12514
chatFolderName
();
12515
12522
chatFolderName
(
object_ptr<formattedText>
&&
text_
,
bool
animate_custom_emoji_
);
12523
12525
static
const
std::int32_t
ID
= -330482274;
12526
12532
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12533
};
12534
12535
class
starSubscriptionPricing
;
12536
12540
class
chatInviteLink
final :
public
Object
{
12545
std::int32_t get_id()
const
final
{
12546
return
ID
;
12547
}
12548
12549
public
:
12551
string
invite_link_
;
12553
string
name_
;
12555
int53
creator_user_id_
;
12557
int32
date_
;
12559
int32
edit_date_
;
12561
int32
expiration_date_
;
12563
object_ptr<starSubscriptionPricing>
subscription_pricing_
;
12565
int32
member_limit_
;
12567
int32
member_count_
;
12569
int32
expired_member_count_
;
12571
int32
pending_join_request_count_
;
12573
bool
creates_join_request_
;
12575
bool
is_primary_
;
12577
bool
is_revoked_
;
12578
12582
chatInviteLink
();
12583
12602
chatInviteLink
(
string
const
&
invite_link_
,
string
const
&
name_
,
int53
creator_user_id_
,
int32
date_
,
int32
edit_date_
,
int32
expiration_date_
,
object_ptr<starSubscriptionPricing>
&&
subscription_pricing_
,
int32
member_limit_
,
int32
member_count_
,
int32
expired_member_count_
,
int32
pending_join_request_count_
,
bool
creates_join_request_
,
bool
is_primary_
,
bool
is_revoked_
);
12603
12605
static
const
std::int32_t
ID
= -957651664;
12606
12612
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12613
};
12614
12618
class
chatInviteLinkCount
final :
public
Object
{
12623
std::int32_t get_id()
const
final
{
12624
return
ID
;
12625
}
12626
12627
public
:
12629
int53
user_id_
;
12631
int32
invite_link_count_
;
12633
int32
revoked_invite_link_count_
;
12634
12638
chatInviteLinkCount
();
12639
12647
chatInviteLinkCount
(
int53
user_id_
,
int32
invite_link_count_
,
int32
revoked_invite_link_count_
);
12648
12650
static
const
std::int32_t
ID
= -1021999210;
12651
12657
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12658
};
12659
12660
class
chatInviteLinkCount
;
12661
12665
class
chatInviteLinkCounts
final :
public
Object
{
12670
std::int32_t get_id()
const
final
{
12671
return
ID
;
12672
}
12673
12674
public
:
12676
array<object_ptr<chatInviteLinkCount>
>
invite_link_counts_
;
12677
12681
chatInviteLinkCounts
();
12682
12688
explicit
chatInviteLinkCounts
(
array
<
object_ptr<chatInviteLinkCount>
> &&
invite_link_counts_
);
12689
12691
static
const
std::int32_t
ID
= 920326637;
12692
12698
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12699
};
12700
12701
class
InviteLinkChatType
;
12702
12703
class
chatInviteLinkSubscriptionInfo
;
12704
12705
class
chatPhotoInfo
;
12706
12707
class
verificationStatus
;
12708
12712
class
chatInviteLinkInfo
final :
public
Object
{
12717
std::int32_t get_id()
const
final
{
12718
return
ID
;
12719
}
12720
12721
public
:
12723
int53
chat_id_
;
12725
int32
accessible_for_
;
12727
object_ptr<InviteLinkChatType>
type_
;
12729
string
title_
;
12731
object_ptr<chatPhotoInfo>
photo_
;
12733
int32
accent_color_id_
;
12735
string
description_
;
12737
int32
member_count_
;
12739
array<int53>
member_user_ids_
;
12741
object_ptr<chatInviteLinkSubscriptionInfo>
subscription_info_
;
12743
bool
creates_join_request_
;
12745
bool
is_public_
;
12747
object_ptr<verificationStatus>
verification_status_
;
12748
12752
chatInviteLinkInfo
();
12753
12771
chatInviteLinkInfo
(
int53
chat_id_
,
int32
accessible_for_
,
object_ptr<InviteLinkChatType>
&&
type_
,
string
const
&
title_
,
object_ptr<chatPhotoInfo>
&&
photo_
,
int32
accent_color_id_
,
string
const
&
description_
,
int32
member_count_
,
array<int53>
&&
member_user_ids_
,
object_ptr<chatInviteLinkSubscriptionInfo>
&&
subscription_info_
,
bool
creates_join_request_
,
bool
is_public_
,
object_ptr<verificationStatus>
&&
verification_status_
);
12772
12774
static
const
std::int32_t
ID
= -1145310535;
12775
12781
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12782
};
12783
12787
class
chatInviteLinkMember
final :
public
Object
{
12792
std::int32_t get_id()
const
final
{
12793
return
ID
;
12794
}
12795
12796
public
:
12798
int53
user_id_
;
12800
int32
joined_chat_date_
;
12802
bool
via_chat_folder_invite_link_
;
12804
int53
approver_user_id_
;
12805
12809
chatInviteLinkMember
();
12810
12819
chatInviteLinkMember
(
int53
user_id_
,
int32
joined_chat_date_
,
bool
via_chat_folder_invite_link_
,
int53
approver_user_id_
);
12820
12822
static
const
std::int32_t
ID
= 29156795;
12823
12829
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12830
};
12831
12832
class
chatInviteLinkMember
;
12833
12837
class
chatInviteLinkMembers
final :
public
Object
{
12842
std::int32_t get_id()
const
final
{
12843
return
ID
;
12844
}
12845
12846
public
:
12848
int32
total_count_
;
12850
array<object_ptr<chatInviteLinkMember>
>
members_
;
12851
12855
chatInviteLinkMembers
();
12856
12863
chatInviteLinkMembers
(
int32
total_count_
,
array
<
object_ptr<chatInviteLinkMember>
> &&
members_
);
12864
12866
static
const
std::int32_t
ID
= 315635051;
12867
12873
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12874
};
12875
12876
class
starSubscriptionPricing
;
12877
12881
class
chatInviteLinkSubscriptionInfo
final :
public
Object
{
12886
std::int32_t get_id()
const
final
{
12887
return
ID
;
12888
}
12889
12890
public
:
12892
object_ptr<starSubscriptionPricing>
pricing_
;
12894
bool
can_reuse_
;
12896
int64
form_id_
;
12897
12901
chatInviteLinkSubscriptionInfo
();
12902
12910
chatInviteLinkSubscriptionInfo
(
object_ptr<starSubscriptionPricing>
&&
pricing_
,
bool
can_reuse_
,
int64
form_id_
);
12911
12913
static
const
std::int32_t
ID
= 953119592;
12914
12920
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12921
};
12922
12923
class
chatInviteLink
;
12924
12928
class
chatInviteLinks
final :
public
Object
{
12933
std::int32_t get_id()
const
final
{
12934
return
ID
;
12935
}
12936
12937
public
:
12939
int32
total_count_
;
12941
array<object_ptr<chatInviteLink>
>
invite_links_
;
12942
12946
chatInviteLinks
();
12947
12954
chatInviteLinks
(
int32
total_count_
,
array
<
object_ptr<chatInviteLink>
> &&
invite_links_
);
12955
12957
static
const
std::int32_t
ID
= 112891427;
12958
12964
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12965
};
12966
12970
class
chatJoinRequest
final :
public
Object
{
12975
std::int32_t get_id()
const
final
{
12976
return
ID
;
12977
}
12978
12979
public
:
12981
int53
user_id_
;
12983
int32
date_
;
12985
string
bio_
;
12986
12990
chatJoinRequest
();
12991
12999
chatJoinRequest
(
int53
user_id_
,
int32
date_
,
string
const
&
bio_
);
13000
13002
static
const
std::int32_t
ID
= 59341416;
13003
13009
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13010
};
13011
13012
class
chatJoinRequest
;
13013
13017
class
chatJoinRequests
final :
public
Object
{
13022
std::int32_t get_id()
const
final
{
13023
return
ID
;
13024
}
13025
13026
public
:
13028
int32
total_count_
;
13030
array<object_ptr<chatJoinRequest>
>
requests_
;
13031
13035
chatJoinRequests
();
13036
13043
chatJoinRequests
(
int32
total_count_
,
array
<
object_ptr<chatJoinRequest>
> &&
requests_
);
13044
13046
static
const
std::int32_t
ID
= 1291680519;
13047
13053
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13054
};
13055
13059
class
chatJoinRequestsInfo
final :
public
Object
{
13064
std::int32_t get_id()
const
final
{
13065
return
ID
;
13066
}
13067
13068
public
:
13070
int32
total_count_
;
13072
array<int53>
user_ids_
;
13073
13077
chatJoinRequestsInfo
();
13078
13085
chatJoinRequestsInfo
(
int32
total_count_
,
array<int53>
&&
user_ids_
);
13086
13088
static
const
std::int32_t
ID
= 888534463;
13089
13095
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13096
};
13097
13102
class
ChatList
:
public
Object
{
13103
public
:
13104
};
13105
13109
class
chatListMain
final :
public
ChatList
{
13114
std::int32_t get_id()
const
final
{
13115
return
ID
;
13116
}
13117
13118
public
:
13119
13123
chatListMain
();
13124
13126
static
const
std::int32_t
ID
= -400991316;
13127
13133
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13134
};
13135
13139
class
chatListArchive
final :
public
ChatList
{
13144
std::int32_t get_id()
const
final
{
13145
return
ID
;
13146
}
13147
13148
public
:
13149
13153
chatListArchive
();
13154
13156
static
const
std::int32_t
ID
= 362770115;
13157
13163
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13164
};
13165
13169
class
chatListFolder
final :
public
ChatList
{
13174
std::int32_t get_id()
const
final
{
13175
return
ID
;
13176
}
13177
13178
public
:
13180
int32
chat_folder_id_
;
13181
13185
chatListFolder
();
13186
13192
explicit
chatListFolder
(
int32
chat_folder_id_
);
13193
13195
static
const
std::int32_t
ID
= 385760856;
13196
13202
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13203
};
13204
13205
class
ChatList
;
13206
13210
class
chatLists
final :
public
Object
{
13215
std::int32_t get_id()
const
final
{
13216
return
ID
;
13217
}
13218
13219
public
:
13221
array<object_ptr<ChatList>
>
chat_lists_
;
13222
13226
chatLists
();
13227
13233
explicit
chatLists
(
array
<
object_ptr<ChatList>
> &&
chat_lists_
);
13234
13236
static
const
std::int32_t
ID
= -258292771;
13237
13243
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13244
};
13245
13246
class
location
;
13247
13251
class
chatLocation
final :
public
Object
{
13256
std::int32_t get_id()
const
final
{
13257
return
ID
;
13258
}
13259
13260
public
:
13262
object_ptr<location>
location_
;
13264
string
address_
;
13265
13269
chatLocation
();
13270
13277
chatLocation
(
object_ptr<location>
&&
location_
,
string
const
&
address_
);
13278
13280
static
const
std::int32_t
ID
= -1566863583;
13281
13287
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13288
};
13289
13290
class
ChatMemberStatus
;
13291
13292
class
MessageSender
;
13293
13297
class
chatMember
final :
public
Object
{
13302
std::int32_t get_id()
const
final
{
13303
return
ID
;
13304
}
13305
13306
public
:
13308
object_ptr<MessageSender>
member_id_
;
13310
int53
inviter_user_id_
;
13312
int32
joined_chat_date_
;
13314
object_ptr<ChatMemberStatus>
status_
;
13315
13319
chatMember
();
13320
13329
chatMember
(
object_ptr<MessageSender>
&&
member_id_
,
int53
inviter_user_id_
,
int32
joined_chat_date_
,
object_ptr<ChatMemberStatus>
&&
status_
);
13330
13332
static
const
std::int32_t
ID
= 1829953909;
13333
13339
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13340
};
13341
13342
class
chatAdministratorRights
;
13343
13344
class
chatPermissions
;
13345
13350
class
ChatMemberStatus
:
public
Object
{
13351
public
:
13352
};
13353
13357
class
chatMemberStatusCreator
final :
public
ChatMemberStatus
{
13362
std::int32_t get_id()
const
final
{
13363
return
ID
;
13364
}
13365
13366
public
:
13368
string
custom_title_
;
13370
bool
is_anonymous_
;
13372
bool
is_member_
;
13373
13377
chatMemberStatusCreator
();
13378
13386
chatMemberStatusCreator
(
string
const
&
custom_title_
,
bool
is_anonymous_
,
bool
is_member_
);
13387
13389
static
const
std::int32_t
ID
= -160019714;
13390
13396
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13397
};
13398
13402
class
chatMemberStatusAdministrator
final :
public
ChatMemberStatus
{
13407
std::int32_t get_id()
const
final
{
13408
return
ID
;
13409
}
13410
13411
public
:
13413
string
custom_title_
;
13415
bool
can_be_edited_
;
13417
object_ptr<chatAdministratorRights>
rights_
;
13418
13422
chatMemberStatusAdministrator
();
13423
13431
chatMemberStatusAdministrator
(
string
const
&
custom_title_
,
bool
can_be_edited_
,
object_ptr<chatAdministratorRights>
&&
rights_
);
13432
13434
static
const
std::int32_t
ID
= -70024163;
13435
13441
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13442
};
13443
13447
class
chatMemberStatusMember
final :
public
ChatMemberStatus
{
13452
std::int32_t get_id()
const
final
{
13453
return
ID
;
13454
}
13455
13456
public
:
13458
int32
member_until_date_
;
13459
13463
chatMemberStatusMember
();
13464
13470
explicit
chatMemberStatusMember
(
int32
member_until_date_
);
13471
13473
static
const
std::int32_t
ID
= -32707562;
13474
13480
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13481
};
13482
13486
class
chatMemberStatusRestricted
final :
public
ChatMemberStatus
{
13491
std::int32_t get_id()
const
final
{
13492
return
ID
;
13493
}
13494
13495
public
:
13497
bool
is_member_
;
13499
int32
restricted_until_date_
;
13501
object_ptr<chatPermissions>
permissions_
;
13502
13506
chatMemberStatusRestricted
();
13507
13515
chatMemberStatusRestricted
(
bool
is_member_
,
int32
restricted_until_date_
,
object_ptr<chatPermissions>
&&
permissions_
);
13516
13518
static
const
std::int32_t
ID
= 1661432998;
13519
13525
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13526
};
13527
13531
class
chatMemberStatusLeft
final :
public
ChatMemberStatus
{
13536
std::int32_t get_id()
const
final
{
13537
return
ID
;
13538
}
13539
13540
public
:
13541
13545
chatMemberStatusLeft
();
13546
13548
static
const
std::int32_t
ID
= -5815259;
13549
13555
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13556
};
13557
13561
class
chatMemberStatusBanned
final :
public
ChatMemberStatus
{
13566
std::int32_t get_id()
const
final
{
13567
return
ID
;
13568
}
13569
13570
public
:
13572
int32
banned_until_date_
;
13573
13577
chatMemberStatusBanned
();
13578
13584
explicit
chatMemberStatusBanned
(
int32
banned_until_date_
);
13585
13587
static
const
std::int32_t
ID
= -1653518666;
13588
13594
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13595
};
13596
13597
class
chatMember
;
13598
13602
class
chatMembers
final :
public
Object
{
13607
std::int32_t get_id()
const
final
{
13608
return
ID
;
13609
}
13610
13611
public
:
13613
int32
total_count_
;
13615
array<object_ptr<chatMember>
>
members_
;
13616
13620
chatMembers
();
13621
13628
chatMembers
(
int32
total_count_
,
array
<
object_ptr<chatMember>
> &&
members_
);
13629
13631
static
const
std::int32_t
ID
= -497558622;
13632
13638
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13639
};
13640
13645
class
ChatMembersFilter
:
public
Object
{
13646
public
:
13647
};
13648
13652
class
chatMembersFilterContacts
final :
public
ChatMembersFilter
{
13657
std::int32_t get_id()
const
final
{
13658
return
ID
;
13659
}
13660
13661
public
:
13662
13666
chatMembersFilterContacts
();
13667
13669
static
const
std::int32_t
ID
= 1774485671;
13670
13676
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13677
};
13678
13682
class
chatMembersFilterAdministrators
final :
public
ChatMembersFilter
{
13687
std::int32_t get_id()
const
final
{
13688
return
ID
;
13689
}
13690
13691
public
:
13692
13696
chatMembersFilterAdministrators
();
13697
13699
static
const
std::int32_t
ID
= -1266893796;
13700
13706
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13707
};
13708
13712
class
chatMembersFilterMembers
final :
public
ChatMembersFilter
{
13717
std::int32_t get_id()
const
final
{
13718
return
ID
;
13719
}
13720
13721
public
:
13722
13726
chatMembersFilterMembers
();
13727
13729
static
const
std::int32_t
ID
= 670504342;
13730
13736
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13737
};
13738
13742
class
chatMembersFilterMention
final :
public
ChatMembersFilter
{
13747
std::int32_t get_id()
const
final
{
13748
return
ID
;
13749
}
13750
13751
public
:
13753
int53
message_thread_id_
;
13754
13758
chatMembersFilterMention
();
13759
13765
explicit
chatMembersFilterMention
(
int53
message_thread_id_
);
13766
13768
static
const
std::int32_t
ID
= 856419831;
13769
13775
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13776
};
13777
13781
class
chatMembersFilterRestricted
final :
public
ChatMembersFilter
{
13786
std::int32_t get_id()
const
final
{
13787
return
ID
;
13788
}
13789
13790
public
:
13791
13795
chatMembersFilterRestricted
();
13796
13798
static
const
std::int32_t
ID
= 1256282813;
13799
13805
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13806
};
13807
13811
class
chatMembersFilterBanned
final :
public
ChatMembersFilter
{
13816
std::int32_t get_id()
const
final
{
13817
return
ID
;
13818
}
13819
13820
public
:
13821
13825
chatMembersFilterBanned
();
13826
13828
static
const
std::int32_t
ID
= -1863102648;
13829
13835
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13836
};
13837
13841
class
chatMembersFilterBots
final :
public
ChatMembersFilter
{
13846
std::int32_t get_id()
const
final
{
13847
return
ID
;
13848
}
13849
13850
public
:
13851
13855
chatMembersFilterBots
();
13856
13858
static
const
std::int32_t
ID
= -1422567288;
13859
13865
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13866
};
13867
13868
class
MessageSender
;
13869
13873
class
chatMessageSender
final :
public
Object
{
13878
std::int32_t get_id()
const
final
{
13879
return
ID
;
13880
}
13881
13882
public
:
13884
object_ptr<MessageSender>
sender_
;
13886
bool
needs_premium_
;
13887
13891
chatMessageSender
();
13892
13899
chatMessageSender
(
object_ptr<MessageSender>
&&
sender_
,
bool
needs_premium_
);
13900
13902
static
const
std::int32_t
ID
= 760590010;
13903
13909
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13910
};
13911
13912
class
chatMessageSender
;
13913
13917
class
chatMessageSenders
final :
public
Object
{
13922
std::int32_t get_id()
const
final
{
13923
return
ID
;
13924
}
13925
13926
public
:
13928
array<object_ptr<chatMessageSender>
>
senders_
;
13929
13933
chatMessageSenders
();
13934
13940
explicit
chatMessageSenders
(
array
<
object_ptr<chatMessageSender>
> &&
senders_
);
13941
13943
static
const
std::int32_t
ID
= -1866230970;
13944
13950
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13951
};
13952
13956
class
chatNotificationSettings
final :
public
Object
{
13961
std::int32_t get_id()
const
final
{
13962
return
ID
;
13963
}
13964
13965
public
:
13967
bool
use_default_mute_for_
;
13969
int32
mute_for_
;
13971
bool
use_default_sound_
;
13973
int64
sound_id_
;
13975
bool
use_default_show_preview_
;
13977
bool
show_preview_
;
13979
bool
use_default_mute_stories_
;
13981
bool
mute_stories_
;
13983
bool
use_default_story_sound_
;
13985
int64
story_sound_id_
;
13987
bool
use_default_show_story_poster_
;
13989
bool
show_story_poster_
;
13991
bool
use_default_disable_pinned_message_notifications_
;
13993
bool
disable_pinned_message_notifications_
;
13995
bool
use_default_disable_mention_notifications_
;
13997
bool
disable_mention_notifications_
;
13998
14002
chatNotificationSettings
();
14003
14024
chatNotificationSettings
(
bool
use_default_mute_for_
,
int32
mute_for_
,
bool
use_default_sound_
,
int64
sound_id_
,
bool
use_default_show_preview_
,
bool
show_preview_
,
bool
use_default_mute_stories_
,
bool
mute_stories_
,
bool
use_default_story_sound_
,
int64
story_sound_id_
,
bool
use_default_show_story_poster_
,
bool
show_story_poster_
,
bool
use_default_disable_pinned_message_notifications_
,
bool
disable_pinned_message_notifications_
,
bool
use_default_disable_mention_notifications_
,
bool
disable_mention_notifications_
);
14025
14027
static
const
std::int32_t
ID
= 1459533846;
14028
14034
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14035
};
14036
14040
class
chatPermissions
final :
public
Object
{
14045
std::int32_t get_id()
const
final
{
14046
return
ID
;
14047
}
14048
14049
public
:
14051
bool
can_send_basic_messages_
;
14053
bool
can_send_audios_
;
14055
bool
can_send_documents_
;
14057
bool
can_send_photos_
;
14059
bool
can_send_videos_
;
14061
bool
can_send_video_notes_
;
14063
bool
can_send_voice_notes_
;
14065
bool
can_send_polls_
;
14067
bool
can_send_other_messages_
;
14069
bool
can_add_link_previews_
;
14071
bool
can_change_info_
;
14073
bool
can_invite_users_
;
14075
bool
can_pin_messages_
;
14077
bool
can_create_topics_
;
14078
14082
chatPermissions
();
14083
14102
chatPermissions
(
bool
can_send_basic_messages_
,
bool
can_send_audios_
,
bool
can_send_documents_
,
bool
can_send_photos_
,
bool
can_send_videos_
,
bool
can_send_video_notes_
,
bool
can_send_voice_notes_
,
bool
can_send_polls_
,
bool
can_send_other_messages_
,
bool
can_add_link_previews_
,
bool
can_change_info_
,
bool
can_invite_users_
,
bool
can_pin_messages_
,
bool
can_create_topics_
);
14103
14105
static
const
std::int32_t
ID
= -118334855;
14106
14112
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14113
};
14114
14115
class
animatedChatPhoto
;
14116
14117
class
chatPhotoSticker
;
14118
14119
class
minithumbnail
;
14120
14121
class
photoSize
;
14122
14126
class
chatPhoto
final :
public
Object
{
14131
std::int32_t get_id()
const
final
{
14132
return
ID
;
14133
}
14134
14135
public
:
14137
int64
id_
;
14139
int32
added_date_
;
14141
object_ptr<minithumbnail>
minithumbnail_
;
14143
array<object_ptr<photoSize>
>
sizes_
;
14145
object_ptr<animatedChatPhoto>
animation_
;
14147
object_ptr<animatedChatPhoto>
small_animation_
;
14149
object_ptr<chatPhotoSticker>
sticker_
;
14150
14154
chatPhoto
();
14155
14167
chatPhoto
(
int64
id_
,
int32
added_date_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
array
<
object_ptr<photoSize>
> &&
sizes_
,
object_ptr<animatedChatPhoto>
&&
animation_
,
object_ptr<animatedChatPhoto>
&&
small_animation_
,
object_ptr<chatPhotoSticker>
&&
sticker_
);
14168
14170
static
const
std::int32_t
ID
= -1430870201;
14171
14177
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14178
};
14179
14180
class
file
;
14181
14182
class
minithumbnail
;
14183
14187
class
chatPhotoInfo
final :
public
Object
{
14192
std::int32_t get_id()
const
final
{
14193
return
ID
;
14194
}
14195
14196
public
:
14198
object_ptr<file>
small_
;
14200
object_ptr<file>
big_
;
14202
object_ptr<minithumbnail>
minithumbnail_
;
14204
bool
has_animation_
;
14206
bool
is_personal_
;
14207
14211
chatPhotoInfo
();
14212
14222
chatPhotoInfo
(
object_ptr<file>
&&
small_
,
object_ptr<file>
&&
big_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
bool
has_animation_
,
bool
is_personal_
);
14223
14225
static
const
std::int32_t
ID
= 281195686;
14226
14232
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14233
};
14234
14235
class
BackgroundFill
;
14236
14237
class
ChatPhotoStickerType
;
14238
14242
class
chatPhotoSticker
final :
public
Object
{
14247
std::int32_t get_id()
const
final
{
14248
return
ID
;
14249
}
14250
14251
public
:
14253
object_ptr<ChatPhotoStickerType>
type_
;
14255
object_ptr<BackgroundFill>
background_fill_
;
14256
14260
chatPhotoSticker
();
14261
14268
chatPhotoSticker
(
object_ptr<ChatPhotoStickerType>
&&
type_
,
object_ptr<BackgroundFill>
&&
background_fill_
);
14269
14271
static
const
std::int32_t
ID
= -1459387485;
14272
14278
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14279
};
14280
14285
class
ChatPhotoStickerType
:
public
Object
{
14286
public
:
14287
};
14288
14292
class
chatPhotoStickerTypeRegularOrMask
final :
public
ChatPhotoStickerType
{
14297
std::int32_t get_id()
const
final
{
14298
return
ID
;
14299
}
14300
14301
public
:
14303
int64
sticker_set_id_
;
14305
int64
sticker_id_
;
14306
14310
chatPhotoStickerTypeRegularOrMask
();
14311
14318
chatPhotoStickerTypeRegularOrMask
(
int64
sticker_set_id_
,
int64
sticker_id_
);
14319
14321
static
const
std::int32_t
ID
= -415147620;
14322
14328
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14329
};
14330
14334
class
chatPhotoStickerTypeCustomEmoji
final :
public
ChatPhotoStickerType
{
14339
std::int32_t get_id()
const
final
{
14340
return
ID
;
14341
}
14342
14343
public
:
14345
int64
custom_emoji_id_
;
14346
14350
chatPhotoStickerTypeCustomEmoji
();
14351
14357
explicit
chatPhotoStickerTypeCustomEmoji
(
int64
custom_emoji_id_
);
14358
14360
static
const
std::int32_t
ID
= -266224943;
14361
14367
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14368
};
14369
14370
class
chatPhoto
;
14371
14375
class
chatPhotos
final :
public
Object
{
14380
std::int32_t get_id()
const
final
{
14381
return
ID
;
14382
}
14383
14384
public
:
14386
int32
total_count_
;
14388
array<object_ptr<chatPhoto>
>
photos_
;
14389
14393
chatPhotos
();
14394
14401
chatPhotos
(
int32
total_count_
,
array
<
object_ptr<chatPhoto>
> &&
photos_
);
14402
14404
static
const
std::int32_t
ID
= -1510699180;
14405
14411
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14412
};
14413
14414
class
ChatList
;
14415
14416
class
ChatSource
;
14417
14421
class
chatPosition
final :
public
Object
{
14426
std::int32_t get_id()
const
final
{
14427
return
ID
;
14428
}
14429
14430
public
:
14432
object_ptr<ChatList>
list_
;
14434
int64
order_
;
14436
bool
is_pinned_
;
14438
object_ptr<ChatSource>
source_
;
14439
14443
chatPosition
();
14444
14453
chatPosition
(
object_ptr<ChatList>
&&
list_
,
int64
order_
,
bool
is_pinned_
,
object_ptr<ChatSource>
&&
source_
);
14454
14456
static
const
std::int32_t
ID
= -622557355;
14457
14463
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14464
};
14465
14469
class
chatRevenueAmount
final :
public
Object
{
14474
std::int32_t get_id()
const
final
{
14475
return
ID
;
14476
}
14477
14478
public
:
14480
string
cryptocurrency_
;
14482
int64
total_amount_
;
14484
int64
balance_amount_
;
14486
int64
available_amount_
;
14488
bool
withdrawal_enabled_
;
14489
14493
chatRevenueAmount
();
14494
14504
chatRevenueAmount
(
string
const
&
cryptocurrency_
,
int64
total_amount_
,
int64
balance_amount_
,
int64
available_amount_
,
bool
withdrawal_enabled_
);
14505
14507
static
const
std::int32_t
ID
= -1505178024;
14508
14514
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14515
};
14516
14517
class
StatisticalGraph
;
14518
14519
class
chatRevenueAmount
;
14520
14524
class
chatRevenueStatistics
final :
public
Object
{
14529
std::int32_t get_id()
const
final
{
14530
return
ID
;
14531
}
14532
14533
public
:
14535
object_ptr<StatisticalGraph>
revenue_by_hour_graph_
;
14537
object_ptr<StatisticalGraph>
revenue_graph_
;
14539
object_ptr<chatRevenueAmount>
revenue_amount_
;
14541
double
usd_rate_
;
14542
14546
chatRevenueStatistics
();
14547
14556
chatRevenueStatistics
(
object_ptr<StatisticalGraph>
&&
revenue_by_hour_graph_
,
object_ptr<StatisticalGraph>
&&
revenue_graph_
,
object_ptr<chatRevenueAmount>
&&
revenue_amount_
,
double
usd_rate_
);
14557
14559
static
const
std::int32_t
ID
= 1667438779;
14560
14566
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14567
};
14568
14569
class
ChatRevenueTransactionType
;
14570
14574
class
chatRevenueTransaction
final :
public
Object
{
14579
std::int32_t get_id()
const
final
{
14580
return
ID
;
14581
}
14582
14583
public
:
14585
string
cryptocurrency_
;
14587
int64
cryptocurrency_amount_
;
14589
object_ptr<ChatRevenueTransactionType>
type_
;
14590
14594
chatRevenueTransaction
();
14595
14603
chatRevenueTransaction
(
string
const
&
cryptocurrency_
,
int64
cryptocurrency_amount_
,
object_ptr<ChatRevenueTransactionType>
&&
type_
);
14604
14606
static
const
std::int32_t
ID
= 80192767;
14607
14613
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14614
};
14615
14616
class
RevenueWithdrawalState
;
14617
14622
class
ChatRevenueTransactionType
:
public
Object
{
14623
public
:
14624
};
14625
14629
class
chatRevenueTransactionTypeUnsupported
final :
public
ChatRevenueTransactionType
{
14634
std::int32_t get_id()
const
final
{
14635
return
ID
;
14636
}
14637
14638
public
:
14639
14643
chatRevenueTransactionTypeUnsupported
();
14644
14646
static
const
std::int32_t
ID
= -27518756;
14647
14653
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14654
};
14655
14659
class
chatRevenueTransactionTypeSponsoredMessageEarnings
final :
public
ChatRevenueTransactionType
{
14664
std::int32_t get_id()
const
final
{
14665
return
ID
;
14666
}
14667
14668
public
:
14670
int32
start_date_
;
14672
int32
end_date_
;
14673
14677
chatRevenueTransactionTypeSponsoredMessageEarnings
();
14678
14685
chatRevenueTransactionTypeSponsoredMessageEarnings
(
int32
start_date_
,
int32
end_date_
);
14686
14688
static
const
std::int32_t
ID
= -1907391317;
14689
14695
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14696
};
14697
14701
class
chatRevenueTransactionTypeSuggestedPostEarnings
final :
public
ChatRevenueTransactionType
{
14706
std::int32_t get_id()
const
final
{
14707
return
ID
;
14708
}
14709
14710
public
:
14712
int53
user_id_
;
14713
14717
chatRevenueTransactionTypeSuggestedPostEarnings
();
14718
14724
explicit
chatRevenueTransactionTypeSuggestedPostEarnings
(
int53
user_id_
);
14725
14727
static
const
std::int32_t
ID
= 1252049103;
14728
14734
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14735
};
14736
14740
class
chatRevenueTransactionTypeFragmentWithdrawal
final :
public
ChatRevenueTransactionType
{
14745
std::int32_t get_id()
const
final
{
14746
return
ID
;
14747
}
14748
14749
public
:
14751
int32
withdrawal_date_
;
14753
object_ptr<RevenueWithdrawalState>
state_
;
14754
14758
chatRevenueTransactionTypeFragmentWithdrawal
();
14759
14766
chatRevenueTransactionTypeFragmentWithdrawal
(
int32
withdrawal_date_
,
object_ptr<RevenueWithdrawalState>
&&
state_
);
14767
14769
static
const
std::int32_t
ID
= 327153867;
14770
14776
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14777
};
14778
14782
class
chatRevenueTransactionTypeFragmentRefund
final :
public
ChatRevenueTransactionType
{
14787
std::int32_t get_id()
const
final
{
14788
return
ID
;
14789
}
14790
14791
public
:
14793
int32
refund_date_
;
14794
14798
chatRevenueTransactionTypeFragmentRefund
();
14799
14805
explicit
chatRevenueTransactionTypeFragmentRefund
(
int32
refund_date_
);
14806
14808
static
const
std::int32_t
ID
= -1488694273;
14809
14815
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14816
};
14817
14818
class
chatRevenueTransaction
;
14819
14823
class
chatRevenueTransactions
final :
public
Object
{
14828
std::int32_t get_id()
const
final
{
14829
return
ID
;
14830
}
14831
14832
public
:
14834
int53
ton_amount_
;
14836
array<object_ptr<chatRevenueTransaction>
>
transactions_
;
14838
string
next_offset_
;
14839
14843
chatRevenueTransactions
();
14844
14852
chatRevenueTransactions
(
int53
ton_amount_
,
array
<
object_ptr<chatRevenueTransaction>
> &&
transactions_
,
string
const
&
next_offset_
);
14853
14855
static
const
std::int32_t
ID
= -2017122771;
14856
14862
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14863
};
14864
14869
class
ChatSource
:
public
Object
{
14870
public
:
14871
};
14872
14876
class
chatSourceMtprotoProxy
final :
public
ChatSource
{
14881
std::int32_t get_id()
const
final
{
14882
return
ID
;
14883
}
14884
14885
public
:
14886
14890
chatSourceMtprotoProxy
();
14891
14893
static
const
std::int32_t
ID
= 394074115;
14894
14900
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14901
};
14902
14906
class
chatSourcePublicServiceAnnouncement
final :
public
ChatSource
{
14911
std::int32_t get_id()
const
final
{
14912
return
ID
;
14913
}
14914
14915
public
:
14917
string
type_
;
14919
string
text_
;
14920
14924
chatSourcePublicServiceAnnouncement
();
14925
14932
chatSourcePublicServiceAnnouncement
(
string
const
&
type_
,
string
const
&
text_
);
14933
14935
static
const
std::int32_t
ID
= -328571244;
14936
14942
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14943
};
14944
14945
class
StatisticalGraph
;
14946
14947
class
chatStatisticsAdministratorActionsInfo
;
14948
14949
class
chatStatisticsInteractionInfo
;
14950
14951
class
chatStatisticsInviterInfo
;
14952
14953
class
chatStatisticsMessageSenderInfo
;
14954
14955
class
dateRange
;
14956
14957
class
statisticalValue
;
14958
14963
class
ChatStatistics
:
public
Object
{
14964
public
:
14965
};
14966
14970
class
chatStatisticsSupergroup
final :
public
ChatStatistics
{
14975
std::int32_t get_id()
const
final
{
14976
return
ID
;
14977
}
14978
14979
public
:
14981
object_ptr<dateRange>
period_
;
14983
object_ptr<statisticalValue>
member_count_
;
14985
object_ptr<statisticalValue>
message_count_
;
14987
object_ptr<statisticalValue>
viewer_count_
;
14989
object_ptr<statisticalValue>
sender_count_
;
14991
object_ptr<StatisticalGraph>
member_count_graph_
;
14993
object_ptr<StatisticalGraph>
join_graph_
;
14995
object_ptr<StatisticalGraph>
join_by_source_graph_
;
14997
object_ptr<StatisticalGraph>
language_graph_
;
14999
object_ptr<StatisticalGraph>
message_content_graph_
;
15001
object_ptr<StatisticalGraph>
action_graph_
;
15003
object_ptr<StatisticalGraph>
day_graph_
;
15005
object_ptr<StatisticalGraph>
week_graph_
;
15007
array<object_ptr<chatStatisticsMessageSenderInfo>
>
top_senders_
;
15009
array<object_ptr<chatStatisticsAdministratorActionsInfo>
>
top_administrators_
;
15011
array<object_ptr<chatStatisticsInviterInfo>
>
top_inviters_
;
15012
15016
chatStatisticsSupergroup
();
15017
15038
chatStatisticsSupergroup
(
object_ptr<dateRange>
&&
period_
,
object_ptr<statisticalValue>
&&
member_count_
,
object_ptr<statisticalValue>
&&
message_count_
,
object_ptr<statisticalValue>
&&
viewer_count_
,
object_ptr<statisticalValue>
&&
sender_count_
,
object_ptr<StatisticalGraph>
&&
member_count_graph_
,
object_ptr<StatisticalGraph>
&&
join_graph_
,
object_ptr<StatisticalGraph>
&&
join_by_source_graph_
,
object_ptr<StatisticalGraph>
&&
language_graph_
,
object_ptr<StatisticalGraph>
&&
message_content_graph_
,
object_ptr<StatisticalGraph>
&&
action_graph_
,
object_ptr<StatisticalGraph>
&&
day_graph_
,
object_ptr<StatisticalGraph>
&&
week_graph_
,
array
<
object_ptr<chatStatisticsMessageSenderInfo>
> &&
top_senders_
,
array
<
object_ptr<chatStatisticsAdministratorActionsInfo>
> &&
top_administrators_
,
array
<
object_ptr<chatStatisticsInviterInfo>
> &&
top_inviters_
);
15039
15041
static
const
std::int32_t
ID
= -17244633;
15042
15048
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15049
};
15050
15054
class
chatStatisticsChannel
final :
public
ChatStatistics
{
15059
std::int32_t get_id()
const
final
{
15060
return
ID
;
15061
}
15062
15063
public
:
15065
object_ptr<dateRange>
period_
;
15067
object_ptr<statisticalValue>
member_count_
;
15069
object_ptr<statisticalValue>
mean_message_view_count_
;
15071
object_ptr<statisticalValue>
mean_message_share_count_
;
15073
object_ptr<statisticalValue>
mean_message_reaction_count_
;
15075
object_ptr<statisticalValue>
mean_story_view_count_
;
15077
object_ptr<statisticalValue>
mean_story_share_count_
;
15079
object_ptr<statisticalValue>
mean_story_reaction_count_
;
15081
double
enabled_notifications_percentage_
;
15083
object_ptr<StatisticalGraph>
member_count_graph_
;
15085
object_ptr<StatisticalGraph>
join_graph_
;
15087
object_ptr<StatisticalGraph>
mute_graph_
;
15089
object_ptr<StatisticalGraph>
view_count_by_hour_graph_
;
15091
object_ptr<StatisticalGraph>
view_count_by_source_graph_
;
15093
object_ptr<StatisticalGraph>
join_by_source_graph_
;
15095
object_ptr<StatisticalGraph>
language_graph_
;
15097
object_ptr<StatisticalGraph>
message_interaction_graph_
;
15099
object_ptr<StatisticalGraph>
message_reaction_graph_
;
15101
object_ptr<StatisticalGraph>
story_interaction_graph_
;
15103
object_ptr<StatisticalGraph>
story_reaction_graph_
;
15105
object_ptr<StatisticalGraph>
instant_view_interaction_graph_
;
15107
array<object_ptr<chatStatisticsInteractionInfo>
>
recent_interactions_
;
15108
15112
chatStatisticsChannel
();
15113
15140
chatStatisticsChannel
(
object_ptr<dateRange>
&&
period_
,
object_ptr<statisticalValue>
&&
member_count_
,
object_ptr<statisticalValue>
&&
mean_message_view_count_
,
object_ptr<statisticalValue>
&&
mean_message_share_count_
,
object_ptr<statisticalValue>
&&
mean_message_reaction_count_
,
object_ptr<statisticalValue>
&&
mean_story_view_count_
,
object_ptr<statisticalValue>
&&
mean_story_share_count_
,
object_ptr<statisticalValue>
&&
mean_story_reaction_count_
,
double
enabled_notifications_percentage_
,
object_ptr<StatisticalGraph>
&&
member_count_graph_
,
object_ptr<StatisticalGraph>
&&
join_graph_
,
object_ptr<StatisticalGraph>
&&
mute_graph_
,
object_ptr<StatisticalGraph>
&&
view_count_by_hour_graph_
,
object_ptr<StatisticalGraph>
&&
view_count_by_source_graph_
,
object_ptr<StatisticalGraph>
&&
join_by_source_graph_
,
object_ptr<StatisticalGraph>
&&
language_graph_
,
object_ptr<StatisticalGraph>
&&
message_interaction_graph_
,
object_ptr<StatisticalGraph>
&&
message_reaction_graph_
,
object_ptr<StatisticalGraph>
&&
story_interaction_graph_
,
object_ptr<StatisticalGraph>
&&
story_reaction_graph_
,
object_ptr<StatisticalGraph>
&&
instant_view_interaction_graph_
,
array
<
object_ptr<chatStatisticsInteractionInfo>
> &&
recent_interactions_
);
15141
15143
static
const
std::int32_t
ID
= -1375151660;
15144
15150
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15151
};
15152
15156
class
chatStatisticsAdministratorActionsInfo
final :
public
Object
{
15161
std::int32_t get_id()
const
final
{
15162
return
ID
;
15163
}
15164
15165
public
:
15167
int53
user_id_
;
15169
int32
deleted_message_count_
;
15171
int32
banned_user_count_
;
15173
int32
restricted_user_count_
;
15174
15178
chatStatisticsAdministratorActionsInfo
();
15179
15188
chatStatisticsAdministratorActionsInfo
(
int53
user_id_
,
int32
deleted_message_count_
,
int32
banned_user_count_
,
int32
restricted_user_count_
);
15189
15191
static
const
std::int32_t
ID
= -406467202;
15192
15198
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15199
};
15200
15201
class
ChatStatisticsObjectType
;
15202
15206
class
chatStatisticsInteractionInfo
final :
public
Object
{
15211
std::int32_t get_id()
const
final
{
15212
return
ID
;
15213
}
15214
15215
public
:
15217
object_ptr<ChatStatisticsObjectType>
object_type_
;
15219
int32
view_count_
;
15221
int32
forward_count_
;
15223
int32
reaction_count_
;
15224
15228
chatStatisticsInteractionInfo
();
15229
15238
chatStatisticsInteractionInfo
(
object_ptr<ChatStatisticsObjectType>
&&
object_type_
,
int32
view_count_
,
int32
forward_count_
,
int32
reaction_count_
);
15239
15241
static
const
std::int32_t
ID
= 1766496909;
15242
15248
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15249
};
15250
15254
class
chatStatisticsInviterInfo
final :
public
Object
{
15259
std::int32_t get_id()
const
final
{
15260
return
ID
;
15261
}
15262
15263
public
:
15265
int53
user_id_
;
15267
int32
added_member_count_
;
15268
15272
chatStatisticsInviterInfo
();
15273
15280
chatStatisticsInviterInfo
(
int53
user_id_
,
int32
added_member_count_
);
15281
15283
static
const
std::int32_t
ID
= 629396619;
15284
15290
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15291
};
15292
15296
class
chatStatisticsMessageSenderInfo
final :
public
Object
{
15301
std::int32_t get_id()
const
final
{
15302
return
ID
;
15303
}
15304
15305
public
:
15307
int53
user_id_
;
15309
int32
sent_message_count_
;
15311
int32
average_character_count_
;
15312
15316
chatStatisticsMessageSenderInfo
();
15317
15325
chatStatisticsMessageSenderInfo
(
int53
user_id_
,
int32
sent_message_count_
,
int32
average_character_count_
);
15326
15328
static
const
std::int32_t
ID
= 1762295371;
15329
15335
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15336
};
15337
15342
class
ChatStatisticsObjectType
:
public
Object
{
15343
public
:
15344
};
15345
15349
class
chatStatisticsObjectTypeMessage
final :
public
ChatStatisticsObjectType
{
15354
std::int32_t get_id()
const
final
{
15355
return
ID
;
15356
}
15357
15358
public
:
15360
int53
message_id_
;
15361
15365
chatStatisticsObjectTypeMessage
();
15366
15372
explicit
chatStatisticsObjectTypeMessage
(
int53
message_id_
);
15373
15375
static
const
std::int32_t
ID
= 1872700662;
15376
15382
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15383
};
15384
15388
class
chatStatisticsObjectTypeStory
final :
public
ChatStatisticsObjectType
{
15393
std::int32_t get_id()
const
final
{
15394
return
ID
;
15395
}
15396
15397
public
:
15399
int32
story_id_
;
15400
15404
chatStatisticsObjectTypeStory
();
15405
15411
explicit
chatStatisticsObjectTypeStory
(
int32
story_id_
);
15412
15414
static
const
std::int32_t
ID
= 364575152;
15415
15421
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15422
};
15423
15424
class
giftChatTheme
;
15425
15430
class
ChatTheme
:
public
Object
{
15431
public
:
15432
};
15433
15437
class
chatThemeEmoji
final :
public
ChatTheme
{
15442
std::int32_t get_id()
const
final
{
15443
return
ID
;
15444
}
15445
15446
public
:
15448
string
name_
;
15449
15453
chatThemeEmoji
();
15454
15460
explicit
chatThemeEmoji
(
string
const
&
name_
);
15461
15463
static
const
std::int32_t
ID
= -1863920197;
15464
15470
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15471
};
15472
15476
class
chatThemeGift
final :
public
ChatTheme
{
15481
std::int32_t get_id()
const
final
{
15482
return
ID
;
15483
}
15484
15485
public
:
15487
object_ptr<giftChatTheme>
gift_theme_
;
15488
15492
chatThemeGift
();
15493
15499
explicit
chatThemeGift
(
object_ptr<giftChatTheme>
&&
gift_theme_
);
15500
15502
static
const
std::int32_t
ID
= 19728441;
15503
15509
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15510
};
15511
15516
class
ChatType
:
public
Object
{
15517
public
:
15518
};
15519
15523
class
chatTypePrivate
final :
public
ChatType
{
15528
std::int32_t get_id()
const
final
{
15529
return
ID
;
15530
}
15531
15532
public
:
15534
int53
user_id_
;
15535
15539
chatTypePrivate
();
15540
15546
explicit
chatTypePrivate
(
int53
user_id_
);
15547
15549
static
const
std::int32_t
ID
= 1579049844;
15550
15556
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15557
};
15558
15562
class
chatTypeBasicGroup
final :
public
ChatType
{
15567
std::int32_t get_id()
const
final
{
15568
return
ID
;
15569
}
15570
15571
public
:
15573
int53
basic_group_id_
;
15574
15578
chatTypeBasicGroup
();
15579
15585
explicit
chatTypeBasicGroup
(
int53
basic_group_id_
);
15586
15588
static
const
std::int32_t
ID
= 973884508;
15589
15595
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15596
};
15597
15601
class
chatTypeSupergroup
final :
public
ChatType
{
15606
std::int32_t get_id()
const
final
{
15607
return
ID
;
15608
}
15609
15610
public
:
15612
int53
supergroup_id_
;
15614
bool
is_channel_
;
15615
15619
chatTypeSupergroup
();
15620
15627
chatTypeSupergroup
(
int53
supergroup_id_
,
bool
is_channel_
);
15628
15630
static
const
std::int32_t
ID
= -1472570774;
15631
15637
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15638
};
15639
15643
class
chatTypeSecret
final :
public
ChatType
{
15648
std::int32_t get_id()
const
final
{
15649
return
ID
;
15650
}
15651
15652
public
:
15654
int32
secret_chat_id_
;
15656
int53
user_id_
;
15657
15661
chatTypeSecret
();
15662
15669
chatTypeSecret
(
int32
secret_chat_id_
,
int53
user_id_
);
15670
15672
static
const
std::int32_t
ID
= 862366513;
15673
15679
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15680
};
15681
15685
class
chats
final :
public
Object
{
15690
std::int32_t get_id()
const
final
{
15691
return
ID
;
15692
}
15693
15694
public
:
15696
int32
total_count_
;
15698
array<int53>
chat_ids_
;
15699
15703
chats
();
15704
15711
chats
(
int32
total_count_
,
array<int53>
&&
chat_ids_
);
15712
15714
static
const
std::int32_t
ID
= 1809654812;
15715
15721
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15722
};
15723
15728
class
CheckChatUsernameResult
:
public
Object
{
15729
public
:
15730
};
15731
15735
class
checkChatUsernameResultOk
final :
public
CheckChatUsernameResult
{
15740
std::int32_t get_id()
const
final
{
15741
return
ID
;
15742
}
15743
15744
public
:
15745
15749
checkChatUsernameResultOk
();
15750
15752
static
const
std::int32_t
ID
= -1498956964;
15753
15759
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15760
};
15761
15765
class
checkChatUsernameResultUsernameInvalid
final :
public
CheckChatUsernameResult
{
15770
std::int32_t get_id()
const
final
{
15771
return
ID
;
15772
}
15773
15774
public
:
15775
15779
checkChatUsernameResultUsernameInvalid
();
15780
15782
static
const
std::int32_t
ID
= -636979370;
15783
15789
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15790
};
15791
15795
class
checkChatUsernameResultUsernameOccupied
final :
public
CheckChatUsernameResult
{
15800
std::int32_t get_id()
const
final
{
15801
return
ID
;
15802
}
15803
15804
public
:
15805
15809
checkChatUsernameResultUsernameOccupied
();
15810
15812
static
const
std::int32_t
ID
= 1320892201;
15813
15819
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15820
};
15821
15825
class
checkChatUsernameResultUsernamePurchasable
final :
public
CheckChatUsernameResult
{
15830
std::int32_t get_id()
const
final
{
15831
return
ID
;
15832
}
15833
15834
public
:
15835
15839
checkChatUsernameResultUsernamePurchasable
();
15840
15842
static
const
std::int32_t
ID
= 5885529;
15843
15849
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15850
};
15851
15855
class
checkChatUsernameResultPublicChatsTooMany
final :
public
CheckChatUsernameResult
{
15860
std::int32_t get_id()
const
final
{
15861
return
ID
;
15862
}
15863
15864
public
:
15865
15869
checkChatUsernameResultPublicChatsTooMany
();
15870
15872
static
const
std::int32_t
ID
= -659264388;
15873
15879
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15880
};
15881
15885
class
checkChatUsernameResultPublicGroupsUnavailable
final :
public
CheckChatUsernameResult
{
15890
std::int32_t get_id()
const
final
{
15891
return
ID
;
15892
}
15893
15894
public
:
15895
15899
checkChatUsernameResultPublicGroupsUnavailable
();
15900
15902
static
const
std::int32_t
ID
= -51833641;
15903
15909
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15910
};
15911
15916
class
CheckStickerSetNameResult
:
public
Object
{
15917
public
:
15918
};
15919
15923
class
checkStickerSetNameResultOk
final :
public
CheckStickerSetNameResult
{
15928
std::int32_t get_id()
const
final
{
15929
return
ID
;
15930
}
15931
15932
public
:
15933
15937
checkStickerSetNameResultOk
();
15938
15940
static
const
std::int32_t
ID
= -1404308904;
15941
15947
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15948
};
15949
15953
class
checkStickerSetNameResultNameInvalid
final :
public
CheckStickerSetNameResult
{
15958
std::int32_t get_id()
const
final
{
15959
return
ID
;
15960
}
15961
15962
public
:
15963
15967
checkStickerSetNameResultNameInvalid
();
15968
15970
static
const
std::int32_t
ID
= 177992244;
15971
15977
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15978
};
15979
15983
class
checkStickerSetNameResultNameOccupied
final :
public
CheckStickerSetNameResult
{
15988
std::int32_t get_id()
const
final
{
15989
return
ID
;
15990
}
15991
15992
public
:
15993
15997
checkStickerSetNameResultNameOccupied
();
15998
16000
static
const
std::int32_t
ID
= 1012980872;
16001
16007
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16008
};
16009
16010
class
checklistTask
;
16011
16012
class
formattedText
;
16013
16017
class
checklist
final :
public
Object
{
16022
std::int32_t get_id()
const
final
{
16023
return
ID
;
16024
}
16025
16026
public
:
16028
object_ptr<formattedText>
title_
;
16030
array<object_ptr<checklistTask>
>
tasks_
;
16032
bool
others_can_add_tasks_
;
16034
bool
can_add_tasks_
;
16036
bool
others_can_mark_tasks_as_done_
;
16038
bool
can_mark_tasks_as_done_
;
16039
16043
checklist
();
16044
16055
checklist
(
object_ptr<formattedText>
&&
title_
,
array
<
object_ptr<checklistTask>
> &&
tasks_
,
bool
others_can_add_tasks_
,
bool
can_add_tasks_
,
bool
others_can_mark_tasks_as_done_
,
bool
can_mark_tasks_as_done_
);
16056
16058
static
const
std::int32_t
ID
= -987598247;
16059
16065
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16066
};
16067
16068
class
formattedText
;
16069
16073
class
checklistTask
final :
public
Object
{
16078
std::int32_t get_id()
const
final
{
16079
return
ID
;
16080
}
16081
16082
public
:
16084
int32
id_
;
16086
object_ptr<formattedText>
text_
;
16088
int53
completed_by_user_id_
;
16090
int32
completion_date_
;
16091
16095
checklistTask
();
16096
16105
checklistTask
(
int32
id_
,
object_ptr<formattedText>
&&
text_
,
int53
completed_by_user_id_
,
int32
completion_date_
);
16106
16108
static
const
std::int32_t
ID
= 772992512;
16109
16115
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16116
};
16117
16118
class
birthdate
;
16119
16123
class
closeBirthdayUser
final :
public
Object
{
16128
std::int32_t get_id()
const
final
{
16129
return
ID
;
16130
}
16131
16132
public
:
16134
int53
user_id_
;
16136
object_ptr<birthdate>
birthdate_
;
16137
16141
closeBirthdayUser
();
16142
16149
closeBirthdayUser
(
int53
user_id_
,
object_ptr<birthdate>
&&
birthdate_
);
16150
16152
static
const
std::int32_t
ID
= -2147067410;
16153
16159
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16160
};
16161
16162
class
VectorPathCommand
;
16163
16167
class
closedVectorPath
final :
public
Object
{
16172
std::int32_t get_id()
const
final
{
16173
return
ID
;
16174
}
16175
16176
public
:
16178
array<object_ptr<VectorPathCommand>
>
commands_
;
16179
16183
closedVectorPath
();
16184
16190
explicit
closedVectorPath
(
array
<
object_ptr<VectorPathCommand>
> &&
commands_
);
16191
16193
static
const
std::int32_t
ID
= 589951657;
16194
16200
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16201
};
16202
16206
class
collectibleItemInfo
final :
public
Object
{
16211
std::int32_t get_id()
const
final
{
16212
return
ID
;
16213
}
16214
16215
public
:
16217
int32
purchase_date_
;
16219
string
currency_
;
16221
int53
amount_
;
16223
string
cryptocurrency_
;
16225
int64
cryptocurrency_amount_
;
16227
string
url_
;
16228
16232
collectibleItemInfo
();
16233
16244
collectibleItemInfo
(
int32
purchase_date_
,
string
const
&
currency_
,
int53
amount_
,
string
const
&
cryptocurrency_
,
int64
cryptocurrency_amount_
,
string
const
&
url_
);
16245
16247
static
const
std::int32_t
ID
= 1460640717;
16248
16254
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16255
};
16256
16261
class
CollectibleItemType
:
public
Object
{
16262
public
:
16263
};
16264
16268
class
collectibleItemTypeUsername
final :
public
CollectibleItemType
{
16273
std::int32_t get_id()
const
final
{
16274
return
ID
;
16275
}
16276
16277
public
:
16279
string
username_
;
16280
16284
collectibleItemTypeUsername
();
16285
16291
explicit
collectibleItemTypeUsername
(
string
const
&
username_
);
16292
16294
static
const
std::int32_t
ID
= 458680273;
16295
16301
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16302
};
16303
16307
class
collectibleItemTypePhoneNumber
final :
public
CollectibleItemType
{
16312
std::int32_t get_id()
const
final
{
16313
return
ID
;
16314
}
16315
16316
public
:
16318
string
phone_number_
;
16319
16323
collectibleItemTypePhoneNumber
();
16324
16330
explicit
collectibleItemTypePhoneNumber
(
string
const
&
phone_number_
);
16331
16333
static
const
std::int32_t
ID
= 1256251714;
16334
16340
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16341
};
16342
16343
class
affiliateProgramParameters
;
16344
16348
class
connectedAffiliateProgram
final :
public
Object
{
16353
std::int32_t get_id()
const
final
{
16354
return
ID
;
16355
}
16356
16357
public
:
16359
string
url_
;
16361
int53
bot_user_id_
;
16363
object_ptr<affiliateProgramParameters>
parameters_
;
16365
int32
connection_date_
;
16367
bool
is_disconnected_
;
16369
int64
user_count_
;
16371
int64
revenue_star_count_
;
16372
16376
connectedAffiliateProgram
();
16377
16389
connectedAffiliateProgram
(
string
const
&
url_
,
int53
bot_user_id_
,
object_ptr<affiliateProgramParameters>
&&
parameters_
,
int32
connection_date_
,
bool
is_disconnected_
,
int64
user_count_
,
int64
revenue_star_count_
);
16390
16392
static
const
std::int32_t
ID
= 1488942101;
16393
16399
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16400
};
16401
16402
class
connectedAffiliateProgram
;
16403
16407
class
connectedAffiliatePrograms
final :
public
Object
{
16412
std::int32_t get_id()
const
final
{
16413
return
ID
;
16414
}
16415
16416
public
:
16418
int32
total_count_
;
16420
array<object_ptr<connectedAffiliateProgram>
>
programs_
;
16422
string
next_offset_
;
16423
16427
connectedAffiliatePrograms
();
16428
16436
connectedAffiliatePrograms
(
int32
total_count_
,
array
<
object_ptr<connectedAffiliateProgram>
> &&
programs_
,
string
const
&
next_offset_
);
16437
16439
static
const
std::int32_t
ID
= 1505880847;
16440
16446
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16447
};
16448
16452
class
connectedWebsite
final :
public
Object
{
16457
std::int32_t get_id()
const
final
{
16458
return
ID
;
16459
}
16460
16461
public
:
16463
int64
id_
;
16465
string
domain_name_
;
16467
int53
bot_user_id_
;
16469
string
browser_
;
16471
string
platform_
;
16473
int32
log_in_date_
;
16475
int32
last_active_date_
;
16477
string
ip_address_
;
16479
string
location_
;
16480
16484
connectedWebsite
();
16485
16499
connectedWebsite
(
int64
id_
,
string
const
&
domain_name_
,
int53
bot_user_id_
,
string
const
&
browser_
,
string
const
&
platform_
,
int32
log_in_date_
,
int32
last_active_date_
,
string
const
&
ip_address_
,
string
const
&
location_
);
16500
16502
static
const
std::int32_t
ID
= 1978115978;
16503
16509
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16510
};
16511
16512
class
connectedWebsite
;
16513
16517
class
connectedWebsites
final :
public
Object
{
16522
std::int32_t get_id()
const
final
{
16523
return
ID
;
16524
}
16525
16526
public
:
16528
array<object_ptr<connectedWebsite>
>
websites_
;
16529
16533
connectedWebsites
();
16534
16540
explicit
connectedWebsites
(
array
<
object_ptr<connectedWebsite>
> &&
websites_
);
16541
16543
static
const
std::int32_t
ID
= -1727949694;
16544
16550
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16551
};
16552
16557
class
ConnectionState
:
public
Object
{
16558
public
:
16559
};
16560
16564
class
connectionStateWaitingForNetwork
final :
public
ConnectionState
{
16569
std::int32_t get_id()
const
final
{
16570
return
ID
;
16571
}
16572
16573
public
:
16574
16578
connectionStateWaitingForNetwork
();
16579
16581
static
const
std::int32_t
ID
= 1695405912;
16582
16588
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16589
};
16590
16594
class
connectionStateConnectingToProxy
final :
public
ConnectionState
{
16599
std::int32_t get_id()
const
final
{
16600
return
ID
;
16601
}
16602
16603
public
:
16604
16608
connectionStateConnectingToProxy
();
16609
16611
static
const
std::int32_t
ID
= -93187239;
16612
16618
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16619
};
16620
16624
class
connectionStateConnecting
final :
public
ConnectionState
{
16629
std::int32_t get_id()
const
final
{
16630
return
ID
;
16631
}
16632
16633
public
:
16634
16638
connectionStateConnecting
();
16639
16641
static
const
std::int32_t
ID
= -1298400670;
16642
16648
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16649
};
16650
16654
class
connectionStateUpdating
final :
public
ConnectionState
{
16659
std::int32_t get_id()
const
final
{
16660
return
ID
;
16661
}
16662
16663
public
:
16664
16668
connectionStateUpdating
();
16669
16671
static
const
std::int32_t
ID
= -188104009;
16672
16678
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16679
};
16680
16684
class
connectionStateReady
final :
public
ConnectionState
{
16689
std::int32_t get_id()
const
final
{
16690
return
ID
;
16691
}
16692
16693
public
:
16694
16698
connectionStateReady
();
16699
16701
static
const
std::int32_t
ID
= 48608492;
16702
16708
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16709
};
16710
16714
class
contact
final :
public
Object
{
16719
std::int32_t get_id()
const
final
{
16720
return
ID
;
16721
}
16722
16723
public
:
16725
string
phone_number_
;
16727
string
first_name_
;
16729
string
last_name_
;
16731
string
vcard_
;
16733
int53
user_id_
;
16734
16738
contact
();
16739
16749
contact
(
string
const
&
phone_number_
,
string
const
&
first_name_
,
string
const
&
last_name_
,
string
const
&
vcard_
,
int53
user_id_
);
16750
16752
static
const
std::int32_t
ID
= -1993844876;
16753
16759
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16760
};
16761
16765
class
count
final :
public
Object
{
16770
std::int32_t get_id()
const
final
{
16771
return
ID
;
16772
}
16773
16774
public
:
16776
int32
count_
;
16777
16781
count
();
16782
16788
explicit
count
(
int32
count_
);
16789
16791
static
const
std::int32_t
ID
= 1295577348;
16792
16798
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16799
};
16800
16801
class
countryInfo
;
16802
16806
class
countries
final :
public
Object
{
16811
std::int32_t get_id()
const
final
{
16812
return
ID
;
16813
}
16814
16815
public
:
16817
array<object_ptr<countryInfo>
>
countries_
;
16818
16822
countries
();
16823
16829
explicit
countries
(
array
<
object_ptr<countryInfo>
> &&
countries_
);
16830
16832
static
const
std::int32_t
ID
= 1854211813;
16833
16839
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16840
};
16841
16845
class
countryInfo
final :
public
Object
{
16850
std::int32_t get_id()
const
final
{
16851
return
ID
;
16852
}
16853
16854
public
:
16856
string
country_code_
;
16858
string
name_
;
16860
string
english_name_
;
16862
bool
is_hidden_
;
16864
array<string>
calling_codes_
;
16865
16869
countryInfo
();
16870
16880
countryInfo
(
string
const
&
country_code_
,
string
const
&
name_
,
string
const
&
english_name_
,
bool
is_hidden_
,
array<string>
&&
calling_codes_
);
16881
16883
static
const
std::int32_t
ID
= 1617195722;
16884
16890
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16891
};
16892
16893
class
failedToAddMembers
;
16894
16898
class
createdBasicGroupChat
final :
public
Object
{
16903
std::int32_t get_id()
const
final
{
16904
return
ID
;
16905
}
16906
16907
public
:
16909
int53
chat_id_
;
16911
object_ptr<failedToAddMembers>
failed_to_add_members_
;
16912
16916
createdBasicGroupChat
();
16917
16924
createdBasicGroupChat
(
int53
chat_id_
,
object_ptr<failedToAddMembers>
&&
failed_to_add_members_
);
16925
16927
static
const
std::int32_t
ID
= -20417068;
16928
16934
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16935
};
16936
16940
class
currentWeather
final :
public
Object
{
16945
std::int32_t get_id()
const
final
{
16946
return
ID
;
16947
}
16948
16949
public
:
16951
double
temperature_
;
16953
string
emoji_
;
16954
16958
currentWeather
();
16959
16966
currentWeather
(
double
temperature_
,
string
const
&
emoji_
);
16967
16969
static
const
std::int32_t
ID
= -355555136;
16970
16976
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16977
};
16978
16982
class
customRequestResult
final :
public
Object
{
16987
std::int32_t get_id()
const
final
{
16988
return
ID
;
16989
}
16990
16991
public
:
16993
string
result_
;
16994
16998
customRequestResult
();
16999
17005
explicit
customRequestResult
(
string
const
&
result_
);
17006
17008
static
const
std::int32_t
ID
= -2009960452;
17009
17015
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17016
};
17017
17021
class
data
final :
public
Object
{
17026
std::int32_t get_id()
const
final
{
17027
return
ID
;
17028
}
17029
17030
public
:
17032
bytes
data_
;
17033
17037
data
();
17038
17044
explicit
data
(
bytes
const
&
data_
);
17045
17047
static
const
std::int32_t
ID
= 221197337;
17048
17054
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17055
};
17056
17060
class
databaseStatistics
final :
public
Object
{
17065
std::int32_t get_id()
const
final
{
17066
return
ID
;
17067
}
17068
17069
public
:
17071
string
statistics_
;
17072
17076
databaseStatistics
();
17077
17083
explicit
databaseStatistics
(
string
const
&
statistics_
);
17084
17086
static
const
std::int32_t
ID
= -1123912880;
17087
17093
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17094
};
17095
17099
class
date
final :
public
Object
{
17104
std::int32_t get_id()
const
final
{
17105
return
ID
;
17106
}
17107
17108
public
:
17110
int32
day_
;
17112
int32
month_
;
17114
int32
year_
;
17115
17119
date
();
17120
17128
date
(
int32
day_
,
int32
month_
,
int32
year_
);
17129
17131
static
const
std::int32_t
ID
= -277956960;
17132
17138
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17139
};
17140
17144
class
dateRange
final :
public
Object
{
17149
std::int32_t get_id()
const
final
{
17150
return
ID
;
17151
}
17152
17153
public
:
17155
int32
start_date_
;
17157
int32
end_date_
;
17158
17162
dateRange
();
17163
17170
dateRange
(
int32
start_date_
,
int32
end_date_
);
17171
17173
static
const
std::int32_t
ID
= 1360333926;
17174
17180
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17181
};
17182
17183
class
file
;
17184
17188
class
datedFile
final :
public
Object
{
17193
std::int32_t get_id()
const
final
{
17194
return
ID
;
17195
}
17196
17197
public
:
17199
object_ptr<file>
file_
;
17201
int32
date_
;
17202
17206
datedFile
();
17207
17214
datedFile
(
object_ptr<file>
&&
file_
,
int32
date_
);
17215
17217
static
const
std::int32_t
ID
= -1840795491;
17218
17224
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17225
};
17226
17227
class
formattedText
;
17228
17232
class
deepLinkInfo
final :
public
Object
{
17237
std::int32_t get_id()
const
final
{
17238
return
ID
;
17239
}
17240
17241
public
:
17243
object_ptr<formattedText>
text_
;
17245
bool
need_update_application_
;
17246
17250
deepLinkInfo
();
17251
17258
deepLinkInfo
(
object_ptr<formattedText>
&&
text_
,
bool
need_update_application_
);
17259
17261
static
const
std::int32_t
ID
= 1864081662;
17262
17268
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17269
};
17270
17275
class
DeviceToken
:
public
Object
{
17276
public
:
17277
};
17278
17282
class
deviceTokenFirebaseCloudMessaging
final :
public
DeviceToken
{
17287
std::int32_t get_id()
const
final
{
17288
return
ID
;
17289
}
17290
17291
public
:
17293
string
token_
;
17295
bool
encrypt_
;
17296
17300
deviceTokenFirebaseCloudMessaging
();
17301
17308
deviceTokenFirebaseCloudMessaging
(
string
const
&
token_
,
bool
encrypt_
);
17309
17311
static
const
std::int32_t
ID
= -797881849;
17312
17318
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17319
};
17320
17324
class
deviceTokenApplePush
final :
public
DeviceToken
{
17329
std::int32_t get_id()
const
final
{
17330
return
ID
;
17331
}
17332
17333
public
:
17335
string
device_token_
;
17337
bool
is_app_sandbox_
;
17338
17342
deviceTokenApplePush
();
17343
17350
deviceTokenApplePush
(
string
const
&
device_token_
,
bool
is_app_sandbox_
);
17351
17353
static
const
std::int32_t
ID
= 387541955;
17354
17360
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17361
};
17362
17366
class
deviceTokenApplePushVoIP
final :
public
DeviceToken
{
17371
std::int32_t get_id()
const
final
{
17372
return
ID
;
17373
}
17374
17375
public
:
17377
string
device_token_
;
17379
bool
is_app_sandbox_
;
17381
bool
encrypt_
;
17382
17386
deviceTokenApplePushVoIP
();
17387
17395
deviceTokenApplePushVoIP
(
string
const
&
device_token_
,
bool
is_app_sandbox_
,
bool
encrypt_
);
17396
17398
static
const
std::int32_t
ID
= 804275689;
17399
17405
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17406
};
17407
17411
class
deviceTokenWindowsPush
final :
public
DeviceToken
{
17416
std::int32_t get_id()
const
final
{
17417
return
ID
;
17418
}
17419
17420
public
:
17422
string
access_token_
;
17423
17427
deviceTokenWindowsPush
();
17428
17434
explicit
deviceTokenWindowsPush
(
string
const
&
access_token_
);
17435
17437
static
const
std::int32_t
ID
= -1410514289;
17438
17444
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17445
};
17446
17450
class
deviceTokenMicrosoftPush
final :
public
DeviceToken
{
17455
std::int32_t get_id()
const
final
{
17456
return
ID
;
17457
}
17458
17459
public
:
17461
string
channel_uri_
;
17462
17466
deviceTokenMicrosoftPush
();
17467
17473
explicit
deviceTokenMicrosoftPush
(
string
const
&
channel_uri_
);
17474
17476
static
const
std::int32_t
ID
= 1224269900;
17477
17483
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17484
};
17485
17489
class
deviceTokenMicrosoftPushVoIP
final :
public
DeviceToken
{
17494
std::int32_t get_id()
const
final
{
17495
return
ID
;
17496
}
17497
17498
public
:
17500
string
channel_uri_
;
17501
17505
deviceTokenMicrosoftPushVoIP
();
17506
17512
explicit
deviceTokenMicrosoftPushVoIP
(
string
const
&
channel_uri_
);
17513
17515
static
const
std::int32_t
ID
= -785603759;
17516
17522
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17523
};
17524
17528
class
deviceTokenWebPush
final :
public
DeviceToken
{
17533
std::int32_t get_id()
const
final
{
17534
return
ID
;
17535
}
17536
17537
public
:
17539
string
endpoint_
;
17541
string
p256dh_base64url_
;
17543
string
auth_base64url_
;
17544
17548
deviceTokenWebPush
();
17549
17557
deviceTokenWebPush
(
string
const
&
endpoint_
,
string
const
&
p256dh_base64url_
,
string
const
&
auth_base64url_
);
17558
17560
static
const
std::int32_t
ID
= -1694507273;
17561
17567
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17568
};
17569
17573
class
deviceTokenSimplePush
final :
public
DeviceToken
{
17578
std::int32_t get_id()
const
final
{
17579
return
ID
;
17580
}
17581
17582
public
:
17584
string
endpoint_
;
17585
17589
deviceTokenSimplePush
();
17590
17596
explicit
deviceTokenSimplePush
(
string
const
&
endpoint_
);
17597
17599
static
const
std::int32_t
ID
= 49584736;
17600
17606
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17607
};
17608
17612
class
deviceTokenUbuntuPush
final :
public
DeviceToken
{
17617
std::int32_t get_id()
const
final
{
17618
return
ID
;
17619
}
17620
17621
public
:
17623
string
token_
;
17624
17628
deviceTokenUbuntuPush
();
17629
17635
explicit
deviceTokenUbuntuPush
(
string
const
&
token_
);
17636
17638
static
const
std::int32_t
ID
= 1782320422;
17639
17645
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17646
};
17647
17651
class
deviceTokenBlackBerryPush
final :
public
DeviceToken
{
17656
std::int32_t get_id()
const
final
{
17657
return
ID
;
17658
}
17659
17660
public
:
17662
string
token_
;
17663
17667
deviceTokenBlackBerryPush
();
17668
17674
explicit
deviceTokenBlackBerryPush
(
string
const
&
token_
);
17675
17677
static
const
std::int32_t
ID
= 1559167234;
17678
17684
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17685
};
17686
17690
class
deviceTokenTizenPush
final :
public
DeviceToken
{
17695
std::int32_t get_id()
const
final
{
17696
return
ID
;
17697
}
17698
17699
public
:
17701
string
reg_id_
;
17702
17706
deviceTokenTizenPush
();
17707
17713
explicit
deviceTokenTizenPush
(
string
const
&
reg_id_
);
17714
17716
static
const
std::int32_t
ID
= -1359947213;
17717
17723
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17724
};
17725
17729
class
deviceTokenHuaweiPush
final :
public
DeviceToken
{
17734
std::int32_t get_id()
const
final
{
17735
return
ID
;
17736
}
17737
17738
public
:
17740
string
token_
;
17742
bool
encrypt_
;
17743
17747
deviceTokenHuaweiPush
();
17748
17755
deviceTokenHuaweiPush
(
string
const
&
token_
,
bool
encrypt_
);
17756
17758
static
const
std::int32_t
ID
= 1989103142;
17759
17765
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17766
};
17767
17768
class
sticker
;
17769
17774
class
DiceStickers
:
public
Object
{
17775
public
:
17776
};
17777
17781
class
diceStickersRegular
final :
public
DiceStickers
{
17786
std::int32_t get_id()
const
final
{
17787
return
ID
;
17788
}
17789
17790
public
:
17792
object_ptr<sticker>
sticker_
;
17793
17797
diceStickersRegular
();
17798
17804
explicit
diceStickersRegular
(
object_ptr<sticker>
&&
sticker_
);
17805
17807
static
const
std::int32_t
ID
= -740299570;
17808
17814
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17815
};
17816
17820
class
diceStickersSlotMachine
final :
public
DiceStickers
{
17825
std::int32_t get_id()
const
final
{
17826
return
ID
;
17827
}
17828
17829
public
:
17831
object_ptr<sticker>
background_
;
17833
object_ptr<sticker>
lever_
;
17835
object_ptr<sticker>
left_reel_
;
17837
object_ptr<sticker>
center_reel_
;
17839
object_ptr<sticker>
right_reel_
;
17840
17844
diceStickersSlotMachine
();
17845
17855
diceStickersSlotMachine
(
object_ptr<sticker>
&&
background_
,
object_ptr<sticker>
&&
lever_
,
object_ptr<sticker>
&&
left_reel_
,
object_ptr<sticker>
&&
center_reel_
,
object_ptr<sticker>
&&
right_reel_
);
17856
17858
static
const
std::int32_t
ID
= -375223124;
17859
17865
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17866
};
17867
17868
class
MessageSender
;
17869
17870
class
draftMessage
;
17871
17872
class
message
;
17873
17877
class
directMessagesChatTopic
final :
public
Object
{
17882
std::int32_t get_id()
const
final
{
17883
return
ID
;
17884
}
17885
17886
public
:
17888
int53
chat_id_
;
17890
int53
id_
;
17892
object_ptr<MessageSender>
sender_id_
;
17894
int64
order_
;
17896
bool
can_send_unpaid_messages_
;
17898
bool
is_marked_as_unread_
;
17900
int53
unread_count_
;
17902
int53
last_read_inbox_message_id_
;
17904
int53
last_read_outbox_message_id_
;
17906
int53
unread_reaction_count_
;
17908
object_ptr<message>
last_message_
;
17910
object_ptr<draftMessage>
draft_message_
;
17911
17915
directMessagesChatTopic
();
17916
17933
directMessagesChatTopic
(
int53
chat_id_
,
int53
id_
,
object_ptr<MessageSender>
&&
sender_id_
,
int64
order_
,
bool
can_send_unpaid_messages_
,
bool
is_marked_as_unread_
,
int53
unread_count_
,
int53
last_read_inbox_message_id_
,
int53
last_read_outbox_message_id_
,
int53
unread_reaction_count_
,
object_ptr<message>
&&
last_message_
,
object_ptr<draftMessage>
&&
draft_message_
);
17934
17936
static
const
std::int32_t
ID
= 1778377757;
17937
17943
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17944
};
17945
17946
class
file
;
17947
17948
class
minithumbnail
;
17949
17950
class
thumbnail
;
17951
17955
class
document
final :
public
Object
{
17960
std::int32_t get_id()
const
final
{
17961
return
ID
;
17962
}
17963
17964
public
:
17966
string
file_name_
;
17968
string
mime_type_
;
17970
object_ptr<minithumbnail>
minithumbnail_
;
17972
object_ptr<thumbnail>
thumbnail_
;
17974
object_ptr<file>
document_
;
17975
17979
document
();
17980
17990
document
(
string
const
&
file_name_
,
string
const
&
mime_type_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
object_ptr<thumbnail>
&&
thumbnail_
,
object_ptr<file>
&&
document_
);
17991
17993
static
const
std::int32_t
ID
= -1357271080;
17994
18000
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18001
};
18002
18006
class
downloadedFileCounts
final :
public
Object
{
18011
std::int32_t get_id()
const
final
{
18012
return
ID
;
18013
}
18014
18015
public
:
18017
int32
active_count_
;
18019
int32
paused_count_
;
18021
int32
completed_count_
;
18022
18026
downloadedFileCounts
();
18027
18035
downloadedFileCounts
(
int32
active_count_
,
int32
paused_count_
,
int32
completed_count_
);
18036
18038
static
const
std::int32_t
ID
= -1973999550;
18039
18045
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18046
};
18047
18048
class
InputMessageContent
;
18049
18050
class
InputMessageReplyTo
;
18051
18052
class
inputSuggestedPostInfo
;
18053
18057
class
draftMessage
final :
public
Object
{
18062
std::int32_t get_id()
const
final
{
18063
return
ID
;
18064
}
18065
18066
public
:
18068
object_ptr<InputMessageReplyTo>
reply_to_
;
18070
int32
date_
;
18072
object_ptr<InputMessageContent>
input_message_text_
;
18074
int64
effect_id_
;
18076
object_ptr<inputSuggestedPostInfo>
suggested_post_info_
;
18077
18081
draftMessage
();
18082
18092
draftMessage
(
object_ptr<InputMessageReplyTo>
&&
reply_to_
,
int32
date_
,
object_ptr<InputMessageContent>
&&
input_message_text_
,
int64
effect_id_
,
object_ptr<inputSuggestedPostInfo>
&&
suggested_post_info_
);
18093
18095
static
const
std::int32_t
ID
= -1165040650;
18096
18102
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18103
};
18104
18109
class
EmailAddressAuthentication
:
public
Object
{
18110
public
:
18111
};
18112
18116
class
emailAddressAuthenticationCode
final :
public
EmailAddressAuthentication
{
18121
std::int32_t get_id()
const
final
{
18122
return
ID
;
18123
}
18124
18125
public
:
18127
string
code_
;
18128
18132
emailAddressAuthenticationCode
();
18133
18139
explicit
emailAddressAuthenticationCode
(
string
const
&
code_
);
18140
18142
static
const
std::int32_t
ID
= -993257022;
18143
18149
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18150
};
18151
18155
class
emailAddressAuthenticationAppleId
final :
public
EmailAddressAuthentication
{
18160
std::int32_t get_id()
const
final
{
18161
return
ID
;
18162
}
18163
18164
public
:
18166
string
token_
;
18167
18171
emailAddressAuthenticationAppleId
();
18172
18178
explicit
emailAddressAuthenticationAppleId
(
string
const
&
token_
);
18179
18181
static
const
std::int32_t
ID
= 633948265;
18182
18188
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18189
};
18190
18194
class
emailAddressAuthenticationGoogleId
final :
public
EmailAddressAuthentication
{
18199
std::int32_t get_id()
const
final
{
18200
return
ID
;
18201
}
18202
18203
public
:
18205
string
token_
;
18206
18210
emailAddressAuthenticationGoogleId
();
18211
18217
explicit
emailAddressAuthenticationGoogleId
(
string
const
&
token_
);
18218
18220
static
const
std::int32_t
ID
= -19142846;
18221
18227
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18228
};
18229
18233
class
emailAddressAuthenticationCodeInfo
final :
public
Object
{
18238
std::int32_t get_id()
const
final
{
18239
return
ID
;
18240
}
18241
18242
public
:
18244
string
email_address_pattern_
;
18246
int32
length_
;
18247
18251
emailAddressAuthenticationCodeInfo
();
18252
18259
emailAddressAuthenticationCodeInfo
(
string
const
&
email_address_pattern_
,
int32
length_
);
18260
18262
static
const
std::int32_t
ID
= 1151066659;
18263
18269
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18270
};
18271
18276
class
EmailAddressResetState
:
public
Object
{
18277
public
:
18278
};
18279
18283
class
emailAddressResetStateAvailable
final :
public
EmailAddressResetState
{
18288
std::int32_t get_id()
const
final
{
18289
return
ID
;
18290
}
18291
18292
public
:
18294
int32
wait_period_
;
18295
18299
emailAddressResetStateAvailable
();
18300
18306
explicit
emailAddressResetStateAvailable
(
int32
wait_period_
);
18307
18309
static
const
std::int32_t
ID
= -1917177600;
18310
18316
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18317
};
18318
18322
class
emailAddressResetStatePending
final :
public
EmailAddressResetState
{
18327
std::int32_t get_id()
const
final
{
18328
return
ID
;
18329
}
18330
18331
public
:
18333
int32
reset_in_
;
18334
18338
emailAddressResetStatePending
();
18339
18345
explicit
emailAddressResetStatePending
(
int32
reset_in_
);
18346
18348
static
const
std::int32_t
ID
= -1885966805;
18349
18355
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18356
};
18357
18358
class
emojiCategory
;
18359
18363
class
emojiCategories
final :
public
Object
{
18368
std::int32_t get_id()
const
final
{
18369
return
ID
;
18370
}
18371
18372
public
:
18374
array<object_ptr<emojiCategory>
>
categories_
;
18375
18379
emojiCategories
();
18380
18386
explicit
emojiCategories
(
array
<
object_ptr<emojiCategory>
> &&
categories_
);
18387
18389
static
const
std::int32_t
ID
= -1455387824;
18390
18396
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18397
};
18398
18399
class
EmojiCategorySource
;
18400
18401
class
sticker
;
18402
18406
class
emojiCategory
final :
public
Object
{
18411
std::int32_t get_id()
const
final
{
18412
return
ID
;
18413
}
18414
18415
public
:
18417
string
name_
;
18419
object_ptr<sticker>
icon_
;
18421
object_ptr<EmojiCategorySource>
source_
;
18423
bool
is_greeting_
;
18424
18428
emojiCategory
();
18429
18438
emojiCategory
(
string
const
&
name_
,
object_ptr<sticker>
&&
icon_
,
object_ptr<EmojiCategorySource>
&&
source_
,
bool
is_greeting_
);
18439
18441
static
const
std::int32_t
ID
= 571335919;
18442
18448
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18449
};
18450
18455
class
EmojiCategorySource
:
public
Object
{
18456
public
:
18457
};
18458
18462
class
emojiCategorySourceSearch
final :
public
EmojiCategorySource
{
18467
std::int32_t get_id()
const
final
{
18468
return
ID
;
18469
}
18470
18471
public
:
18473
array<string>
emojis_
;
18474
18478
emojiCategorySourceSearch
();
18479
18485
explicit
emojiCategorySourceSearch
(
array<string>
&&
emojis_
);
18486
18488
static
const
std::int32_t
ID
= -453260262;
18489
18495
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18496
};
18497
18501
class
emojiCategorySourcePremium
final :
public
EmojiCategorySource
{
18506
std::int32_t get_id()
const
final
{
18507
return
ID
;
18508
}
18509
18510
public
:
18511
18515
emojiCategorySourcePremium
();
18516
18518
static
const
std::int32_t
ID
= -1932358388;
18519
18525
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18526
};
18527
18532
class
EmojiCategoryType
:
public
Object
{
18533
public
:
18534
};
18535
18539
class
emojiCategoryTypeDefault
final :
public
EmojiCategoryType
{
18544
std::int32_t get_id()
const
final
{
18545
return
ID
;
18546
}
18547
18548
public
:
18549
18553
emojiCategoryTypeDefault
();
18554
18556
static
const
std::int32_t
ID
= 1188782699;
18557
18563
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18564
};
18565
18569
class
emojiCategoryTypeRegularStickers
final :
public
EmojiCategoryType
{
18574
std::int32_t get_id()
const
final
{
18575
return
ID
;
18576
}
18577
18578
public
:
18579
18583
emojiCategoryTypeRegularStickers
();
18584
18586
static
const
std::int32_t
ID
= -1337484846;
18587
18593
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18594
};
18595
18599
class
emojiCategoryTypeEmojiStatus
final :
public
EmojiCategoryType
{
18604
std::int32_t get_id()
const
final
{
18605
return
ID
;
18606
}
18607
18608
public
:
18609
18613
emojiCategoryTypeEmojiStatus
();
18614
18616
static
const
std::int32_t
ID
= 1381282631;
18617
18623
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18624
};
18625
18629
class
emojiCategoryTypeChatPhoto
final :
public
EmojiCategoryType
{
18634
std::int32_t get_id()
const
final
{
18635
return
ID
;
18636
}
18637
18638
public
:
18639
18643
emojiCategoryTypeChatPhoto
();
18644
18646
static
const
std::int32_t
ID
= 1059063081;
18647
18653
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18654
};
18655
18656
class
themeSettings
;
18657
18661
class
emojiChatTheme
final :
public
Object
{
18666
std::int32_t get_id()
const
final
{
18667
return
ID
;
18668
}
18669
18670
public
:
18672
string
name_
;
18674
object_ptr<themeSettings>
light_settings_
;
18676
object_ptr<themeSettings>
dark_settings_
;
18677
18681
emojiChatTheme
();
18682
18690
emojiChatTheme
(
string
const
&
name_
,
object_ptr<themeSettings>
&&
light_settings_
,
object_ptr<themeSettings>
&&
dark_settings_
);
18691
18693
static
const
std::int32_t
ID
= -329422882;
18694
18700
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18701
};
18702
18706
class
emojiKeyword
final :
public
Object
{
18711
std::int32_t get_id()
const
final
{
18712
return
ID
;
18713
}
18714
18715
public
:
18717
string
emoji_
;
18719
string
keyword_
;
18720
18724
emojiKeyword
();
18725
18732
emojiKeyword
(
string
const
&
emoji_
,
string
const
&
keyword_
);
18733
18735
static
const
std::int32_t
ID
= -2112285985;
18736
18742
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18743
};
18744
18745
class
emojiKeyword
;
18746
18750
class
emojiKeywords
final :
public
Object
{
18755
std::int32_t get_id()
const
final
{
18756
return
ID
;
18757
}
18758
18759
public
:
18761
array<object_ptr<emojiKeyword>
>
emoji_keywords_
;
18762
18766
emojiKeywords
();
18767
18773
explicit
emojiKeywords
(
array
<
object_ptr<emojiKeyword>
> &&
emoji_keywords_
);
18774
18776
static
const
std::int32_t
ID
= 689723339;
18777
18783
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18784
};
18785
18786
class
sticker
;
18787
18791
class
emojiReaction
final :
public
Object
{
18796
std::int32_t get_id()
const
final
{
18797
return
ID
;
18798
}
18799
18800
public
:
18802
string
emoji_
;
18804
string
title_
;
18806
bool
is_active_
;
18808
object_ptr<sticker>
static_icon_
;
18810
object_ptr<sticker>
appear_animation_
;
18812
object_ptr<sticker>
select_animation_
;
18814
object_ptr<sticker>
activate_animation_
;
18816
object_ptr<sticker>
effect_animation_
;
18818
object_ptr<sticker>
around_animation_
;
18820
object_ptr<sticker>
center_animation_
;
18821
18825
emojiReaction
();
18826
18841
emojiReaction
(
string
const
&
emoji_
,
string
const
&
title_
,
bool
is_active_
,
object_ptr<sticker>
&&
static_icon_
,
object_ptr<sticker>
&&
appear_animation_
,
object_ptr<sticker>
&&
select_animation_
,
object_ptr<sticker>
&&
activate_animation_
,
object_ptr<sticker>
&&
effect_animation_
,
object_ptr<sticker>
&&
around_animation_
,
object_ptr<sticker>
&&
center_animation_
);
18842
18844
static
const
std::int32_t
ID
= 1616063583;
18845
18851
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18852
};
18853
18854
class
EmojiStatusType
;
18855
18859
class
emojiStatus
final :
public
Object
{
18864
std::int32_t get_id()
const
final
{
18865
return
ID
;
18866
}
18867
18868
public
:
18870
object_ptr<EmojiStatusType>
type_
;
18872
int32
expiration_date_
;
18873
18877
emojiStatus
();
18878
18885
emojiStatus
(
object_ptr<EmojiStatusType>
&&
type_
,
int32
expiration_date_
);
18886
18888
static
const
std::int32_t
ID
= 973424912;
18889
18895
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18896
};
18897
18901
class
emojiStatusCustomEmojis
final :
public
Object
{
18906
std::int32_t get_id()
const
final
{
18907
return
ID
;
18908
}
18909
18910
public
:
18912
array<int64>
custom_emoji_ids_
;
18913
18917
emojiStatusCustomEmojis
();
18918
18924
explicit
emojiStatusCustomEmojis
(
array<int64>
&&
custom_emoji_ids_
);
18925
18927
static
const
std::int32_t
ID
= 917123337;
18928
18934
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18935
};
18936
18937
class
upgradedGiftBackdropColors
;
18938
18943
class
EmojiStatusType
:
public
Object
{
18944
public
:
18945
};
18946
18950
class
emojiStatusTypeCustomEmoji
final :
public
EmojiStatusType
{
18955
std::int32_t get_id()
const
final
{
18956
return
ID
;
18957
}
18958
18959
public
:
18961
int64
custom_emoji_id_
;
18962
18966
emojiStatusTypeCustomEmoji
();
18967
18973
explicit
emojiStatusTypeCustomEmoji
(
int64
custom_emoji_id_
);
18974
18976
static
const
std::int32_t
ID
= -1666780939;
18977
18983
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18984
};
18985
18989
class
emojiStatusTypeUpgradedGift
final :
public
EmojiStatusType
{
18994
std::int32_t get_id()
const
final
{
18995
return
ID
;
18996
}
18997
18998
public
:
19000
int64
upgraded_gift_id_
;
19002
string
gift_title_
;
19004
string
gift_name_
;
19006
int64
model_custom_emoji_id_
;
19008
int64
symbol_custom_emoji_id_
;
19010
object_ptr<upgradedGiftBackdropColors>
backdrop_colors_
;
19011
19015
emojiStatusTypeUpgradedGift
();
19016
19027
emojiStatusTypeUpgradedGift
(
int64
upgraded_gift_id_
,
string
const
&
gift_title_
,
string
const
&
gift_name_
,
int64
model_custom_emoji_id_
,
int64
symbol_custom_emoji_id_
,
object_ptr<upgradedGiftBackdropColors>
&&
backdrop_colors_
);
19028
19030
static
const
std::int32_t
ID
= -837921804;
19031
19037
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19038
};
19039
19040
class
emojiStatus
;
19041
19045
class
emojiStatuses
final :
public
Object
{
19050
std::int32_t get_id()
const
final
{
19051
return
ID
;
19052
}
19053
19054
public
:
19056
array<object_ptr<emojiStatus>
>
emoji_statuses_
;
19057
19061
emojiStatuses
();
19062
19068
explicit
emojiStatuses
(
array
<
object_ptr<emojiStatus>
> &&
emoji_statuses_
);
19069
19071
static
const
std::int32_t
ID
= 1186104146;
19072
19078
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19079
};
19080
19084
class
emojis
final :
public
Object
{
19089
std::int32_t get_id()
const
final
{
19090
return
ID
;
19091
}
19092
19093
public
:
19095
array<string>
emojis_
;
19096
19100
emojis
();
19101
19107
explicit
emojis
(
array<string>
&&
emojis_
);
19108
19110
static
const
std::int32_t
ID
= 950339552;
19111
19117
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19118
};
19119
19123
class
encryptedCredentials
final :
public
Object
{
19128
std::int32_t get_id()
const
final
{
19129
return
ID
;
19130
}
19131
19132
public
:
19134
bytes
data_
;
19136
bytes
hash_
;
19138
bytes
secret_
;
19139
19143
encryptedCredentials
();
19144
19152
encryptedCredentials
(
bytes
const
&
data_
,
bytes
const
&
hash_
,
bytes
const
&
secret_
);
19153
19155
static
const
std::int32_t
ID
= 1331106766;
19156
19162
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19163
};
19164
19165
class
PassportElementType
;
19166
19167
class
datedFile
;
19168
19172
class
encryptedPassportElement
final :
public
Object
{
19177
std::int32_t get_id()
const
final
{
19178
return
ID
;
19179
}
19180
19181
public
:
19183
object_ptr<PassportElementType>
type_
;
19185
bytes
data_
;
19187
object_ptr<datedFile>
front_side_
;
19189
object_ptr<datedFile>
reverse_side_
;
19191
object_ptr<datedFile>
selfie_
;
19193
array<object_ptr<datedFile>
>
translation_
;
19195
array<object_ptr<datedFile>
>
files_
;
19197
string
value_
;
19199
string
hash_
;
19200
19204
encryptedPassportElement
();
19205
19219
encryptedPassportElement
(
object_ptr<PassportElementType>
&&
type_
,
bytes
const
&
data_
,
object_ptr<datedFile>
&&
front_side_
,
object_ptr<datedFile>
&&
reverse_side_
,
object_ptr<datedFile>
&&
selfie_
,
array
<
object_ptr<datedFile>
> &&
translation_
,
array
<
object_ptr<datedFile>
> &&
files_
,
string
const
&
value_
,
string
const
&
hash_
);
19220
19222
static
const
std::int32_t
ID
= 2002386193;
19223
19229
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19230
};
19231
19235
class
error
final :
public
Object
{
19240
std::int32_t get_id()
const
final
{
19241
return
ID
;
19242
}
19243
19244
public
:
19246
int32
code_
;
19248
string
message_
;
19249
19253
error
();
19254
19261
error
(
int32
code_
,
string
const
&
message_
);
19262
19264
static
const
std::int32_t
ID
= -1679978726;
19265
19271
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19272
};
19273
19274
class
formattedText
;
19275
19279
class
factCheck
final :
public
Object
{
19284
std::int32_t get_id()
const
final
{
19285
return
ID
;
19286
}
19287
19288
public
:
19290
object_ptr<formattedText>
text_
;
19292
string
country_code_
;
19293
19297
factCheck
();
19298
19305
factCheck
(
object_ptr<formattedText>
&&
text_
,
string
const
&
country_code_
);
19306
19308
static
const
std::int32_t
ID
= -1048184552;
19309
19315
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19316
};
19317
19321
class
failedToAddMember
final :
public
Object
{
19326
std::int32_t get_id()
const
final
{
19327
return
ID
;
19328
}
19329
19330
public
:
19332
int53
user_id_
;
19334
bool
premium_would_allow_invite_
;
19336
bool
premium_required_to_send_messages_
;
19337
19341
failedToAddMember
();
19342
19350
failedToAddMember
(
int53
user_id_
,
bool
premium_would_allow_invite_
,
bool
premium_required_to_send_messages_
);
19351
19353
static
const
std::int32_t
ID
= -282891070;
19354
19360
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19361
};
19362
19363
class
failedToAddMember
;
19364
19368
class
failedToAddMembers
final :
public
Object
{
19373
std::int32_t get_id()
const
final
{
19374
return
ID
;
19375
}
19376
19377
public
:
19379
array<object_ptr<failedToAddMember>
>
failed_to_add_members_
;
19380
19384
failedToAddMembers
();
19385
19391
explicit
failedToAddMembers
(
array
<
object_ptr<failedToAddMember>
> &&
failed_to_add_members_
);
19392
19394
static
const
std::int32_t
ID
= -272587152;
19395
19401
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19402
};
19403
19404
class
localFile
;
19405
19406
class
remoteFile
;
19407
19411
class
file
final :
public
Object
{
19416
std::int32_t get_id()
const
final
{
19417
return
ID
;
19418
}
19419
19420
public
:
19422
int32
id_
;
19424
int53
size_
;
19426
int53
expected_size_
;
19428
object_ptr<localFile>
local_
;
19430
object_ptr<remoteFile>
remote_
;
19431
19435
file
();
19436
19446
file
(
int32
id_
,
int53
size_
,
int53
expected_size_
,
object_ptr<localFile>
&&
local_
,
object_ptr<remoteFile>
&&
remote_
);
19447
19449
static
const
std::int32_t
ID
= 1263291956;
19450
19456
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19457
};
19458
19459
class
message
;
19460
19464
class
fileDownload
final :
public
Object
{
19469
std::int32_t get_id()
const
final
{
19470
return
ID
;
19471
}
19472
19473
public
:
19475
int32
file_id_
;
19477
object_ptr<message>
message_
;
19479
int32
add_date_
;
19481
int32
complete_date_
;
19483
bool
is_paused_
;
19484
19488
fileDownload
();
19489
19499
fileDownload
(
int32
file_id_
,
object_ptr<message>
&&
message_
,
int32
add_date_
,
int32
complete_date_
,
bool
is_paused_
);
19500
19502
static
const
std::int32_t
ID
= -2092100780;
19503
19509
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19510
};
19511
19515
class
fileDownloadedPrefixSize
final :
public
Object
{
19520
std::int32_t get_id()
const
final
{
19521
return
ID
;
19522
}
19523
19524
public
:
19526
int53
size_
;
19527
19531
fileDownloadedPrefixSize
();
19532
19538
explicit
fileDownloadedPrefixSize
(
int53
size_
);
19539
19541
static
const
std::int32_t
ID
= -2015205381;
19542
19548
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19549
};
19550
19555
class
FileType
:
public
Object
{
19556
public
:
19557
};
19558
19562
class
fileTypeNone
final :
public
FileType
{
19567
std::int32_t get_id()
const
final
{
19568
return
ID
;
19569
}
19570
19571
public
:
19572
19576
fileTypeNone
();
19577
19579
static
const
std::int32_t
ID
= 2003009189;
19580
19586
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19587
};
19588
19592
class
fileTypeAnimation
final :
public
FileType
{
19597
std::int32_t get_id()
const
final
{
19598
return
ID
;
19599
}
19600
19601
public
:
19602
19606
fileTypeAnimation
();
19607
19609
static
const
std::int32_t
ID
= -290816582;
19610
19616
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19617
};
19618
19622
class
fileTypeAudio
final :
public
FileType
{
19627
std::int32_t get_id()
const
final
{
19628
return
ID
;
19629
}
19630
19631
public
:
19632
19636
fileTypeAudio
();
19637
19639
static
const
std::int32_t
ID
= -709112160;
19640
19646
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19647
};
19648
19652
class
fileTypeDocument
final :
public
FileType
{
19657
std::int32_t get_id()
const
final
{
19658
return
ID
;
19659
}
19660
19661
public
:
19662
19666
fileTypeDocument
();
19667
19669
static
const
std::int32_t
ID
= -564722929;
19670
19676
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19677
};
19678
19682
class
fileTypeNotificationSound
final :
public
FileType
{
19687
std::int32_t get_id()
const
final
{
19688
return
ID
;
19689
}
19690
19691
public
:
19692
19696
fileTypeNotificationSound
();
19697
19699
static
const
std::int32_t
ID
= -1020289271;
19700
19706
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19707
};
19708
19712
class
fileTypePhoto
final :
public
FileType
{
19717
std::int32_t get_id()
const
final
{
19718
return
ID
;
19719
}
19720
19721
public
:
19722
19726
fileTypePhoto
();
19727
19729
static
const
std::int32_t
ID
= -1718914651;
19730
19736
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19737
};
19738
19742
class
fileTypePhotoStory
final :
public
FileType
{
19747
std::int32_t get_id()
const
final
{
19748
return
ID
;
19749
}
19750
19751
public
:
19752
19756
fileTypePhotoStory
();
19757
19759
static
const
std::int32_t
ID
= 2018995956;
19760
19766
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19767
};
19768
19772
class
fileTypeProfilePhoto
final :
public
FileType
{
19777
std::int32_t get_id()
const
final
{
19778
return
ID
;
19779
}
19780
19781
public
:
19782
19786
fileTypeProfilePhoto
();
19787
19789
static
const
std::int32_t
ID
= 1795089315;
19790
19796
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19797
};
19798
19802
class
fileTypeSecret
final :
public
FileType
{
19807
std::int32_t get_id()
const
final
{
19808
return
ID
;
19809
}
19810
19811
public
:
19812
19816
fileTypeSecret
();
19817
19819
static
const
std::int32_t
ID
= -1871899401;
19820
19826
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19827
};
19828
19832
class
fileTypeSecretThumbnail
final :
public
FileType
{
19837
std::int32_t get_id()
const
final
{
19838
return
ID
;
19839
}
19840
19841
public
:
19842
19846
fileTypeSecretThumbnail
();
19847
19849
static
const
std::int32_t
ID
= -1401326026;
19850
19856
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19857
};
19858
19862
class
fileTypeSecure
final :
public
FileType
{
19867
std::int32_t get_id()
const
final
{
19868
return
ID
;
19869
}
19870
19871
public
:
19872
19876
fileTypeSecure
();
19877
19879
static
const
std::int32_t
ID
= -1419133146;
19880
19886
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19887
};
19888
19892
class
fileTypeSelfDestructingPhoto
final :
public
FileType
{
19897
std::int32_t get_id()
const
final
{
19898
return
ID
;
19899
}
19900
19901
public
:
19902
19906
fileTypeSelfDestructingPhoto
();
19907
19909
static
const
std::int32_t
ID
= 2077176475;
19910
19916
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19917
};
19918
19922
class
fileTypeSelfDestructingVideo
final :
public
FileType
{
19927
std::int32_t get_id()
const
final
{
19928
return
ID
;
19929
}
19930
19931
public
:
19932
19936
fileTypeSelfDestructingVideo
();
19937
19939
static
const
std::int32_t
ID
= -1223900123;
19940
19946
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19947
};
19948
19952
class
fileTypeSelfDestructingVideoNote
final :
public
FileType
{
19957
std::int32_t get_id()
const
final
{
19958
return
ID
;
19959
}
19960
19961
public
:
19962
19966
fileTypeSelfDestructingVideoNote
();
19967
19969
static
const
std::int32_t
ID
= 1495274177;
19970
19976
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19977
};
19978
19982
class
fileTypeSelfDestructingVoiceNote
final :
public
FileType
{
19987
std::int32_t get_id()
const
final
{
19988
return
ID
;
19989
}
19990
19991
public
:
19992
19996
fileTypeSelfDestructingVoiceNote
();
19997
19999
static
const
std::int32_t
ID
= 1691409181;
20000
20006
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20007
};
20008
20012
class
fileTypeSticker
final :
public
FileType
{
20017
std::int32_t get_id()
const
final
{
20018
return
ID
;
20019
}
20020
20021
public
:
20022
20026
fileTypeSticker
();
20027
20029
static
const
std::int32_t
ID
= 475233385;
20030
20036
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20037
};
20038
20042
class
fileTypeThumbnail
final :
public
FileType
{
20047
std::int32_t get_id()
const
final
{
20048
return
ID
;
20049
}
20050
20051
public
:
20052
20056
fileTypeThumbnail
();
20057
20059
static
const
std::int32_t
ID
= -12443298;
20060
20066
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20067
};
20068
20072
class
fileTypeUnknown
final :
public
FileType
{
20077
std::int32_t get_id()
const
final
{
20078
return
ID
;
20079
}
20080
20081
public
:
20082
20086
fileTypeUnknown
();
20087
20089
static
const
std::int32_t
ID
= -2011566768;
20090
20096
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20097
};
20098
20102
class
fileTypeVideo
final :
public
FileType
{
20107
std::int32_t get_id()
const
final
{
20108
return
ID
;
20109
}
20110
20111
public
:
20112
20116
fileTypeVideo
();
20117
20119
static
const
std::int32_t
ID
= 1430816539;
20120
20126
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20127
};
20128
20132
class
fileTypeVideoNote
final :
public
FileType
{
20137
std::int32_t get_id()
const
final
{
20138
return
ID
;
20139
}
20140
20141
public
:
20142
20146
fileTypeVideoNote
();
20147
20149
static
const
std::int32_t
ID
= -518412385;
20150
20156
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20157
};
20158
20162
class
fileTypeVideoStory
final :
public
FileType
{
20167
std::int32_t get_id()
const
final
{
20168
return
ID
;
20169
}
20170
20171
public
:
20172
20176
fileTypeVideoStory
();
20177
20179
static
const
std::int32_t
ID
= -2146754143;
20180
20186
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20187
};
20188
20192
class
fileTypeVoiceNote
final :
public
FileType
{
20197
std::int32_t get_id()
const
final
{
20198
return
ID
;
20199
}
20200
20201
public
:
20202
20206
fileTypeVoiceNote
();
20207
20209
static
const
std::int32_t
ID
= -588681661;
20210
20216
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20217
};
20218
20222
class
fileTypeWallpaper
final :
public
FileType
{
20227
std::int32_t get_id()
const
final
{
20228
return
ID
;
20229
}
20230
20231
public
:
20232
20236
fileTypeWallpaper
();
20237
20239
static
const
std::int32_t
ID
= 1854930076;
20240
20246
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20247
};
20248
20253
class
FirebaseAuthenticationSettings
:
public
Object
{
20254
public
:
20255
};
20256
20260
class
firebaseAuthenticationSettingsAndroid
final :
public
FirebaseAuthenticationSettings
{
20265
std::int32_t get_id()
const
final
{
20266
return
ID
;
20267
}
20268
20269
public
:
20270
20274
firebaseAuthenticationSettingsAndroid
();
20275
20277
static
const
std::int32_t
ID
= -1771112932;
20278
20284
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20285
};
20286
20290
class
firebaseAuthenticationSettingsIos
final :
public
FirebaseAuthenticationSettings
{
20295
std::int32_t get_id()
const
final
{
20296
return
ID
;
20297
}
20298
20299
public
:
20301
string
device_token_
;
20303
bool
is_app_sandbox_
;
20304
20308
firebaseAuthenticationSettingsIos
();
20309
20316
firebaseAuthenticationSettingsIos
(
string
const
&
device_token_
,
bool
is_app_sandbox_
);
20317
20319
static
const
std::int32_t
ID
= 222930116;
20320
20326
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20327
};
20328
20333
class
FirebaseDeviceVerificationParameters
:
public
Object
{
20334
public
:
20335
};
20336
20340
class
firebaseDeviceVerificationParametersSafetyNet
final :
public
FirebaseDeviceVerificationParameters
{
20345
std::int32_t get_id()
const
final
{
20346
return
ID
;
20347
}
20348
20349
public
:
20351
bytes
nonce_
;
20352
20356
firebaseDeviceVerificationParametersSafetyNet
();
20357
20363
explicit
firebaseDeviceVerificationParametersSafetyNet
(
bytes
const
&
nonce_
);
20364
20366
static
const
std::int32_t
ID
= 731296497;
20367
20373
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20374
};
20375
20379
class
firebaseDeviceVerificationParametersPlayIntegrity
final :
public
FirebaseDeviceVerificationParameters
{
20384
std::int32_t get_id()
const
final
{
20385
return
ID
;
20386
}
20387
20388
public
:
20390
string
nonce_
;
20392
int64
cloud_project_number_
;
20393
20397
firebaseDeviceVerificationParametersPlayIntegrity
();
20398
20405
firebaseDeviceVerificationParametersPlayIntegrity
(
string
const
&
nonce_
,
int64
cloud_project_number_
);
20406
20408
static
const
std::int32_t
ID
= -889936502;
20409
20415
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20416
};
20417
20418
class
textEntity
;
20419
20423
class
formattedText
final :
public
Object
{
20428
std::int32_t get_id()
const
final
{
20429
return
ID
;
20430
}
20431
20432
public
:
20434
string
text_
;
20436
array<object_ptr<textEntity>
>
entities_
;
20437
20441
formattedText
();
20442
20449
formattedText
(
string
const
&
text_
,
array
<
object_ptr<textEntity>
> &&
entities_
);
20450
20452
static
const
std::int32_t
ID
= -252624564;
20453
20459
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20460
};
20461
20462
class
chatNotificationSettings
;
20463
20464
class
draftMessage
;
20465
20466
class
forumTopicInfo
;
20467
20468
class
message
;
20469
20473
class
forumTopic
final :
public
Object
{
20478
std::int32_t get_id()
const
final
{
20479
return
ID
;
20480
}
20481
20482
public
:
20484
object_ptr<forumTopicInfo>
info_
;
20486
object_ptr<message>
last_message_
;
20488
int64
order_
;
20490
bool
is_pinned_
;
20492
int32
unread_count_
;
20494
int53
last_read_inbox_message_id_
;
20496
int53
last_read_outbox_message_id_
;
20498
int32
unread_mention_count_
;
20500
int32
unread_reaction_count_
;
20502
object_ptr<chatNotificationSettings>
notification_settings_
;
20504
object_ptr<draftMessage>
draft_message_
;
20505
20509
forumTopic
();
20510
20526
forumTopic
(
object_ptr<forumTopicInfo>
&&
info_
,
object_ptr<message>
&&
last_message_
,
int64
order_
,
bool
is_pinned_
,
int32
unread_count_
,
int53
last_read_inbox_message_id_
,
int53
last_read_outbox_message_id_
,
int32
unread_mention_count_
,
int32
unread_reaction_count_
,
object_ptr<chatNotificationSettings>
&&
notification_settings_
,
object_ptr<draftMessage>
&&
draft_message_
);
20527
20529
static
const
std::int32_t
ID
= -2094608976;
20530
20536
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20537
};
20538
20542
class
forumTopicIcon
final :
public
Object
{
20547
std::int32_t get_id()
const
final
{
20548
return
ID
;
20549
}
20550
20551
public
:
20553
int32
color_
;
20555
int64
custom_emoji_id_
;
20556
20560
forumTopicIcon
();
20561
20568
forumTopicIcon
(
int32
color_
,
int64
custom_emoji_id_
);
20569
20571
static
const
std::int32_t
ID
= -818765421;
20572
20578
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20579
};
20580
20581
class
MessageSender
;
20582
20583
class
forumTopicIcon
;
20584
20588
class
forumTopicInfo
final :
public
Object
{
20593
std::int32_t get_id()
const
final
{
20594
return
ID
;
20595
}
20596
20597
public
:
20599
int53
chat_id_
;
20601
int53
forum_topic_id_
;
20603
int53
message_thread_id_
;
20605
string
name_
;
20607
object_ptr<forumTopicIcon>
icon_
;
20609
int32
creation_date_
;
20611
object_ptr<MessageSender>
creator_id_
;
20613
bool
is_general_
;
20615
bool
is_outgoing_
;
20617
bool
is_closed_
;
20619
bool
is_hidden_
;
20620
20624
forumTopicInfo
();
20625
20641
forumTopicInfo
(
int53
chat_id_
,
int53
forum_topic_id_
,
int53
message_thread_id_
,
string
const
&
name_
,
object_ptr<forumTopicIcon>
&&
icon_
,
int32
creation_date_
,
object_ptr<MessageSender>
&&
creator_id_
,
bool
is_general_
,
bool
is_outgoing_
,
bool
is_closed_
,
bool
is_hidden_
);
20642
20644
static
const
std::int32_t
ID
= 1573650873;
20645
20651
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20652
};
20653
20654
class
forumTopic
;
20655
20659
class
forumTopics
final :
public
Object
{
20664
std::int32_t get_id()
const
final
{
20665
return
ID
;
20666
}
20667
20668
public
:
20670
int32
total_count_
;
20672
array<object_ptr<forumTopic>
>
topics_
;
20674
int32
next_offset_date_
;
20676
int53
next_offset_message_id_
;
20678
int53
next_offset_message_thread_id_
;
20679
20683
forumTopics
();
20684
20694
forumTopics
(
int32
total_count_
,
array
<
object_ptr<forumTopic>
> &&
topics_
,
int32
next_offset_date_
,
int53
next_offset_message_id_
,
int53
next_offset_message_thread_id_
);
20695
20697
static
const
std::int32_t
ID
= 732819537;
20698
20704
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20705
};
20706
20707
class
MessageSender
;
20708
20712
class
forwardSource
final :
public
Object
{
20717
std::int32_t get_id()
const
final
{
20718
return
ID
;
20719
}
20720
20721
public
:
20723
int53
chat_id_
;
20725
int53
message_id_
;
20727
object_ptr<MessageSender>
sender_id_
;
20729
string
sender_name_
;
20731
int32
date_
;
20733
bool
is_outgoing_
;
20734
20738
forwardSource
();
20739
20750
forwardSource
(
int53
chat_id_
,
int53
message_id_
,
object_ptr<MessageSender>
&&
sender_id_
,
string
const
&
sender_name_
,
int32
date_
,
bool
is_outgoing_
);
20751
20753
static
const
std::int32_t
ID
= 1795337929;
20754
20760
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20761
};
20762
20763
class
affiliateProgramInfo
;
20764
20768
class
foundAffiliateProgram
final :
public
Object
{
20773
std::int32_t get_id()
const
final
{
20774
return
ID
;
20775
}
20776
20777
public
:
20779
int53
bot_user_id_
;
20781
object_ptr<affiliateProgramInfo>
info_
;
20782
20786
foundAffiliateProgram
();
20787
20794
foundAffiliateProgram
(
int53
bot_user_id_
,
object_ptr<affiliateProgramInfo>
&&
info_
);
20795
20797
static
const
std::int32_t
ID
= -966565242;
20798
20804
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20805
};
20806
20807
class
foundAffiliateProgram
;
20808
20812
class
foundAffiliatePrograms
final :
public
Object
{
20817
std::int32_t get_id()
const
final
{
20818
return
ID
;
20819
}
20820
20821
public
:
20823
int32
total_count_
;
20825
array<object_ptr<foundAffiliateProgram>
>
programs_
;
20827
string
next_offset_
;
20828
20832
foundAffiliatePrograms
();
20833
20841
foundAffiliatePrograms
(
int32
total_count_
,
array
<
object_ptr<foundAffiliateProgram>
> &&
programs_
,
string
const
&
next_offset_
);
20842
20844
static
const
std::int32_t
ID
= 186317057;
20845
20851
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20852
};
20853
20854
class
chatBoost
;
20855
20859
class
foundChatBoosts
final :
public
Object
{
20864
std::int32_t get_id()
const
final
{
20865
return
ID
;
20866
}
20867
20868
public
:
20870
int32
total_count_
;
20872
array<object_ptr<chatBoost>
>
boosts_
;
20874
string
next_offset_
;
20875
20879
foundChatBoosts
();
20880
20888
foundChatBoosts
(
int32
total_count_
,
array
<
object_ptr<chatBoost>
> &&
boosts_
,
string
const
&
next_offset_
);
20889
20891
static
const
std::int32_t
ID
= 51457680;
20892
20898
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20899
};
20900
20901
class
message
;
20902
20906
class
foundChatMessages
final :
public
Object
{
20911
std::int32_t get_id()
const
final
{
20912
return
ID
;
20913
}
20914
20915
public
:
20917
int32
total_count_
;
20919
array<object_ptr<message>
>
messages_
;
20921
int53
next_from_message_id_
;
20922
20926
foundChatMessages
();
20927
20935
foundChatMessages
(
int32
total_count_
,
array
<
object_ptr<message>
> &&
messages_
,
int53
next_from_message_id_
);
20936
20938
static
const
std::int32_t
ID
= 427484196;
20939
20945
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20946
};
20947
20948
class
downloadedFileCounts
;
20949
20950
class
fileDownload
;
20951
20955
class
foundFileDownloads
final :
public
Object
{
20960
std::int32_t get_id()
const
final
{
20961
return
ID
;
20962
}
20963
20964
public
:
20966
object_ptr<downloadedFileCounts>
total_counts_
;
20968
array<object_ptr<fileDownload>
>
files_
;
20970
string
next_offset_
;
20971
20975
foundFileDownloads
();
20976
20984
foundFileDownloads
(
object_ptr<downloadedFileCounts>
&&
total_counts_
,
array
<
object_ptr<fileDownload>
> &&
files_
,
string
const
&
next_offset_
);
20985
20987
static
const
std::int32_t
ID
= 1395890392;
20988
20994
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20995
};
20996
20997
class
message
;
20998
21002
class
foundMessages
final :
public
Object
{
21007
std::int32_t get_id()
const
final
{
21008
return
ID
;
21009
}
21010
21011
public
:
21013
int32
total_count_
;
21015
array<object_ptr<message>
>
messages_
;
21017
string
next_offset_
;
21018
21022
foundMessages
();
21023
21031
foundMessages
(
int32
total_count_
,
array
<
object_ptr<message>
> &&
messages_
,
string
const
&
next_offset_
);
21032
21034
static
const
std::int32_t
ID
= -529809608;
21035
21041
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21042
};
21043
21047
class
foundPosition
final :
public
Object
{
21052
std::int32_t get_id()
const
final
{
21053
return
ID
;
21054
}
21055
21056
public
:
21058
int32
position_
;
21059
21063
foundPosition
();
21064
21070
explicit
foundPosition
(
int32
position_
);
21071
21073
static
const
std::int32_t
ID
= -1886724216;
21074
21080
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21081
};
21082
21086
class
foundPositions
final :
public
Object
{
21091
std::int32_t get_id()
const
final
{
21092
return
ID
;
21093
}
21094
21095
public
:
21097
int32
total_count_
;
21099
array<int32>
positions_
;
21100
21104
foundPositions
();
21105
21112
foundPositions
(
int32
total_count_
,
array<int32>
&&
positions_
);
21113
21115
static
const
std::int32_t
ID
= -80518368;
21116
21122
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21123
};
21124
21125
class
message
;
21126
21127
class
publicPostSearchLimits
;
21128
21132
class
foundPublicPosts
final :
public
Object
{
21137
std::int32_t get_id()
const
final
{
21138
return
ID
;
21139
}
21140
21141
public
:
21143
array<object_ptr<message>
>
messages_
;
21145
string
next_offset_
;
21147
object_ptr<publicPostSearchLimits>
search_limits_
;
21149
bool
are_limits_exceeded_
;
21150
21154
foundPublicPosts
();
21155
21164
foundPublicPosts
(
array
<
object_ptr<message>
> &&
messages_
,
string
const
&
next_offset_
,
object_ptr<publicPostSearchLimits>
&&
search_limits_
,
bool
are_limits_exceeded_
);
21165
21167
static
const
std::int32_t
ID
= 1231347940;
21168
21174
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21175
};
21176
21177
class
story
;
21178
21182
class
foundStories
final :
public
Object
{
21187
std::int32_t get_id()
const
final
{
21188
return
ID
;
21189
}
21190
21191
public
:
21193
int32
total_count_
;
21195
array<object_ptr<story>
>
stories_
;
21197
string
next_offset_
;
21198
21202
foundStories
();
21203
21211
foundStories
(
int32
total_count_
,
array
<
object_ptr<story>
> &&
stories_
,
string
const
&
next_offset_
);
21212
21214
static
const
std::int32_t
ID
= 1678513512;
21215
21221
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21222
};
21223
21227
class
foundUsers
final :
public
Object
{
21232
std::int32_t get_id()
const
final
{
21233
return
ID
;
21234
}
21235
21236
public
:
21238
array<int53>
user_ids_
;
21240
string
next_offset_
;
21241
21245
foundUsers
();
21246
21253
foundUsers
(
array<int53>
&&
user_ids_
,
string
const
&
next_offset_
);
21254
21256
static
const
std::int32_t
ID
= 1150570075;
21257
21263
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21264
};
21265
21266
class
webApp
;
21267
21271
class
foundWebApp
final :
public
Object
{
21276
std::int32_t get_id()
const
final
{
21277
return
ID
;
21278
}
21279
21280
public
:
21282
object_ptr<webApp>
web_app_
;
21284
bool
request_write_access_
;
21286
bool
skip_confirmation_
;
21287
21291
foundWebApp
();
21292
21300
foundWebApp
(
object_ptr<webApp>
&&
web_app_
,
bool
request_write_access_
,
bool
skip_confirmation_
);
21301
21303
static
const
std::int32_t
ID
= -290926562;
21304
21310
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21311
};
21312
21313
class
animation
;
21314
21315
class
formattedText
;
21316
21317
class
photo
;
21318
21322
class
game
final :
public
Object
{
21327
std::int32_t get_id()
const
final
{
21328
return
ID
;
21329
}
21330
21331
public
:
21333
int64
id_
;
21335
string
short_name_
;
21337
string
title_
;
21339
object_ptr<formattedText>
text_
;
21341
string
description_
;
21343
object_ptr<photo>
photo_
;
21345
object_ptr<animation>
animation_
;
21346
21350
game
();
21351
21363
game
(
int64
id_
,
string
const
&
short_name_
,
string
const
&
title_
,
object_ptr<formattedText>
&&
text_
,
string
const
&
description_
,
object_ptr<photo>
&&
photo_
,
object_ptr<animation>
&&
animation_
);
21364
21366
static
const
std::int32_t
ID
= -1565597752;
21367
21373
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21374
};
21375
21379
class
gameHighScore
final :
public
Object
{
21384
std::int32_t get_id()
const
final
{
21385
return
ID
;
21386
}
21387
21388
public
:
21390
int32
position_
;
21392
int53
user_id_
;
21394
int32
score_
;
21395
21399
gameHighScore
();
21400
21408
gameHighScore
(
int32
position_
,
int53
user_id_
,
int32
score_
);
21409
21411
static
const
std::int32_t
ID
= 342871838;
21412
21418
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21419
};
21420
21421
class
gameHighScore
;
21422
21426
class
gameHighScores
final :
public
Object
{
21431
std::int32_t get_id()
const
final
{
21432
return
ID
;
21433
}
21434
21435
public
:
21437
array<object_ptr<gameHighScore>
>
scores_
;
21438
21442
gameHighScores
();
21443
21449
explicit
gameHighScores
(
array
<
object_ptr<gameHighScore>
> &&
scores_
);
21450
21452
static
const
std::int32_t
ID
= -725770727;
21453
21459
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21460
};
21461
21462
class
giftPurchaseLimits
;
21463
21464
class
sticker
;
21465
21469
class
gift
final :
public
Object
{
21474
std::int32_t get_id()
const
final
{
21475
return
ID
;
21476
}
21477
21478
public
:
21480
int64
id_
;
21482
int53
publisher_chat_id_
;
21484
object_ptr<sticker>
sticker_
;
21486
int53
star_count_
;
21488
int53
default_sell_star_count_
;
21490
int53
upgrade_star_count_
;
21492
bool
is_for_birthday_
;
21494
bool
is_premium_
;
21496
int32
next_send_date_
;
21498
object_ptr<giftPurchaseLimits>
user_limits_
;
21500
object_ptr<giftPurchaseLimits>
overall_limits_
;
21502
int32
first_send_date_
;
21504
int32
last_send_date_
;
21505
21509
gift
();
21510
21528
gift
(
int64
id_
,
int53
publisher_chat_id_
,
object_ptr<sticker>
&&
sticker_
,
int53
star_count_
,
int53
default_sell_star_count_
,
int53
upgrade_star_count_
,
bool
is_for_birthday_
,
bool
is_premium_
,
int32
next_send_date_
,
object_ptr<giftPurchaseLimits>
&&
user_limits_
,
object_ptr<giftPurchaseLimits>
&&
overall_limits_
,
int32
first_send_date_
,
int32
last_send_date_
);
21529
21531
static
const
std::int32_t
ID
= -198381165;
21532
21538
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21539
};
21540
21541
class
themeSettings
;
21542
21543
class
upgradedGift
;
21544
21548
class
giftChatTheme
final :
public
Object
{
21553
std::int32_t get_id()
const
final
{
21554
return
ID
;
21555
}
21556
21557
public
:
21559
object_ptr<upgradedGift>
gift_
;
21561
object_ptr<themeSettings>
light_settings_
;
21563
object_ptr<themeSettings>
dark_settings_
;
21564
21568
giftChatTheme
();
21569
21577
giftChatTheme
(
object_ptr<upgradedGift>
&&
gift_
,
object_ptr<themeSettings>
&&
light_settings_
,
object_ptr<themeSettings>
&&
dark_settings_
);
21578
21580
static
const
std::int32_t
ID
= 631944675;
21581
21587
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21588
};
21589
21590
class
giftChatTheme
;
21591
21595
class
giftChatThemes
final :
public
Object
{
21600
std::int32_t get_id()
const
final
{
21601
return
ID
;
21602
}
21603
21604
public
:
21606
array<object_ptr<giftChatTheme>
>
themes_
;
21608
string
next_offset_
;
21609
21613
giftChatThemes
();
21614
21621
giftChatThemes
(
array
<
object_ptr<giftChatTheme>
> &&
themes_
,
string
const
&
next_offset_
);
21622
21624
static
const
std::int32_t
ID
= 2032762331;
21625
21631
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21632
};
21633
21634
class
sticker
;
21635
21639
class
giftCollection
final :
public
Object
{
21644
std::int32_t get_id()
const
final
{
21645
return
ID
;
21646
}
21647
21648
public
:
21650
int32
id_
;
21652
string
name_
;
21654
object_ptr<sticker>
icon_
;
21656
int32
gift_count_
;
21657
21661
giftCollection
();
21662
21671
giftCollection
(
int32
id_
,
string
const
&
name_
,
object_ptr<sticker>
&&
icon_
,
int32
gift_count_
);
21672
21674
static
const
std::int32_t
ID
= -974976984;
21675
21681
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21682
};
21683
21684
class
giftCollection
;
21685
21689
class
giftCollections
final :
public
Object
{
21694
std::int32_t get_id()
const
final
{
21695
return
ID
;
21696
}
21697
21698
public
:
21700
array<object_ptr<giftCollection>
>
collections_
;
21701
21705
giftCollections
();
21706
21712
explicit
giftCollections
(
array
<
object_ptr<giftCollection>
> &&
collections_
);
21713
21715
static
const
std::int32_t
ID
= -2061353335;
21716
21722
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21723
};
21724
21725
class
upgradedGift
;
21726
21730
class
giftForResale
final :
public
Object
{
21735
std::int32_t get_id()
const
final
{
21736
return
ID
;
21737
}
21738
21739
public
:
21741
object_ptr<upgradedGift>
gift_
;
21743
string
received_gift_id_
;
21744
21748
giftForResale
();
21749
21756
giftForResale
(
object_ptr<upgradedGift>
&&
gift_
,
string
const
&
received_gift_id_
);
21757
21759
static
const
std::int32_t
ID
= 1130990515;
21760
21766
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21767
};
21768
21773
class
GiftForResaleOrder
:
public
Object
{
21774
public
:
21775
};
21776
21780
class
giftForResaleOrderPrice
final :
public
GiftForResaleOrder
{
21785
std::int32_t get_id()
const
final
{
21786
return
ID
;
21787
}
21788
21789
public
:
21790
21794
giftForResaleOrderPrice
();
21795
21797
static
const
std::int32_t
ID
= 1371740258;
21798
21804
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21805
};
21806
21810
class
giftForResaleOrderPriceChangeDate
final :
public
GiftForResaleOrder
{
21815
std::int32_t get_id()
const
final
{
21816
return
ID
;
21817
}
21818
21819
public
:
21820
21824
giftForResaleOrderPriceChangeDate
();
21825
21827
static
const
std::int32_t
ID
= -1694144054;
21828
21834
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21835
};
21836
21840
class
giftForResaleOrderNumber
final :
public
GiftForResaleOrder
{
21845
std::int32_t get_id()
const
final
{
21846
return
ID
;
21847
}
21848
21849
public
:
21850
21854
giftForResaleOrderNumber
();
21855
21857
static
const
std::int32_t
ID
= -1301157632;
21858
21864
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21865
};
21866
21870
class
giftPurchaseLimits
final :
public
Object
{
21875
std::int32_t get_id()
const
final
{
21876
return
ID
;
21877
}
21878
21879
public
:
21881
int32
total_count_
;
21883
int32
remaining_count_
;
21884
21888
giftPurchaseLimits
();
21889
21896
giftPurchaseLimits
(
int32
total_count_
,
int32
remaining_count_
);
21897
21899
static
const
std::int32_t
ID
= -1628985177;
21900
21906
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21907
};
21908
21912
class
giftResaleParameters
final :
public
Object
{
21917
std::int32_t get_id()
const
final
{
21918
return
ID
;
21919
}
21920
21921
public
:
21923
int53
star_count_
;
21925
int53
toncoin_cent_count_
;
21927
bool
toncoin_only_
;
21928
21932
giftResaleParameters
();
21933
21941
giftResaleParameters
(
int53
star_count_
,
int53
toncoin_cent_count_
,
bool
toncoin_only_
);
21942
21944
static
const
std::int32_t
ID
= -2144380890;
21945
21951
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21952
};
21953
21958
class
GiftResalePrice
:
public
Object
{
21959
public
:
21960
};
21961
21965
class
giftResalePriceStar
final :
public
GiftResalePrice
{
21970
std::int32_t get_id()
const
final
{
21971
return
ID
;
21972
}
21973
21974
public
:
21976
int53
star_count_
;
21977
21981
giftResalePriceStar
();
21982
21988
explicit
giftResalePriceStar
(
int53
star_count_
);
21989
21991
static
const
std::int32_t
ID
= 1184402054;
21992
21998
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21999
};
22000
22004
class
giftResalePriceTon
final :
public
GiftResalePrice
{
22009
std::int32_t get_id()
const
final
{
22010
return
ID
;
22011
}
22012
22013
public
:
22015
int53
toncoin_cent_count_
;
22016
22020
giftResalePriceTon
();
22021
22027
explicit
giftResalePriceTon
(
int53
toncoin_cent_count_
);
22028
22030
static
const
std::int32_t
ID
= -415435950;
22031
22037
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22038
};
22039
22040
class
GiftResalePrice
;
22041
22046
class
GiftResaleResult
:
public
Object
{
22047
public
:
22048
};
22049
22053
class
giftResaleResultOk
final :
public
GiftResaleResult
{
22058
std::int32_t get_id()
const
final
{
22059
return
ID
;
22060
}
22061
22062
public
:
22063
22067
giftResaleResultOk
();
22068
22070
static
const
std::int32_t
ID
= -1403716455;
22071
22077
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22078
};
22079
22083
class
giftResaleResultPriceIncreased
final :
public
GiftResaleResult
{
22088
std::int32_t get_id()
const
final
{
22089
return
ID
;
22090
}
22091
22092
public
:
22094
object_ptr<GiftResalePrice>
price_
;
22095
22099
giftResaleResultPriceIncreased
();
22100
22106
explicit
giftResaleResultPriceIncreased
(
object_ptr<GiftResalePrice>
&&
price_
);
22107
22109
static
const
std::int32_t
ID
= -1954623859;
22110
22116
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22117
};
22118
22119
class
acceptedGiftTypes
;
22120
22124
class
giftSettings
final :
public
Object
{
22129
std::int32_t get_id()
const
final
{
22130
return
ID
;
22131
}
22132
22133
public
:
22135
bool
show_gift_button_
;
22137
object_ptr<acceptedGiftTypes>
accepted_gift_types_
;
22138
22142
giftSettings
();
22143
22150
giftSettings
(
bool
show_gift_button_
,
object_ptr<acceptedGiftTypes>
&&
accepted_gift_types_
);
22151
22153
static
const
std::int32_t
ID
= 45783168;
22154
22160
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22161
};
22162
22163
class
upgradedGiftBackdrop
;
22164
22165
class
upgradedGiftModel
;
22166
22167
class
upgradedGiftSymbol
;
22168
22172
class
giftUpgradePreview
final :
public
Object
{
22177
std::int32_t get_id()
const
final
{
22178
return
ID
;
22179
}
22180
22181
public
:
22183
array<object_ptr<upgradedGiftModel>
>
models_
;
22185
array<object_ptr<upgradedGiftSymbol>
>
symbols_
;
22187
array<object_ptr<upgradedGiftBackdrop>
>
backdrops_
;
22188
22192
giftUpgradePreview
();
22193
22201
giftUpgradePreview
(
array
<
object_ptr<upgradedGiftModel>
> &&
models_
,
array
<
object_ptr<upgradedGiftSymbol>
> &&
symbols_
,
array
<
object_ptr<upgradedGiftBackdrop>
> &&
backdrops_
);
22202
22204
static
const
std::int32_t
ID
= 729908218;
22205
22211
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22212
};
22213
22214
class
giftForResale
;
22215
22216
class
upgradedGiftBackdropCount
;
22217
22218
class
upgradedGiftModelCount
;
22219
22220
class
upgradedGiftSymbolCount
;
22221
22225
class
giftsForResale
final :
public
Object
{
22230
std::int32_t get_id()
const
final
{
22231
return
ID
;
22232
}
22233
22234
public
:
22236
int32
total_count_
;
22238
array<object_ptr<giftForResale>
>
gifts_
;
22240
array<object_ptr<upgradedGiftModelCount>
>
models_
;
22242
array<object_ptr<upgradedGiftSymbolCount>
>
symbols_
;
22244
array<object_ptr<upgradedGiftBackdropCount>
>
backdrops_
;
22246
string
next_offset_
;
22247
22251
giftsForResale
();
22252
22263
giftsForResale
(
int32
total_count_
,
array
<
object_ptr<giftForResale>
> &&
gifts_
,
array
<
object_ptr<upgradedGiftModelCount>
> &&
models_
,
array
<
object_ptr<upgradedGiftSymbolCount>
> &&
symbols_
,
array
<
object_ptr<upgradedGiftBackdropCount>
> &&
backdrops_
,
string
const
&
next_offset_
);
22264
22266
static
const
std::int32_t
ID
= 35082425;
22267
22273
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22274
};
22275
22276
class
GiveawayParticipantStatus
;
22277
22282
class
GiveawayInfo
:
public
Object
{
22283
public
:
22284
};
22285
22289
class
giveawayInfoOngoing
final :
public
GiveawayInfo
{
22294
std::int32_t get_id()
const
final
{
22295
return
ID
;
22296
}
22297
22298
public
:
22300
int32
creation_date_
;
22302
object_ptr<GiveawayParticipantStatus>
status_
;
22304
bool
is_ended_
;
22305
22309
giveawayInfoOngoing
();
22310
22318
giveawayInfoOngoing
(
int32
creation_date_
,
object_ptr<GiveawayParticipantStatus>
&&
status_
,
bool
is_ended_
);
22319
22321
static
const
std::int32_t
ID
= 1649336400;
22322
22328
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22329
};
22330
22334
class
giveawayInfoCompleted
final :
public
GiveawayInfo
{
22339
std::int32_t get_id()
const
final
{
22340
return
ID
;
22341
}
22342
22343
public
:
22345
int32
creation_date_
;
22347
int32
actual_winners_selection_date_
;
22349
bool
was_refunded_
;
22351
bool
is_winner_
;
22353
int32
winner_count_
;
22355
int32
activation_count_
;
22357
string
gift_code_
;
22359
int53
won_star_count_
;
22360
22364
giveawayInfoCompleted
();
22365
22378
giveawayInfoCompleted
(
int32
creation_date_
,
int32
actual_winners_selection_date_
,
bool
was_refunded_
,
bool
is_winner_
,
int32
winner_count_
,
int32
activation_count_
,
string
const
&
gift_code_
,
int53
won_star_count_
);
22379
22381
static
const
std::int32_t
ID
= 848085852;
22382
22388
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22389
};
22390
22394
class
giveawayParameters
final :
public
Object
{
22399
std::int32_t get_id()
const
final
{
22400
return
ID
;
22401
}
22402
22403
public
:
22405
int53
boosted_chat_id_
;
22407
array<int53>
additional_chat_ids_
;
22409
int32
winners_selection_date_
;
22411
bool
only_new_members_
;
22413
bool
has_public_winners_
;
22415
array<string>
country_codes_
;
22417
string
prize_description_
;
22418
22422
giveawayParameters
();
22423
22435
giveawayParameters
(
int53
boosted_chat_id_
,
array<int53>
&&
additional_chat_ids_
,
int32
winners_selection_date_
,
bool
only_new_members_
,
bool
has_public_winners_
,
array<string>
&&
country_codes_
,
string
const
&
prize_description_
);
22436
22438
static
const
std::int32_t
ID
= 1171549354;
22439
22445
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22446
};
22447
22452
class
GiveawayParticipantStatus
:
public
Object
{
22453
public
:
22454
};
22455
22459
class
giveawayParticipantStatusEligible
final :
public
GiveawayParticipantStatus
{
22464
std::int32_t get_id()
const
final
{
22465
return
ID
;
22466
}
22467
22468
public
:
22469
22473
giveawayParticipantStatusEligible
();
22474
22476
static
const
std::int32_t
ID
= 304799383;
22477
22483
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22484
};
22485
22489
class
giveawayParticipantStatusParticipating
final :
public
GiveawayParticipantStatus
{
22494
std::int32_t get_id()
const
final
{
22495
return
ID
;
22496
}
22497
22498
public
:
22499
22503
giveawayParticipantStatusParticipating
();
22504
22506
static
const
std::int32_t
ID
= 492036975;
22507
22513
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22514
};
22515
22519
class
giveawayParticipantStatusAlreadyWasMember
final :
public
GiveawayParticipantStatus
{
22524
std::int32_t get_id()
const
final
{
22525
return
ID
;
22526
}
22527
22528
public
:
22530
int32
joined_chat_date_
;
22531
22535
giveawayParticipantStatusAlreadyWasMember
();
22536
22542
explicit
giveawayParticipantStatusAlreadyWasMember
(
int32
joined_chat_date_
);
22543
22545
static
const
std::int32_t
ID
= 301577632;
22546
22552
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22553
};
22554
22558
class
giveawayParticipantStatusAdministrator
final :
public
GiveawayParticipantStatus
{
22563
std::int32_t get_id()
const
final
{
22564
return
ID
;
22565
}
22566
22567
public
:
22569
int53
chat_id_
;
22570
22574
giveawayParticipantStatusAdministrator
();
22575
22581
explicit
giveawayParticipantStatusAdministrator
(
int53
chat_id_
);
22582
22584
static
const
std::int32_t
ID
= -934593931;
22585
22591
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22592
};
22593
22597
class
giveawayParticipantStatusDisallowedCountry
final :
public
GiveawayParticipantStatus
{
22602
std::int32_t get_id()
const
final
{
22603
return
ID
;
22604
}
22605
22606
public
:
22608
string
user_country_code_
;
22609
22613
giveawayParticipantStatusDisallowedCountry
();
22614
22620
explicit
giveawayParticipantStatusDisallowedCountry
(
string
const
&
user_country_code_
);
22621
22623
static
const
std::int32_t
ID
= 1879794779;
22624
22630
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22631
};
22632
22637
class
GiveawayPrize
:
public
Object
{
22638
public
:
22639
};
22640
22644
class
giveawayPrizePremium
final :
public
GiveawayPrize
{
22649
std::int32_t get_id()
const
final
{
22650
return
ID
;
22651
}
22652
22653
public
:
22655
int32
month_count_
;
22656
22660
giveawayPrizePremium
();
22661
22667
explicit
giveawayPrizePremium
(
int32
month_count_
);
22668
22670
static
const
std::int32_t
ID
= 454224248;
22671
22677
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22678
};
22679
22683
class
giveawayPrizeStars
final :
public
GiveawayPrize
{
22688
std::int32_t get_id()
const
final
{
22689
return
ID
;
22690
}
22691
22692
public
:
22694
int53
star_count_
;
22695
22699
giveawayPrizeStars
();
22700
22706
explicit
giveawayPrizeStars
(
int53
star_count_
);
22707
22709
static
const
std::int32_t
ID
= -1790173276;
22710
22716
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22717
};
22718
22719
class
groupCallRecentSpeaker
;
22720
22724
class
groupCall
final :
public
Object
{
22729
std::int32_t get_id()
const
final
{
22730
return
ID
;
22731
}
22732
22733
public
:
22735
int32
id_
;
22737
string
title_
;
22739
string
invite_link_
;
22741
int32
scheduled_start_date_
;
22743
bool
enabled_start_notification_
;
22745
bool
is_active_
;
22747
bool
is_video_chat_
;
22749
bool
is_rtmp_stream_
;
22751
bool
is_joined_
;
22753
bool
need_rejoin_
;
22755
bool
is_owned_
;
22757
bool
can_be_managed_
;
22759
int32
participant_count_
;
22761
bool
has_hidden_listeners_
;
22763
bool
loaded_all_participants_
;
22765
array<object_ptr<groupCallRecentSpeaker>
>
recent_speakers_
;
22767
bool
is_my_video_enabled_
;
22769
bool
is_my_video_paused_
;
22771
bool
can_enable_video_
;
22773
bool
mute_new_participants_
;
22775
bool
can_toggle_mute_new_participants_
;
22777
int32
record_duration_
;
22779
bool
is_video_recorded_
;
22781
int32
duration_
;
22782
22786
groupCall
();
22787
22816
groupCall
(
int32
id_
,
string
const
&
title_
,
string
const
&
invite_link_
,
int32
scheduled_start_date_
,
bool
enabled_start_notification_
,
bool
is_active_
,
bool
is_video_chat_
,
bool
is_rtmp_stream_
,
bool
is_joined_
,
bool
need_rejoin_
,
bool
is_owned_
,
bool
can_be_managed_
,
int32
participant_count_
,
bool
has_hidden_listeners_
,
bool
loaded_all_participants_
,
array
<
object_ptr<groupCallRecentSpeaker>
> &&
recent_speakers_
,
bool
is_my_video_enabled_
,
bool
is_my_video_paused_
,
bool
can_enable_video_
,
bool
mute_new_participants_
,
bool
can_toggle_mute_new_participants_
,
int32
record_duration_
,
bool
is_video_recorded_
,
int32
duration_
);
22817
22819
static
const
std::int32_t
ID
= -144438687;
22820
22826
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22827
};
22828
22833
class
GroupCallDataChannel
:
public
Object
{
22834
public
:
22835
};
22836
22840
class
groupCallDataChannelMain
final :
public
GroupCallDataChannel
{
22845
std::int32_t get_id()
const
final
{
22846
return
ID
;
22847
}
22848
22849
public
:
22850
22854
groupCallDataChannelMain
();
22855
22857
static
const
std::int32_t
ID
= -32177779;
22858
22864
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22865
};
22866
22870
class
groupCallDataChannelScreenSharing
final :
public
GroupCallDataChannel
{
22875
std::int32_t get_id()
const
final
{
22876
return
ID
;
22877
}
22878
22879
public
:
22880
22884
groupCallDataChannelScreenSharing
();
22885
22887
static
const
std::int32_t
ID
= -601649103;
22888
22894
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22895
};
22896
22900
class
groupCallId
final :
public
Object
{
22905
std::int32_t get_id()
const
final
{
22906
return
ID
;
22907
}
22908
22909
public
:
22911
int32
id_
;
22912
22916
groupCallId
();
22917
22923
explicit
groupCallId
(
int32
id_
);
22924
22926
static
const
std::int32_t
ID
= 350534469;
22927
22933
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22934
};
22935
22939
class
groupCallInfo
final :
public
Object
{
22944
std::int32_t get_id()
const
final
{
22945
return
ID
;
22946
}
22947
22948
public
:
22950
int32
group_call_id_
;
22952
string
join_payload_
;
22953
22957
groupCallInfo
();
22958
22965
groupCallInfo
(
int32
group_call_id_
,
string
const
&
join_payload_
);
22966
22968
static
const
std::int32_t
ID
= 892575956;
22969
22975
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22976
};
22977
22981
class
groupCallJoinParameters
final :
public
Object
{
22986
std::int32_t get_id()
const
final
{
22987
return
ID
;
22988
}
22989
22990
public
:
22992
int32
audio_source_id_
;
22994
string
payload_
;
22996
bool
is_muted_
;
22998
bool
is_my_video_enabled_
;
22999
23003
groupCallJoinParameters
();
23004
23013
groupCallJoinParameters
(
int32
audio_source_id_
,
string
const
&
payload_
,
bool
is_muted_
,
bool
is_my_video_enabled_
);
23014
23016
static
const
std::int32_t
ID
= 1763438054;
23017
23023
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23024
};
23025
23026
class
MessageSender
;
23027
23028
class
groupCallParticipantVideoInfo
;
23029
23033
class
groupCallParticipant
final :
public
Object
{
23038
std::int32_t get_id()
const
final
{
23039
return
ID
;
23040
}
23041
23042
public
:
23044
object_ptr<MessageSender>
participant_id_
;
23046
int32
audio_source_id_
;
23048
int32
screen_sharing_audio_source_id_
;
23050
object_ptr<groupCallParticipantVideoInfo>
video_info_
;
23052
object_ptr<groupCallParticipantVideoInfo>
screen_sharing_video_info_
;
23054
string
bio_
;
23056
bool
is_current_user_
;
23058
bool
is_speaking_
;
23060
bool
is_hand_raised_
;
23062
bool
can_be_muted_for_all_users_
;
23064
bool
can_be_unmuted_for_all_users_
;
23066
bool
can_be_muted_for_current_user_
;
23068
bool
can_be_unmuted_for_current_user_
;
23070
bool
is_muted_for_all_users_
;
23072
bool
is_muted_for_current_user_
;
23074
bool
can_unmute_self_
;
23076
int32
volume_level_
;
23078
string
order_
;
23079
23083
groupCallParticipant
();
23084
23107
groupCallParticipant
(
object_ptr<MessageSender>
&&
participant_id_
,
int32
audio_source_id_
,
int32
screen_sharing_audio_source_id_
,
object_ptr<groupCallParticipantVideoInfo>
&&
video_info_
,
object_ptr<groupCallParticipantVideoInfo>
&&
screen_sharing_video_info_
,
string
const
&
bio_
,
bool
is_current_user_
,
bool
is_speaking_
,
bool
is_hand_raised_
,
bool
can_be_muted_for_all_users_
,
bool
can_be_unmuted_for_all_users_
,
bool
can_be_muted_for_current_user_
,
bool
can_be_unmuted_for_current_user_
,
bool
is_muted_for_all_users_
,
bool
is_muted_for_current_user_
,
bool
can_unmute_self_
,
int32
volume_level_
,
string
const
&
order_
);
23108
23110
static
const
std::int32_t
ID
= 2059182571;
23111
23117
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23118
};
23119
23120
class
groupCallVideoSourceGroup
;
23121
23125
class
groupCallParticipantVideoInfo
final :
public
Object
{
23130
std::int32_t get_id()
const
final
{
23131
return
ID
;
23132
}
23133
23134
public
:
23136
array<object_ptr<groupCallVideoSourceGroup>
>
source_groups_
;
23138
string
endpoint_id_
;
23140
bool
is_paused_
;
23141
23145
groupCallParticipantVideoInfo
();
23146
23154
groupCallParticipantVideoInfo
(
array
<
object_ptr<groupCallVideoSourceGroup>
> &&
source_groups_
,
string
const
&
endpoint_id_
,
bool
is_paused_
);
23155
23157
static
const
std::int32_t
ID
= -14294645;
23158
23164
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23165
};
23166
23167
class
MessageSender
;
23168
23172
class
groupCallParticipants
final :
public
Object
{
23177
std::int32_t get_id()
const
final
{
23178
return
ID
;
23179
}
23180
23181
public
:
23183
int32
total_count_
;
23185
array<object_ptr<MessageSender>
>
participant_ids_
;
23186
23190
groupCallParticipants
();
23191
23198
groupCallParticipants
(
int32
total_count_
,
array
<
object_ptr<MessageSender>
> &&
participant_ids_
);
23199
23201
static
const
std::int32_t
ID
= -1042491570;
23202
23208
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23209
};
23210
23211
class
MessageSender
;
23212
23216
class
groupCallRecentSpeaker
final :
public
Object
{
23221
std::int32_t get_id()
const
final
{
23222
return
ID
;
23223
}
23224
23225
public
:
23227
object_ptr<MessageSender>
participant_id_
;
23229
bool
is_speaking_
;
23230
23234
groupCallRecentSpeaker
();
23235
23242
groupCallRecentSpeaker
(
object_ptr<MessageSender>
&&
participant_id_
,
bool
is_speaking_
);
23243
23245
static
const
std::int32_t
ID
= 1819519436;
23246
23252
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23253
};
23254
23259
class
GroupCallVideoQuality
:
public
Object
{
23260
public
:
23261
};
23262
23266
class
groupCallVideoQualityThumbnail
final :
public
GroupCallVideoQuality
{
23271
std::int32_t get_id()
const
final
{
23272
return
ID
;
23273
}
23274
23275
public
:
23276
23280
groupCallVideoQualityThumbnail
();
23281
23283
static
const
std::int32_t
ID
= -379186304;
23284
23290
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23291
};
23292
23296
class
groupCallVideoQualityMedium
final :
public
GroupCallVideoQuality
{
23301
std::int32_t get_id()
const
final
{
23302
return
ID
;
23303
}
23304
23305
public
:
23306
23310
groupCallVideoQualityMedium
();
23311
23313
static
const
std::int32_t
ID
= 394968234;
23314
23320
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23321
};
23322
23326
class
groupCallVideoQualityFull
final :
public
GroupCallVideoQuality
{
23331
std::int32_t get_id()
const
final
{
23332
return
ID
;
23333
}
23334
23335
public
:
23336
23340
groupCallVideoQualityFull
();
23341
23343
static
const
std::int32_t
ID
= -2125916617;
23344
23350
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23351
};
23352
23356
class
groupCallVideoSourceGroup
final :
public
Object
{
23361
std::int32_t get_id()
const
final
{
23362
return
ID
;
23363
}
23364
23365
public
:
23367
string
semantics_
;
23369
array<int32>
source_ids_
;
23370
23374
groupCallVideoSourceGroup
();
23375
23382
groupCallVideoSourceGroup
(
string
const
&
semantics_
,
array<int32>
&&
source_ids_
);
23383
23385
static
const
std::int32_t
ID
= -1190900785;
23386
23392
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23393
};
23394
23398
class
hashtags
final :
public
Object
{
23403
std::int32_t get_id()
const
final
{
23404
return
ID
;
23405
}
23406
23407
public
:
23409
array<string>
hashtags_
;
23410
23414
hashtags
();
23415
23421
explicit
hashtags
(
array<string>
&&
hashtags_
);
23422
23424
static
const
std::int32_t
ID
= 676798885;
23425
23431
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23432
};
23433
23437
class
httpUrl
final :
public
Object
{
23442
std::int32_t get_id()
const
final
{
23443
return
ID
;
23444
}
23445
23446
public
:
23448
string
url_
;
23449
23453
httpUrl
();
23454
23460
explicit
httpUrl
(
string
const
&
url_
);
23461
23463
static
const
std::int32_t
ID
= -2018019930;
23464
23470
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23471
};
23472
23473
class
date
;
23474
23475
class
datedFile
;
23476
23480
class
identityDocument
final :
public
Object
{
23485
std::int32_t get_id()
const
final
{
23486
return
ID
;
23487
}
23488
23489
public
:
23491
string
number_
;
23493
object_ptr<date>
expiration_date_
;
23495
object_ptr<datedFile>
front_side_
;
23497
object_ptr<datedFile>
reverse_side_
;
23499
object_ptr<datedFile>
selfie_
;
23501
array<object_ptr<datedFile>
>
translation_
;
23502
23506
identityDocument
();
23507
23518
identityDocument
(
string
const
&
number_
,
object_ptr<date>
&&
expiration_date_
,
object_ptr<datedFile>
&&
front_side_
,
object_ptr<datedFile>
&&
reverse_side_
,
object_ptr<datedFile>
&&
selfie_
,
array
<
object_ptr<datedFile>
> &&
translation_
);
23519
23521
static
const
std::int32_t
ID
= 1001703606;
23522
23528
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23529
};
23530
23534
class
importedContacts
final :
public
Object
{
23539
std::int32_t get_id()
const
final
{
23540
return
ID
;
23541
}
23542
23543
public
:
23545
array<int53>
user_ids_
;
23547
array<int32>
importer_count_
;
23548
23552
importedContacts
();
23553
23560
importedContacts
(
array<int53>
&&
user_ids_
,
array<int32>
&&
importer_count_
);
23561
23563
static
const
std::int32_t
ID
= 2068432290;
23564
23570
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23571
};
23572
23573
class
InlineKeyboardButtonType
;
23574
23578
class
inlineKeyboardButton
final :
public
Object
{
23583
std::int32_t get_id()
const
final
{
23584
return
ID
;
23585
}
23586
23587
public
:
23589
string
text_
;
23591
object_ptr<InlineKeyboardButtonType>
type_
;
23592
23596
inlineKeyboardButton
();
23597
23604
inlineKeyboardButton
(
string
const
&
text_
,
object_ptr<InlineKeyboardButtonType>
&&
type_
);
23605
23607
static
const
std::int32_t
ID
= -372105704;
23608
23614
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23615
};
23616
23617
class
TargetChat
;
23618
23623
class
InlineKeyboardButtonType
:
public
Object
{
23624
public
:
23625
};
23626
23630
class
inlineKeyboardButtonTypeUrl
final :
public
InlineKeyboardButtonType
{
23635
std::int32_t get_id()
const
final
{
23636
return
ID
;
23637
}
23638
23639
public
:
23641
string
url_
;
23642
23646
inlineKeyboardButtonTypeUrl
();
23647
23653
explicit
inlineKeyboardButtonTypeUrl
(
string
const
&
url_
);
23654
23656
static
const
std::int32_t
ID
= 1130741420;
23657
23663
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23664
};
23665
23669
class
inlineKeyboardButtonTypeLoginUrl
final :
public
InlineKeyboardButtonType
{
23674
std::int32_t get_id()
const
final
{
23675
return
ID
;
23676
}
23677
23678
public
:
23680
string
url_
;
23682
int53
id_
;
23684
string
forward_text_
;
23685
23689
inlineKeyboardButtonTypeLoginUrl
();
23690
23698
inlineKeyboardButtonTypeLoginUrl
(
string
const
&
url_
,
int53
id_
,
string
const
&
forward_text_
);
23699
23701
static
const
std::int32_t
ID
= -1203413081;
23702
23708
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23709
};
23710
23714
class
inlineKeyboardButtonTypeWebApp
final :
public
InlineKeyboardButtonType
{
23719
std::int32_t get_id()
const
final
{
23720
return
ID
;
23721
}
23722
23723
public
:
23725
string
url_
;
23726
23730
inlineKeyboardButtonTypeWebApp
();
23731
23737
explicit
inlineKeyboardButtonTypeWebApp
(
string
const
&
url_
);
23738
23740
static
const
std::int32_t
ID
= -1767471672;
23741
23747
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23748
};
23749
23753
class
inlineKeyboardButtonTypeCallback
final :
public
InlineKeyboardButtonType
{
23758
std::int32_t get_id()
const
final
{
23759
return
ID
;
23760
}
23761
23762
public
:
23764
bytes
data_
;
23765
23769
inlineKeyboardButtonTypeCallback
();
23770
23776
explicit
inlineKeyboardButtonTypeCallback
(
bytes
const
&
data_
);
23777
23779
static
const
std::int32_t
ID
= -1127515139;
23780
23786
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23787
};
23788
23792
class
inlineKeyboardButtonTypeCallbackWithPassword
final :
public
InlineKeyboardButtonType
{
23797
std::int32_t get_id()
const
final
{
23798
return
ID
;
23799
}
23800
23801
public
:
23803
bytes
data_
;
23804
23808
inlineKeyboardButtonTypeCallbackWithPassword
();
23809
23815
explicit
inlineKeyboardButtonTypeCallbackWithPassword
(
bytes
const
&
data_
);
23816
23818
static
const
std::int32_t
ID
= 908018248;
23819
23825
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23826
};
23827
23831
class
inlineKeyboardButtonTypeCallbackGame
final :
public
InlineKeyboardButtonType
{
23836
std::int32_t get_id()
const
final
{
23837
return
ID
;
23838
}
23839
23840
public
:
23841
23845
inlineKeyboardButtonTypeCallbackGame
();
23846
23848
static
const
std::int32_t
ID
= -383429528;
23849
23855
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23856
};
23857
23861
class
inlineKeyboardButtonTypeSwitchInline
final :
public
InlineKeyboardButtonType
{
23866
std::int32_t get_id()
const
final
{
23867
return
ID
;
23868
}
23869
23870
public
:
23872
string
query_
;
23874
object_ptr<TargetChat>
target_chat_
;
23875
23879
inlineKeyboardButtonTypeSwitchInline
();
23880
23887
inlineKeyboardButtonTypeSwitchInline
(
string
const
&
query_
,
object_ptr<TargetChat>
&&
target_chat_
);
23888
23890
static
const
std::int32_t
ID
= 544906485;
23891
23897
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23898
};
23899
23903
class
inlineKeyboardButtonTypeBuy
final :
public
InlineKeyboardButtonType
{
23908
std::int32_t get_id()
const
final
{
23909
return
ID
;
23910
}
23911
23912
public
:
23913
23917
inlineKeyboardButtonTypeBuy
();
23918
23920
static
const
std::int32_t
ID
= 1360739440;
23921
23927
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23928
};
23929
23933
class
inlineKeyboardButtonTypeUser
final :
public
InlineKeyboardButtonType
{
23938
std::int32_t get_id()
const
final
{
23939
return
ID
;
23940
}
23941
23942
public
:
23944
int53
user_id_
;
23945
23949
inlineKeyboardButtonTypeUser
();
23950
23956
explicit
inlineKeyboardButtonTypeUser
(
int53
user_id_
);
23957
23959
static
const
std::int32_t
ID
= 1836574114;
23960
23966
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23967
};
23968
23972
class
inlineKeyboardButtonTypeCopyText
final :
public
InlineKeyboardButtonType
{
23977
std::int32_t get_id()
const
final
{
23978
return
ID
;
23979
}
23980
23981
public
:
23983
string
text_
;
23984
23988
inlineKeyboardButtonTypeCopyText
();
23989
23995
explicit
inlineKeyboardButtonTypeCopyText
(
string
const
&
text_
);
23996
23998
static
const
std::int32_t
ID
= 68883206;
23999
24005
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24006
};
24007
24008
class
animation
;
24009
24010
class
audio
;
24011
24012
class
contact
;
24013
24014
class
document
;
24015
24016
class
game
;
24017
24018
class
location
;
24019
24020
class
photo
;
24021
24022
class
sticker
;
24023
24024
class
thumbnail
;
24025
24026
class
venue
;
24027
24028
class
video
;
24029
24030
class
voiceNote
;
24031
24036
class
InlineQueryResult
:
public
Object
{
24037
public
:
24038
};
24039
24043
class
inlineQueryResultArticle
final :
public
InlineQueryResult
{
24048
std::int32_t get_id()
const
final
{
24049
return
ID
;
24050
}
24051
24052
public
:
24054
string
id_
;
24056
string
url_
;
24058
string
title_
;
24060
string
description_
;
24062
object_ptr<thumbnail>
thumbnail_
;
24063
24067
inlineQueryResultArticle
();
24068
24078
inlineQueryResultArticle
(
string
const
&
id_
,
string
const
&
url_
,
string
const
&
title_
,
string
const
&
description_
,
object_ptr<thumbnail>
&&
thumbnail_
);
24079
24081
static
const
std::int32_t
ID
= 269930522;
24082
24088
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24089
};
24090
24094
class
inlineQueryResultContact
final :
public
InlineQueryResult
{
24099
std::int32_t get_id()
const
final
{
24100
return
ID
;
24101
}
24102
24103
public
:
24105
string
id_
;
24107
object_ptr<contact>
contact_
;
24109
object_ptr<thumbnail>
thumbnail_
;
24110
24114
inlineQueryResultContact
();
24115
24123
inlineQueryResultContact
(
string
const
&
id_
,
object_ptr<contact>
&&
contact_
,
object_ptr<thumbnail>
&&
thumbnail_
);
24124
24126
static
const
std::int32_t
ID
= -181960174;
24127
24133
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24134
};
24135
24139
class
inlineQueryResultLocation
final :
public
InlineQueryResult
{
24144
std::int32_t get_id()
const
final
{
24145
return
ID
;
24146
}
24147
24148
public
:
24150
string
id_
;
24152
object_ptr<location>
location_
;
24154
string
title_
;
24156
object_ptr<thumbnail>
thumbnail_
;
24157
24161
inlineQueryResultLocation
();
24162
24171
inlineQueryResultLocation
(
string
const
&
id_
,
object_ptr<location>
&&
location_
,
string
const
&
title_
,
object_ptr<thumbnail>
&&
thumbnail_
);
24172
24174
static
const
std::int32_t
ID
= 466004752;
24175
24181
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24182
};
24183
24187
class
inlineQueryResultVenue
final :
public
InlineQueryResult
{
24192
std::int32_t get_id()
const
final
{
24193
return
ID
;
24194
}
24195
24196
public
:
24198
string
id_
;
24200
object_ptr<venue>
venue_
;
24202
object_ptr<thumbnail>
thumbnail_
;
24203
24207
inlineQueryResultVenue
();
24208
24216
inlineQueryResultVenue
(
string
const
&
id_
,
object_ptr<venue>
&&
venue_
,
object_ptr<thumbnail>
&&
thumbnail_
);
24217
24219
static
const
std::int32_t
ID
= 1281036382;
24220
24226
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24227
};
24228
24232
class
inlineQueryResultGame
final :
public
InlineQueryResult
{
24237
std::int32_t get_id()
const
final
{
24238
return
ID
;
24239
}
24240
24241
public
:
24243
string
id_
;
24245
object_ptr<game>
game_
;
24246
24250
inlineQueryResultGame
();
24251
24258
inlineQueryResultGame
(
string
const
&
id_
,
object_ptr<game>
&&
game_
);
24259
24261
static
const
std::int32_t
ID
= 1706916987;
24262
24268
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24269
};
24270
24274
class
inlineQueryResultAnimation
final :
public
InlineQueryResult
{
24279
std::int32_t get_id()
const
final
{
24280
return
ID
;
24281
}
24282
24283
public
:
24285
string
id_
;
24287
object_ptr<animation>
animation_
;
24289
string
title_
;
24290
24294
inlineQueryResultAnimation
();
24295
24303
inlineQueryResultAnimation
(
string
const
&
id_
,
object_ptr<animation>
&&
animation_
,
string
const
&
title_
);
24304
24306
static
const
std::int32_t
ID
= 2009984267;
24307
24313
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24314
};
24315
24319
class
inlineQueryResultAudio
final :
public
InlineQueryResult
{
24324
std::int32_t get_id()
const
final
{
24325
return
ID
;
24326
}
24327
24328
public
:
24330
string
id_
;
24332
object_ptr<audio>
audio_
;
24333
24337
inlineQueryResultAudio
();
24338
24345
inlineQueryResultAudio
(
string
const
&
id_
,
object_ptr<audio>
&&
audio_
);
24346
24348
static
const
std::int32_t
ID
= 842650360;
24349
24355
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24356
};
24357
24361
class
inlineQueryResultDocument
final :
public
InlineQueryResult
{
24366
std::int32_t get_id()
const
final
{
24367
return
ID
;
24368
}
24369
24370
public
:
24372
string
id_
;
24374
object_ptr<document>
document_
;
24376
string
title_
;
24378
string
description_
;
24379
24383
inlineQueryResultDocument
();
24384
24393
inlineQueryResultDocument
(
string
const
&
id_
,
object_ptr<document>
&&
document_
,
string
const
&
title_
,
string
const
&
description_
);
24394
24396
static
const
std::int32_t
ID
= -1491268539;
24397
24403
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24404
};
24405
24409
class
inlineQueryResultPhoto
final :
public
InlineQueryResult
{
24414
std::int32_t get_id()
const
final
{
24415
return
ID
;
24416
}
24417
24418
public
:
24420
string
id_
;
24422
object_ptr<photo>
photo_
;
24424
string
title_
;
24426
string
description_
;
24427
24431
inlineQueryResultPhoto
();
24432
24441
inlineQueryResultPhoto
(
string
const
&
id_
,
object_ptr<photo>
&&
photo_
,
string
const
&
title_
,
string
const
&
description_
);
24442
24444
static
const
std::int32_t
ID
= 1848319440;
24445
24451
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24452
};
24453
24457
class
inlineQueryResultSticker
final :
public
InlineQueryResult
{
24462
std::int32_t get_id()
const
final
{
24463
return
ID
;
24464
}
24465
24466
public
:
24468
string
id_
;
24470
object_ptr<sticker>
sticker_
;
24471
24475
inlineQueryResultSticker
();
24476
24483
inlineQueryResultSticker
(
string
const
&
id_
,
object_ptr<sticker>
&&
sticker_
);
24484
24486
static
const
std::int32_t
ID
= -1848224245;
24487
24493
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24494
};
24495
24499
class
inlineQueryResultVideo
final :
public
InlineQueryResult
{
24504
std::int32_t get_id()
const
final
{
24505
return
ID
;
24506
}
24507
24508
public
:
24510
string
id_
;
24512
object_ptr<video>
video_
;
24514
string
title_
;
24516
string
description_
;
24517
24521
inlineQueryResultVideo
();
24522
24531
inlineQueryResultVideo
(
string
const
&
id_
,
object_ptr<video>
&&
video_
,
string
const
&
title_
,
string
const
&
description_
);
24532
24534
static
const
std::int32_t
ID
= -1373158683;
24535
24541
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24542
};
24543
24547
class
inlineQueryResultVoiceNote
final :
public
InlineQueryResult
{
24552
std::int32_t get_id()
const
final
{
24553
return
ID
;
24554
}
24555
24556
public
:
24558
string
id_
;
24560
object_ptr<voiceNote>
voice_note_
;
24562
string
title_
;
24563
24567
inlineQueryResultVoiceNote
();
24568
24576
inlineQueryResultVoiceNote
(
string
const
&
id_
,
object_ptr<voiceNote>
&&
voice_note_
,
string
const
&
title_
);
24577
24579
static
const
std::int32_t
ID
= -1897393105;
24580
24586
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24587
};
24588
24589
class
InlineQueryResult
;
24590
24591
class
inlineQueryResultsButton
;
24592
24596
class
inlineQueryResults
final :
public
Object
{
24601
std::int32_t get_id()
const
final
{
24602
return
ID
;
24603
}
24604
24605
public
:
24607
int64
inline_query_id_
;
24609
object_ptr<inlineQueryResultsButton>
button_
;
24611
array<object_ptr<InlineQueryResult>
>
results_
;
24613
string
next_offset_
;
24614
24618
inlineQueryResults
();
24619
24628
inlineQueryResults
(
int64
inline_query_id_
,
object_ptr<inlineQueryResultsButton>
&&
button_
,
array
<
object_ptr<InlineQueryResult>
> &&
results_
,
string
const
&
next_offset_
);
24629
24631
static
const
std::int32_t
ID
= 1830685615;
24632
24638
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24639
};
24640
24641
class
InlineQueryResultsButtonType
;
24642
24646
class
inlineQueryResultsButton
final :
public
Object
{
24651
std::int32_t get_id()
const
final
{
24652
return
ID
;
24653
}
24654
24655
public
:
24657
string
text_
;
24659
object_ptr<InlineQueryResultsButtonType>
type_
;
24660
24664
inlineQueryResultsButton
();
24665
24672
inlineQueryResultsButton
(
string
const
&
text_
,
object_ptr<InlineQueryResultsButtonType>
&&
type_
);
24673
24675
static
const
std::int32_t
ID
= -790689618;
24676
24682
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24683
};
24684
24689
class
InlineQueryResultsButtonType
:
public
Object
{
24690
public
:
24691
};
24692
24696
class
inlineQueryResultsButtonTypeStartBot
final :
public
InlineQueryResultsButtonType
{
24701
std::int32_t get_id()
const
final
{
24702
return
ID
;
24703
}
24704
24705
public
:
24707
string
parameter_
;
24708
24712
inlineQueryResultsButtonTypeStartBot
();
24713
24719
explicit
inlineQueryResultsButtonTypeStartBot
(
string
const
&
parameter_
);
24720
24722
static
const
std::int32_t
ID
= -23400235;
24723
24729
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24730
};
24731
24735
class
inlineQueryResultsButtonTypeWebApp
final :
public
InlineQueryResultsButtonType
{
24740
std::int32_t get_id()
const
final
{
24741
return
ID
;
24742
}
24743
24744
public
:
24746
string
url_
;
24747
24751
inlineQueryResultsButtonTypeWebApp
();
24752
24758
explicit
inlineQueryResultsButtonTypeWebApp
(
string
const
&
url_
);
24759
24761
static
const
std::int32_t
ID
= -1197382814;
24762
24768
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24769
};
24770
24771
class
InputFile
;
24772
24777
class
InputBackground
:
public
Object
{
24778
public
:
24779
};
24780
24784
class
inputBackgroundLocal
final :
public
InputBackground
{
24789
std::int32_t get_id()
const
final
{
24790
return
ID
;
24791
}
24792
24793
public
:
24795
object_ptr<InputFile>
background_
;
24796
24800
inputBackgroundLocal
();
24801
24807
explicit
inputBackgroundLocal
(
object_ptr<InputFile>
&&
background_
);
24808
24810
static
const
std::int32_t
ID
= -1747094364;
24811
24817
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24818
};
24819
24823
class
inputBackgroundRemote
final :
public
InputBackground
{
24828
std::int32_t get_id()
const
final
{
24829
return
ID
;
24830
}
24831
24832
public
:
24834
int64
background_id_
;
24835
24839
inputBackgroundRemote
();
24840
24846
explicit
inputBackgroundRemote
(
int64
background_id_
);
24847
24849
static
const
std::int32_t
ID
= -274976231;
24850
24856
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24857
};
24858
24862
class
inputBackgroundPrevious
final :
public
InputBackground
{
24867
std::int32_t get_id()
const
final
{
24868
return
ID
;
24869
}
24870
24871
public
:
24873
int53
message_id_
;
24874
24878
inputBackgroundPrevious
();
24879
24885
explicit
inputBackgroundPrevious
(
int53
message_id_
);
24886
24888
static
const
std::int32_t
ID
= -351905954;
24889
24895
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24896
};
24897
24898
class
formattedText
;
24899
24903
class
inputBusinessChatLink
final :
public
Object
{
24908
std::int32_t get_id()
const
final
{
24909
return
ID
;
24910
}
24911
24912
public
:
24914
object_ptr<formattedText>
text_
;
24916
string
title_
;
24917
24921
inputBusinessChatLink
();
24922
24929
inputBusinessChatLink
(
object_ptr<formattedText>
&&
text_
,
string
const
&
title_
);
24930
24932
static
const
std::int32_t
ID
= 237858296;
24933
24939
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24940
};
24941
24942
class
InputFile
;
24943
24947
class
inputBusinessStartPage
final :
public
Object
{
24952
std::int32_t get_id()
const
final
{
24953
return
ID
;
24954
}
24955
24956
public
:
24958
string
title_
;
24960
string
message_
;
24962
object_ptr<InputFile>
sticker_
;
24963
24967
inputBusinessStartPage
();
24968
24976
inputBusinessStartPage
(
string
const
&
title_
,
string
const
&
message_
,
object_ptr<InputFile>
&&
sticker_
);
24977
24979
static
const
std::int32_t
ID
= -327383072;
24980
24986
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24987
};
24988
24989
class
InputFile
;
24990
24991
class
chatPhotoSticker
;
24992
24997
class
InputChatPhoto
:
public
Object
{
24998
public
:
24999
};
25000
25004
class
inputChatPhotoPrevious
final :
public
InputChatPhoto
{
25009
std::int32_t get_id()
const
final
{
25010
return
ID
;
25011
}
25012
25013
public
:
25015
int64
chat_photo_id_
;
25016
25020
inputChatPhotoPrevious
();
25021
25027
explicit
inputChatPhotoPrevious
(
int64
chat_photo_id_
);
25028
25030
static
const
std::int32_t
ID
= 23128529;
25031
25037
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25038
};
25039
25043
class
inputChatPhotoStatic
final :
public
InputChatPhoto
{
25048
std::int32_t get_id()
const
final
{
25049
return
ID
;
25050
}
25051
25052
public
:
25054
object_ptr<InputFile>
photo_
;
25055
25059
inputChatPhotoStatic
();
25060
25066
explicit
inputChatPhotoStatic
(
object_ptr<InputFile>
&&
photo_
);
25067
25069
static
const
std::int32_t
ID
= 1979179699;
25070
25076
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25077
};
25078
25082
class
inputChatPhotoAnimation
final :
public
InputChatPhoto
{
25087
std::int32_t get_id()
const
final
{
25088
return
ID
;
25089
}
25090
25091
public
:
25093
object_ptr<InputFile>
animation_
;
25095
double
main_frame_timestamp_
;
25096
25100
inputChatPhotoAnimation
();
25101
25108
inputChatPhotoAnimation
(
object_ptr<InputFile>
&&
animation_
,
double
main_frame_timestamp_
);
25109
25111
static
const
std::int32_t
ID
= 90846242;
25112
25118
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25119
};
25120
25124
class
inputChatPhotoSticker
final :
public
InputChatPhoto
{
25129
std::int32_t get_id()
const
final
{
25130
return
ID
;
25131
}
25132
25133
public
:
25135
object_ptr<chatPhotoSticker>
sticker_
;
25136
25140
inputChatPhotoSticker
();
25141
25147
explicit
inputChatPhotoSticker
(
object_ptr<chatPhotoSticker>
&&
sticker_
);
25148
25150
static
const
std::int32_t
ID
= 1315861341;
25151
25157
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25158
};
25159
25164
class
InputChatTheme
:
public
Object
{
25165
public
:
25166
};
25167
25171
class
inputChatThemeEmoji
final :
public
InputChatTheme
{
25176
std::int32_t get_id()
const
final
{
25177
return
ID
;
25178
}
25179
25180
public
:
25182
string
name_
;
25183
25187
inputChatThemeEmoji
();
25188
25194
explicit
inputChatThemeEmoji
(
string
const
&
name_
);
25195
25197
static
const
std::int32_t
ID
= -1461787199;
25198
25204
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25205
};
25206
25210
class
inputChatThemeGift
final :
public
InputChatTheme
{
25215
std::int32_t get_id()
const
final
{
25216
return
ID
;
25217
}
25218
25219
public
:
25221
string
name_
;
25222
25226
inputChatThemeGift
();
25227
25233
explicit
inputChatThemeGift
(
string
const
&
name_
);
25234
25236
static
const
std::int32_t
ID
= 2026976301;
25237
25243
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25244
};
25245
25246
class
formattedText
;
25247
25248
class
inputChecklistTask
;
25249
25253
class
inputChecklist
final :
public
Object
{
25258
std::int32_t get_id()
const
final
{
25259
return
ID
;
25260
}
25261
25262
public
:
25264
object_ptr<formattedText>
title_
;
25266
array<object_ptr<inputChecklistTask>
>
tasks_
;
25268
bool
others_can_add_tasks_
;
25270
bool
others_can_mark_tasks_as_done_
;
25271
25275
inputChecklist
();
25276
25285
inputChecklist
(
object_ptr<formattedText>
&&
title_
,
array
<
object_ptr<inputChecklistTask>
> &&
tasks_
,
bool
others_can_add_tasks_
,
bool
others_can_mark_tasks_as_done_
);
25286
25288
static
const
std::int32_t
ID
= -145125739;
25289
25295
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25296
};
25297
25298
class
formattedText
;
25299
25303
class
inputChecklistTask
final :
public
Object
{
25308
std::int32_t get_id()
const
final
{
25309
return
ID
;
25310
}
25311
25312
public
:
25314
int32
id_
;
25316
object_ptr<formattedText>
text_
;
25317
25321
inputChecklistTask
();
25322
25329
inputChecklistTask
(
int32
id_
,
object_ptr<formattedText>
&&
text_
);
25330
25332
static
const
std::int32_t
ID
= 1633462225;
25333
25339
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25340
};
25341
25346
class
InputCredentials
:
public
Object
{
25347
public
:
25348
};
25349
25353
class
inputCredentialsSaved
final :
public
InputCredentials
{
25358
std::int32_t get_id()
const
final
{
25359
return
ID
;
25360
}
25361
25362
public
:
25364
string
saved_credentials_id_
;
25365
25369
inputCredentialsSaved
();
25370
25376
explicit
inputCredentialsSaved
(
string
const
&
saved_credentials_id_
);
25377
25379
static
const
std::int32_t
ID
= -2034385364;
25380
25386
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25387
};
25388
25392
class
inputCredentialsNew
final :
public
InputCredentials
{
25397
std::int32_t get_id()
const
final
{
25398
return
ID
;
25399
}
25400
25401
public
:
25403
string
data_
;
25405
bool
allow_save_
;
25406
25410
inputCredentialsNew
();
25411
25418
inputCredentialsNew
(
string
const
&
data_
,
bool
allow_save_
);
25419
25421
static
const
std::int32_t
ID
= -829689558;
25422
25428
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25429
};
25430
25434
class
inputCredentialsApplePay
final :
public
InputCredentials
{
25439
std::int32_t get_id()
const
final
{
25440
return
ID
;
25441
}
25442
25443
public
:
25445
string
data_
;
25446
25450
inputCredentialsApplePay
();
25451
25457
explicit
inputCredentialsApplePay
(
string
const
&
data_
);
25458
25460
static
const
std::int32_t
ID
= -1246570799;
25461
25467
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25468
};
25469
25473
class
inputCredentialsGooglePay
final :
public
InputCredentials
{
25478
std::int32_t get_id()
const
final
{
25479
return
ID
;
25480
}
25481
25482
public
:
25484
string
data_
;
25485
25489
inputCredentialsGooglePay
();
25490
25496
explicit
inputCredentialsGooglePay
(
string
const
&
data_
);
25497
25499
static
const
std::int32_t
ID
= 844384100;
25500
25506
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25507
};
25508
25513
class
InputFile
:
public
Object
{
25514
public
:
25515
};
25516
25520
class
inputFileId
final :
public
InputFile
{
25525
std::int32_t get_id()
const
final
{
25526
return
ID
;
25527
}
25528
25529
public
:
25531
int32
id_
;
25532
25536
inputFileId
();
25537
25543
explicit
inputFileId
(
int32
id_
);
25544
25546
static
const
std::int32_t
ID
= 1788906253;
25547
25553
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25554
};
25555
25559
class
inputFileRemote
final :
public
InputFile
{
25564
std::int32_t get_id()
const
final
{
25565
return
ID
;
25566
}
25567
25568
public
:
25570
string
id_
;
25571
25575
inputFileRemote
();
25576
25582
explicit
inputFileRemote
(
string
const
&
id_
);
25583
25585
static
const
std::int32_t
ID
= -107574466;
25586
25592
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25593
};
25594
25598
class
inputFileLocal
final :
public
InputFile
{
25603
std::int32_t get_id()
const
final
{
25604
return
ID
;
25605
}
25606
25607
public
:
25609
string
path_
;
25610
25614
inputFileLocal
();
25615
25621
explicit
inputFileLocal
(
string
const
&
path_
);
25622
25624
static
const
std::int32_t
ID
= 2056030919;
25625
25631
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25632
};
25633
25637
class
inputFileGenerated
final :
public
InputFile
{
25642
std::int32_t get_id()
const
final
{
25643
return
ID
;
25644
}
25645
25646
public
:
25648
string
original_path_
;
25650
string
conversion_
;
25652
int53
expected_size_
;
25653
25657
inputFileGenerated
();
25658
25666
inputFileGenerated
(
string
const
&
original_path_
,
string
const
&
conversion_
,
int53
expected_size_
);
25667
25669
static
const
std::int32_t
ID
= -1333385216;
25670
25676
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25677
};
25678
25683
class
InputGroupCall
:
public
Object
{
25684
public
:
25685
};
25686
25690
class
inputGroupCallLink
final :
public
InputGroupCall
{
25695
std::int32_t get_id()
const
final
{
25696
return
ID
;
25697
}
25698
25699
public
:
25701
string
link_
;
25702
25706
inputGroupCallLink
();
25707
25713
explicit
inputGroupCallLink
(
string
const
&
link_
);
25714
25716
static
const
std::int32_t
ID
= -812157480;
25717
25723
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25724
};
25725
25729
class
inputGroupCallMessage
final :
public
InputGroupCall
{
25734
std::int32_t get_id()
const
final
{
25735
return
ID
;
25736
}
25737
25738
public
:
25740
int53
chat_id_
;
25742
int53
message_id_
;
25743
25747
inputGroupCallMessage
();
25748
25755
inputGroupCallMessage
(
int53
chat_id_
,
int53
message_id_
);
25756
25758
static
const
std::int32_t
ID
= -341793768;
25759
25765
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25766
};
25767
25768
class
InputFile
;
25769
25770
class
date
;
25771
25775
class
inputIdentityDocument
final :
public
Object
{
25780
std::int32_t get_id()
const
final
{
25781
return
ID
;
25782
}
25783
25784
public
:
25786
string
number_
;
25788
object_ptr<date>
expiration_date_
;
25790
object_ptr<InputFile>
front_side_
;
25792
object_ptr<InputFile>
reverse_side_
;
25794
object_ptr<InputFile>
selfie_
;
25796
array<object_ptr<InputFile>
>
translation_
;
25797
25801
inputIdentityDocument
();
25802
25813
inputIdentityDocument
(
string
const
&
number_
,
object_ptr<date>
&&
expiration_date_
,
object_ptr<InputFile>
&&
front_side_
,
object_ptr<InputFile>
&&
reverse_side_
,
object_ptr<InputFile>
&&
selfie_
,
array
<
object_ptr<InputFile>
> &&
translation_
);
25814
25816
static
const
std::int32_t
ID
= 767353688;
25817
25823
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25824
};
25825
25826
class
InputMessageContent
;
25827
25828
class
ReplyMarkup
;
25829
25830
class
contact
;
25831
25832
class
location
;
25833
25834
class
venue
;
25835
25840
class
InputInlineQueryResult
:
public
Object
{
25841
public
:
25842
};
25843
25847
class
inputInlineQueryResultAnimation
final :
public
InputInlineQueryResult
{
25852
std::int32_t get_id()
const
final
{
25853
return
ID
;
25854
}
25855
25856
public
:
25858
string
id_
;
25860
string
title_
;
25862
string
thumbnail_url_
;
25864
string
thumbnail_mime_type_
;
25866
string
video_url_
;
25868
string
video_mime_type_
;
25870
int32
video_duration_
;
25872
int32
video_width_
;
25874
int32
video_height_
;
25876
object_ptr<ReplyMarkup>
reply_markup_
;
25878
object_ptr<InputMessageContent>
input_message_content_
;
25879
25883
inputInlineQueryResultAnimation
();
25884
25900
inputInlineQueryResultAnimation
(
string
const
&
id_
,
string
const
&
title_
,
string
const
&
thumbnail_url_
,
string
const
&
thumbnail_mime_type_
,
string
const
&
video_url_
,
string
const
&
video_mime_type_
,
int32
video_duration_
,
int32
video_width_
,
int32
video_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
25901
25903
static
const
std::int32_t
ID
= -1489808874;
25904
25910
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25911
};
25912
25916
class
inputInlineQueryResultArticle
final :
public
InputInlineQueryResult
{
25921
std::int32_t get_id()
const
final
{
25922
return
ID
;
25923
}
25924
25925
public
:
25927
string
id_
;
25929
string
url_
;
25931
string
title_
;
25933
string
description_
;
25935
string
thumbnail_url_
;
25937
int32
thumbnail_width_
;
25939
int32
thumbnail_height_
;
25941
object_ptr<ReplyMarkup>
reply_markup_
;
25943
object_ptr<InputMessageContent>
input_message_content_
;
25944
25948
inputInlineQueryResultArticle
();
25949
25963
inputInlineQueryResultArticle
(
string
const
&
id_
,
string
const
&
url_
,
string
const
&
title_
,
string
const
&
description_
,
string
const
&
thumbnail_url_
,
int32
thumbnail_width_
,
int32
thumbnail_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
25964
25966
static
const
std::int32_t
ID
= 1983218620;
25967
25973
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25974
};
25975
25979
class
inputInlineQueryResultAudio
final :
public
InputInlineQueryResult
{
25984
std::int32_t get_id()
const
final
{
25985
return
ID
;
25986
}
25987
25988
public
:
25990
string
id_
;
25992
string
title_
;
25994
string
performer_
;
25996
string
audio_url_
;
25998
int32
audio_duration_
;
26000
object_ptr<ReplyMarkup>
reply_markup_
;
26002
object_ptr<InputMessageContent>
input_message_content_
;
26003
26007
inputInlineQueryResultAudio
();
26008
26020
inputInlineQueryResultAudio
(
string
const
&
id_
,
string
const
&
title_
,
string
const
&
performer_
,
string
const
&
audio_url_
,
int32
audio_duration_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26021
26023
static
const
std::int32_t
ID
= 1260139988;
26024
26030
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26031
};
26032
26036
class
inputInlineQueryResultContact
final :
public
InputInlineQueryResult
{
26041
std::int32_t get_id()
const
final
{
26042
return
ID
;
26043
}
26044
26045
public
:
26047
string
id_
;
26049
object_ptr<contact>
contact_
;
26051
string
thumbnail_url_
;
26053
int32
thumbnail_width_
;
26055
int32
thumbnail_height_
;
26057
object_ptr<ReplyMarkup>
reply_markup_
;
26059
object_ptr<InputMessageContent>
input_message_content_
;
26060
26064
inputInlineQueryResultContact
();
26065
26077
inputInlineQueryResultContact
(
string
const
&
id_
,
object_ptr<contact>
&&
contact_
,
string
const
&
thumbnail_url_
,
int32
thumbnail_width_
,
int32
thumbnail_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26078
26080
static
const
std::int32_t
ID
= 1846064594;
26081
26087
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26088
};
26089
26093
class
inputInlineQueryResultDocument
final :
public
InputInlineQueryResult
{
26098
std::int32_t get_id()
const
final
{
26099
return
ID
;
26100
}
26101
26102
public
:
26104
string
id_
;
26106
string
title_
;
26108
string
description_
;
26110
string
document_url_
;
26112
string
mime_type_
;
26114
string
thumbnail_url_
;
26116
int32
thumbnail_width_
;
26118
int32
thumbnail_height_
;
26120
object_ptr<ReplyMarkup>
reply_markup_
;
26122
object_ptr<InputMessageContent>
input_message_content_
;
26123
26127
inputInlineQueryResultDocument
();
26128
26143
inputInlineQueryResultDocument
(
string
const
&
id_
,
string
const
&
title_
,
string
const
&
description_
,
string
const
&
document_url_
,
string
const
&
mime_type_
,
string
const
&
thumbnail_url_
,
int32
thumbnail_width_
,
int32
thumbnail_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26144
26146
static
const
std::int32_t
ID
= 578801869;
26147
26153
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26154
};
26155
26159
class
inputInlineQueryResultGame
final :
public
InputInlineQueryResult
{
26164
std::int32_t get_id()
const
final
{
26165
return
ID
;
26166
}
26167
26168
public
:
26170
string
id_
;
26172
string
game_short_name_
;
26174
object_ptr<ReplyMarkup>
reply_markup_
;
26175
26179
inputInlineQueryResultGame
();
26180
26188
inputInlineQueryResultGame
(
string
const
&
id_
,
string
const
&
game_short_name_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
);
26189
26191
static
const
std::int32_t
ID
= 966074327;
26192
26198
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26199
};
26200
26204
class
inputInlineQueryResultLocation
final :
public
InputInlineQueryResult
{
26209
std::int32_t get_id()
const
final
{
26210
return
ID
;
26211
}
26212
26213
public
:
26215
string
id_
;
26217
object_ptr<location>
location_
;
26219
int32
live_period_
;
26221
string
title_
;
26223
string
thumbnail_url_
;
26225
int32
thumbnail_width_
;
26227
int32
thumbnail_height_
;
26229
object_ptr<ReplyMarkup>
reply_markup_
;
26231
object_ptr<InputMessageContent>
input_message_content_
;
26232
26236
inputInlineQueryResultLocation
();
26237
26251
inputInlineQueryResultLocation
(
string
const
&
id_
,
object_ptr<location>
&&
location_
,
int32
live_period_
,
string
const
&
title_
,
string
const
&
thumbnail_url_
,
int32
thumbnail_width_
,
int32
thumbnail_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26252
26254
static
const
std::int32_t
ID
= -1887650218;
26255
26261
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26262
};
26263
26267
class
inputInlineQueryResultPhoto
final :
public
InputInlineQueryResult
{
26272
std::int32_t get_id()
const
final
{
26273
return
ID
;
26274
}
26275
26276
public
:
26278
string
id_
;
26280
string
title_
;
26282
string
description_
;
26284
string
thumbnail_url_
;
26286
string
photo_url_
;
26288
int32
photo_width_
;
26290
int32
photo_height_
;
26292
object_ptr<ReplyMarkup>
reply_markup_
;
26294
object_ptr<InputMessageContent>
input_message_content_
;
26295
26299
inputInlineQueryResultPhoto
();
26300
26314
inputInlineQueryResultPhoto
(
string
const
&
id_
,
string
const
&
title_
,
string
const
&
description_
,
string
const
&
thumbnail_url_
,
string
const
&
photo_url_
,
int32
photo_width_
,
int32
photo_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26315
26317
static
const
std::int32_t
ID
= -1123338721;
26318
26324
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26325
};
26326
26330
class
inputInlineQueryResultSticker
final :
public
InputInlineQueryResult
{
26335
std::int32_t get_id()
const
final
{
26336
return
ID
;
26337
}
26338
26339
public
:
26341
string
id_
;
26343
string
thumbnail_url_
;
26345
string
sticker_url_
;
26347
int32
sticker_width_
;
26349
int32
sticker_height_
;
26351
object_ptr<ReplyMarkup>
reply_markup_
;
26353
object_ptr<InputMessageContent>
input_message_content_
;
26354
26358
inputInlineQueryResultSticker
();
26359
26371
inputInlineQueryResultSticker
(
string
const
&
id_
,
string
const
&
thumbnail_url_
,
string
const
&
sticker_url_
,
int32
sticker_width_
,
int32
sticker_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26372
26374
static
const
std::int32_t
ID
= 274007129;
26375
26381
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26382
};
26383
26387
class
inputInlineQueryResultVenue
final :
public
InputInlineQueryResult
{
26392
std::int32_t get_id()
const
final
{
26393
return
ID
;
26394
}
26395
26396
public
:
26398
string
id_
;
26400
object_ptr<venue>
venue_
;
26402
string
thumbnail_url_
;
26404
int32
thumbnail_width_
;
26406
int32
thumbnail_height_
;
26408
object_ptr<ReplyMarkup>
reply_markup_
;
26410
object_ptr<InputMessageContent>
input_message_content_
;
26411
26415
inputInlineQueryResultVenue
();
26416
26428
inputInlineQueryResultVenue
(
string
const
&
id_
,
object_ptr<venue>
&&
venue_
,
string
const
&
thumbnail_url_
,
int32
thumbnail_width_
,
int32
thumbnail_height_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26429
26431
static
const
std::int32_t
ID
= 541704509;
26432
26438
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26439
};
26440
26444
class
inputInlineQueryResultVideo
final :
public
InputInlineQueryResult
{
26449
std::int32_t get_id()
const
final
{
26450
return
ID
;
26451
}
26452
26453
public
:
26455
string
id_
;
26457
string
title_
;
26459
string
description_
;
26461
string
thumbnail_url_
;
26463
string
video_url_
;
26465
string
mime_type_
;
26467
int32
video_width_
;
26469
int32
video_height_
;
26471
int32
video_duration_
;
26473
object_ptr<ReplyMarkup>
reply_markup_
;
26475
object_ptr<InputMessageContent>
input_message_content_
;
26476
26480
inputInlineQueryResultVideo
();
26481
26497
inputInlineQueryResultVideo
(
string
const
&
id_
,
string
const
&
title_
,
string
const
&
description_
,
string
const
&
thumbnail_url_
,
string
const
&
video_url_
,
string
const
&
mime_type_
,
int32
video_width_
,
int32
video_height_
,
int32
video_duration_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26498
26500
static
const
std::int32_t
ID
= 1724073191;
26501
26507
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26508
};
26509
26513
class
inputInlineQueryResultVoiceNote
final :
public
InputInlineQueryResult
{
26518
std::int32_t get_id()
const
final
{
26519
return
ID
;
26520
}
26521
26522
public
:
26524
string
id_
;
26526
string
title_
;
26528
string
voice_note_url_
;
26530
int32
voice_note_duration_
;
26532
object_ptr<ReplyMarkup>
reply_markup_
;
26534
object_ptr<InputMessageContent>
input_message_content_
;
26535
26539
inputInlineQueryResultVoiceNote
();
26540
26551
inputInlineQueryResultVoiceNote
(
string
const
&
id_
,
string
const
&
title_
,
string
const
&
voice_note_url_
,
int32
voice_note_duration_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
,
object_ptr<InputMessageContent>
&&
input_message_content_
);
26552
26554
static
const
std::int32_t
ID
= -1790072503;
26555
26561
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26562
};
26563
26564
class
TelegramPaymentPurpose
;
26565
26570
class
InputInvoice
:
public
Object
{
26571
public
:
26572
};
26573
26577
class
inputInvoiceMessage
final :
public
InputInvoice
{
26582
std::int32_t get_id()
const
final
{
26583
return
ID
;
26584
}
26585
26586
public
:
26588
int53
chat_id_
;
26590
int53
message_id_
;
26591
26595
inputInvoiceMessage
();
26596
26603
inputInvoiceMessage
(
int53
chat_id_
,
int53
message_id_
);
26604
26606
static
const
std::int32_t
ID
= 1490872848;
26607
26613
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26614
};
26615
26619
class
inputInvoiceName
final :
public
InputInvoice
{
26624
std::int32_t get_id()
const
final
{
26625
return
ID
;
26626
}
26627
26628
public
:
26630
string
name_
;
26631
26635
inputInvoiceName
();
26636
26642
explicit
inputInvoiceName
(
string
const
&
name_
);
26643
26645
static
const
std::int32_t
ID
= -1312155917;
26646
26652
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26653
};
26654
26658
class
inputInvoiceTelegram
final :
public
InputInvoice
{
26663
std::int32_t get_id()
const
final
{
26664
return
ID
;
26665
}
26666
26667
public
:
26669
object_ptr<TelegramPaymentPurpose>
purpose_
;
26670
26674
inputInvoiceTelegram
();
26675
26681
explicit
inputInvoiceTelegram
(
object_ptr<TelegramPaymentPurpose>
&&
purpose_
);
26682
26684
static
const
std::int32_t
ID
= -1762853139;
26685
26691
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26692
};
26693
26694
class
InputFile
;
26695
26696
class
MessageSelfDestructType
;
26697
26698
class
PollType
;
26699
26700
class
contact
;
26701
26702
class
formattedText
;
26703
26704
class
inputChecklist
;
26705
26706
class
inputPaidMedia
;
26707
26708
class
inputThumbnail
;
26709
26710
class
invoice
;
26711
26712
class
linkPreviewOptions
;
26713
26714
class
location
;
26715
26716
class
messageCopyOptions
;
26717
26718
class
venue
;
26719
26724
class
InputMessageContent
:
public
Object
{
26725
public
:
26726
};
26727
26731
class
inputMessageText
final :
public
InputMessageContent
{
26736
std::int32_t get_id()
const
final
{
26737
return
ID
;
26738
}
26739
26740
public
:
26742
object_ptr<formattedText>
text_
;
26744
object_ptr<linkPreviewOptions>
link_preview_options_
;
26746
bool
clear_draft_
;
26747
26751
inputMessageText
();
26752
26760
inputMessageText
(
object_ptr<formattedText>
&&
text_
,
object_ptr<linkPreviewOptions>
&&
link_preview_options_
,
bool
clear_draft_
);
26761
26763
static
const
std::int32_t
ID
= -212805484;
26764
26770
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26771
};
26772
26776
class
inputMessageAnimation
final :
public
InputMessageContent
{
26781
std::int32_t get_id()
const
final
{
26782
return
ID
;
26783
}
26784
26785
public
:
26787
object_ptr<InputFile>
animation_
;
26789
object_ptr<inputThumbnail>
thumbnail_
;
26791
array<int32>
added_sticker_file_ids_
;
26793
int32
duration_
;
26795
int32
width_
;
26797
int32
height_
;
26799
object_ptr<formattedText>
caption_
;
26801
bool
show_caption_above_media_
;
26803
bool
has_spoiler_
;
26804
26808
inputMessageAnimation
();
26809
26823
inputMessageAnimation
(
object_ptr<InputFile>
&&
animation_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
array<int32>
&&
added_sticker_file_ids_
,
int32
duration_
,
int32
width_
,
int32
height_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
bool
has_spoiler_
);
26824
26826
static
const
std::int32_t
ID
= -210404059;
26827
26833
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26834
};
26835
26839
class
inputMessageAudio
final :
public
InputMessageContent
{
26844
std::int32_t get_id()
const
final
{
26845
return
ID
;
26846
}
26847
26848
public
:
26850
object_ptr<InputFile>
audio_
;
26852
object_ptr<inputThumbnail>
album_cover_thumbnail_
;
26854
int32
duration_
;
26856
string
title_
;
26858
string
performer_
;
26860
object_ptr<formattedText>
caption_
;
26861
26865
inputMessageAudio
();
26866
26877
inputMessageAudio
(
object_ptr<InputFile>
&&
audio_
,
object_ptr<inputThumbnail>
&&
album_cover_thumbnail_
,
int32
duration_
,
string
const
&
title_
,
string
const
&
performer_
,
object_ptr<formattedText>
&&
caption_
);
26878
26880
static
const
std::int32_t
ID
= -626786126;
26881
26887
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26888
};
26889
26893
class
inputMessageDocument
final :
public
InputMessageContent
{
26898
std::int32_t get_id()
const
final
{
26899
return
ID
;
26900
}
26901
26902
public
:
26904
object_ptr<InputFile>
document_
;
26906
object_ptr<inputThumbnail>
thumbnail_
;
26908
bool
disable_content_type_detection_
;
26910
object_ptr<formattedText>
caption_
;
26911
26915
inputMessageDocument
();
26916
26925
inputMessageDocument
(
object_ptr<InputFile>
&&
document_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
bool
disable_content_type_detection_
,
object_ptr<formattedText>
&&
caption_
);
26926
26928
static
const
std::int32_t
ID
= 1633383097;
26929
26935
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26936
};
26937
26941
class
inputMessagePaidMedia
final :
public
InputMessageContent
{
26946
std::int32_t get_id()
const
final
{
26947
return
ID
;
26948
}
26949
26950
public
:
26952
int53
star_count_
;
26954
array<object_ptr<inputPaidMedia>
>
paid_media_
;
26956
object_ptr<formattedText>
caption_
;
26958
bool
show_caption_above_media_
;
26960
string
payload_
;
26961
26965
inputMessagePaidMedia
();
26966
26976
inputMessagePaidMedia
(
int53
star_count_
,
array
<
object_ptr<inputPaidMedia>
> &&
paid_media_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
string
const
&
payload_
);
26977
26979
static
const
std::int32_t
ID
= -1274819374;
26980
26986
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26987
};
26988
26992
class
inputMessagePhoto
final :
public
InputMessageContent
{
26997
std::int32_t get_id()
const
final
{
26998
return
ID
;
26999
}
27000
27001
public
:
27003
object_ptr<InputFile>
photo_
;
27005
object_ptr<inputThumbnail>
thumbnail_
;
27007
array<int32>
added_sticker_file_ids_
;
27009
int32
width_
;
27011
int32
height_
;
27013
object_ptr<formattedText>
caption_
;
27015
bool
show_caption_above_media_
;
27017
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
27019
bool
has_spoiler_
;
27020
27024
inputMessagePhoto
();
27025
27039
inputMessagePhoto
(
object_ptr<InputFile>
&&
photo_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
array<int32>
&&
added_sticker_file_ids_
,
int32
width_
,
int32
height_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
object_ptr<MessageSelfDestructType>
&&
self_destruct_type_
,
bool
has_spoiler_
);
27040
27042
static
const
std::int32_t
ID
= -810129442;
27043
27049
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27050
};
27051
27055
class
inputMessageSticker
final :
public
InputMessageContent
{
27060
std::int32_t get_id()
const
final
{
27061
return
ID
;
27062
}
27063
27064
public
:
27066
object_ptr<InputFile>
sticker_
;
27068
object_ptr<inputThumbnail>
thumbnail_
;
27070
int32
width_
;
27072
int32
height_
;
27074
string
emoji_
;
27075
27079
inputMessageSticker
();
27080
27090
inputMessageSticker
(
object_ptr<InputFile>
&&
sticker_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
int32
width_
,
int32
height_
,
string
const
&
emoji_
);
27091
27093
static
const
std::int32_t
ID
= 1072805625;
27094
27100
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27101
};
27102
27106
class
inputMessageVideo
final :
public
InputMessageContent
{
27111
std::int32_t get_id()
const
final
{
27112
return
ID
;
27113
}
27114
27115
public
:
27117
object_ptr<InputFile>
video_
;
27119
object_ptr<inputThumbnail>
thumbnail_
;
27121
object_ptr<InputFile>
cover_
;
27123
int32
start_timestamp_
;
27125
array<int32>
added_sticker_file_ids_
;
27127
int32
duration_
;
27129
int32
width_
;
27131
int32
height_
;
27133
bool
supports_streaming_
;
27135
object_ptr<formattedText>
caption_
;
27137
bool
show_caption_above_media_
;
27139
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
27141
bool
has_spoiler_
;
27142
27146
inputMessageVideo
();
27147
27165
inputMessageVideo
(
object_ptr<InputFile>
&&
video_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
object_ptr<InputFile>
&&
cover_
,
int32
start_timestamp_
,
array<int32>
&&
added_sticker_file_ids_
,
int32
duration_
,
int32
width_
,
int32
height_
,
bool
supports_streaming_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
object_ptr<MessageSelfDestructType>
&&
self_destruct_type_
,
bool
has_spoiler_
);
27166
27168
static
const
std::int32_t
ID
= -605958271;
27169
27175
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27176
};
27177
27181
class
inputMessageVideoNote
final :
public
InputMessageContent
{
27186
std::int32_t get_id()
const
final
{
27187
return
ID
;
27188
}
27189
27190
public
:
27192
object_ptr<InputFile>
video_note_
;
27194
object_ptr<inputThumbnail>
thumbnail_
;
27196
int32
duration_
;
27198
int32
length_
;
27200
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
27201
27205
inputMessageVideoNote
();
27206
27216
inputMessageVideoNote
(
object_ptr<InputFile>
&&
video_note_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
int32
duration_
,
int32
length_
,
object_ptr<MessageSelfDestructType>
&&
self_destruct_type_
);
27217
27219
static
const
std::int32_t
ID
= -714598691;
27220
27226
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27227
};
27228
27232
class
inputMessageVoiceNote
final :
public
InputMessageContent
{
27237
std::int32_t get_id()
const
final
{
27238
return
ID
;
27239
}
27240
27241
public
:
27243
object_ptr<InputFile>
voice_note_
;
27245
int32
duration_
;
27247
bytes
waveform_
;
27249
object_ptr<formattedText>
caption_
;
27251
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
27252
27256
inputMessageVoiceNote
();
27257
27267
inputMessageVoiceNote
(
object_ptr<InputFile>
&&
voice_note_
,
int32
duration_
,
bytes
const
&
waveform_
,
object_ptr<formattedText>
&&
caption_
,
object_ptr<MessageSelfDestructType>
&&
self_destruct_type_
);
27268
27270
static
const
std::int32_t
ID
= 1461977004;
27271
27277
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27278
};
27279
27283
class
inputMessageLocation
final :
public
InputMessageContent
{
27288
std::int32_t get_id()
const
final
{
27289
return
ID
;
27290
}
27291
27292
public
:
27294
object_ptr<location>
location_
;
27296
int32
live_period_
;
27298
int32
heading_
;
27300
int32
proximity_alert_radius_
;
27301
27305
inputMessageLocation
();
27306
27315
inputMessageLocation
(
object_ptr<location>
&&
location_
,
int32
live_period_
,
int32
heading_
,
int32
proximity_alert_radius_
);
27316
27318
static
const
std::int32_t
ID
= 648735088;
27319
27325
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27326
};
27327
27331
class
inputMessageVenue
final :
public
InputMessageContent
{
27336
std::int32_t get_id()
const
final
{
27337
return
ID
;
27338
}
27339
27340
public
:
27342
object_ptr<venue>
venue_
;
27343
27347
inputMessageVenue
();
27348
27354
explicit
inputMessageVenue
(
object_ptr<venue>
&&
venue_
);
27355
27357
static
const
std::int32_t
ID
= 1447926269;
27358
27364
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27365
};
27366
27370
class
inputMessageContact
final :
public
InputMessageContent
{
27375
std::int32_t get_id()
const
final
{
27376
return
ID
;
27377
}
27378
27379
public
:
27381
object_ptr<contact>
contact_
;
27382
27386
inputMessageContact
();
27387
27393
explicit
inputMessageContact
(
object_ptr<contact>
&&
contact_
);
27394
27396
static
const
std::int32_t
ID
= -982446849;
27397
27403
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27404
};
27405
27409
class
inputMessageDice
final :
public
InputMessageContent
{
27414
std::int32_t get_id()
const
final
{
27415
return
ID
;
27416
}
27417
27418
public
:
27420
string
emoji_
;
27422
bool
clear_draft_
;
27423
27427
inputMessageDice
();
27428
27435
inputMessageDice
(
string
const
&
emoji_
,
bool
clear_draft_
);
27436
27438
static
const
std::int32_t
ID
= 841574313;
27439
27445
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27446
};
27447
27451
class
inputMessageGame
final :
public
InputMessageContent
{
27456
std::int32_t get_id()
const
final
{
27457
return
ID
;
27458
}
27459
27460
public
:
27462
int53
bot_user_id_
;
27464
string
game_short_name_
;
27465
27469
inputMessageGame
();
27470
27477
inputMessageGame
(
int53
bot_user_id_
,
string
const
&
game_short_name_
);
27478
27480
static
const
std::int32_t
ID
= 1252944610;
27481
27487
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27488
};
27489
27493
class
inputMessageInvoice
final :
public
InputMessageContent
{
27498
std::int32_t get_id()
const
final
{
27499
return
ID
;
27500
}
27501
27502
public
:
27504
object_ptr<invoice>
invoice_
;
27506
string
title_
;
27508
string
description_
;
27510
string
photo_url_
;
27512
int32
photo_size_
;
27514
int32
photo_width_
;
27516
int32
photo_height_
;
27518
bytes
payload_
;
27520
string
provider_token_
;
27522
string
provider_data_
;
27524
string
start_parameter_
;
27526
object_ptr<inputPaidMedia>
paid_media_
;
27528
object_ptr<formattedText>
paid_media_caption_
;
27529
27533
inputMessageInvoice
();
27534
27552
inputMessageInvoice
(
object_ptr<invoice>
&&
invoice_
,
string
const
&
title_
,
string
const
&
description_
,
string
const
&
photo_url_
,
int32
photo_size_
,
int32
photo_width_
,
int32
photo_height_
,
bytes
const
&
payload_
,
string
const
&
provider_token_
,
string
const
&
provider_data_
,
string
const
&
start_parameter_
,
object_ptr<inputPaidMedia>
&&
paid_media_
,
object_ptr<formattedText>
&&
paid_media_caption_
);
27553
27555
static
const
std::int32_t
ID
= -1162047631;
27556
27562
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27563
};
27564
27568
class
inputMessagePoll
final :
public
InputMessageContent
{
27573
std::int32_t get_id()
const
final
{
27574
return
ID
;
27575
}
27576
27577
public
:
27579
object_ptr<formattedText>
question_
;
27581
array<object_ptr<formattedText>
>
options_
;
27583
bool
is_anonymous_
;
27585
object_ptr<PollType>
type_
;
27587
int32
open_period_
;
27589
int32
close_date_
;
27591
bool
is_closed_
;
27592
27596
inputMessagePoll
();
27597
27609
inputMessagePoll
(
object_ptr<formattedText>
&&
question_
,
array
<
object_ptr<formattedText>
> &&
options_
,
bool
is_anonymous_
,
object_ptr<PollType>
&&
type_
,
int32
open_period_
,
int32
close_date_
,
bool
is_closed_
);
27610
27612
static
const
std::int32_t
ID
= -263337164;
27613
27619
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27620
};
27621
27625
class
inputMessageStory
final :
public
InputMessageContent
{
27630
std::int32_t get_id()
const
final
{
27631
return
ID
;
27632
}
27633
27634
public
:
27636
int53
story_poster_chat_id_
;
27638
int32
story_id_
;
27639
27643
inputMessageStory
();
27644
27651
inputMessageStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
27652
27654
static
const
std::int32_t
ID
= -370732053;
27655
27661
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27662
};
27663
27667
class
inputMessageChecklist
final :
public
InputMessageContent
{
27672
std::int32_t get_id()
const
final
{
27673
return
ID
;
27674
}
27675
27676
public
:
27678
object_ptr<inputChecklist>
checklist_
;
27679
27683
inputMessageChecklist
();
27684
27690
explicit
inputMessageChecklist
(
object_ptr<inputChecklist>
&&
checklist_
);
27691
27693
static
const
std::int32_t
ID
= -1722965261;
27694
27700
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27701
};
27702
27706
class
inputMessageForwarded
final :
public
InputMessageContent
{
27711
std::int32_t get_id()
const
final
{
27712
return
ID
;
27713
}
27714
27715
public
:
27717
int53
from_chat_id_
;
27719
int53
message_id_
;
27721
bool
in_game_share_
;
27723
bool
replace_video_start_timestamp_
;
27725
int32
new_video_start_timestamp_
;
27727
object_ptr<messageCopyOptions>
copy_options_
;
27728
27732
inputMessageForwarded
();
27733
27744
inputMessageForwarded
(
int53
from_chat_id_
,
int53
message_id_
,
bool
in_game_share_
,
bool
replace_video_start_timestamp_
,
int32
new_video_start_timestamp_
,
object_ptr<messageCopyOptions>
&&
copy_options_
);
27745
27747
static
const
std::int32_t
ID
= -1076506316;
27748
27754
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27755
};
27756
27757
class
inputTextQuote
;
27758
27763
class
InputMessageReplyTo
:
public
Object
{
27764
public
:
27765
};
27766
27770
class
inputMessageReplyToMessage
final :
public
InputMessageReplyTo
{
27775
std::int32_t get_id()
const
final
{
27776
return
ID
;
27777
}
27778
27779
public
:
27781
int53
message_id_
;
27783
object_ptr<inputTextQuote>
quote_
;
27785
int32
checklist_task_id_
;
27786
27790
inputMessageReplyToMessage
();
27791
27799
inputMessageReplyToMessage
(
int53
message_id_
,
object_ptr<inputTextQuote>
&&
quote_
,
int32
checklist_task_id_
);
27800
27802
static
const
std::int32_t
ID
= -782038760;
27803
27809
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27810
};
27811
27815
class
inputMessageReplyToExternalMessage
final :
public
InputMessageReplyTo
{
27820
std::int32_t get_id()
const
final
{
27821
return
ID
;
27822
}
27823
27824
public
:
27826
int53
chat_id_
;
27828
int53
message_id_
;
27830
object_ptr<inputTextQuote>
quote_
;
27832
int32
checklist_task_id_
;
27833
27837
inputMessageReplyToExternalMessage
();
27838
27847
inputMessageReplyToExternalMessage
(
int53
chat_id_
,
int53
message_id_
,
object_ptr<inputTextQuote>
&&
quote_
,
int32
checklist_task_id_
);
27848
27850
static
const
std::int32_t
ID
= -505276703;
27851
27857
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27858
};
27859
27863
class
inputMessageReplyToStory
final :
public
InputMessageReplyTo
{
27868
std::int32_t get_id()
const
final
{
27869
return
ID
;
27870
}
27871
27872
public
:
27874
int53
story_poster_chat_id_
;
27876
int32
story_id_
;
27877
27881
inputMessageReplyToStory
();
27882
27889
inputMessageReplyToStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
27890
27892
static
const
std::int32_t
ID
= -1723842320;
27893
27899
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27900
};
27901
27902
class
InputFile
;
27903
27904
class
InputPaidMediaType
;
27905
27906
class
inputThumbnail
;
27907
27911
class
inputPaidMedia
final :
public
Object
{
27916
std::int32_t get_id()
const
final
{
27917
return
ID
;
27918
}
27919
27920
public
:
27922
object_ptr<InputPaidMediaType>
type_
;
27924
object_ptr<InputFile>
media_
;
27926
object_ptr<inputThumbnail>
thumbnail_
;
27928
array<int32>
added_sticker_file_ids_
;
27930
int32
width_
;
27932
int32
height_
;
27933
27937
inputPaidMedia
();
27938
27949
inputPaidMedia
(
object_ptr<InputPaidMediaType>
&&
type_
,
object_ptr<InputFile>
&&
media_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
array<int32>
&&
added_sticker_file_ids_
,
int32
width_
,
int32
height_
);
27950
27952
static
const
std::int32_t
ID
= 475844035;
27953
27959
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27960
};
27961
27962
class
InputFile
;
27963
27968
class
InputPaidMediaType
:
public
Object
{
27969
public
:
27970
};
27971
27975
class
inputPaidMediaTypePhoto
final :
public
InputPaidMediaType
{
27980
std::int32_t get_id()
const
final
{
27981
return
ID
;
27982
}
27983
27984
public
:
27985
27989
inputPaidMediaTypePhoto
();
27990
27992
static
const
std::int32_t
ID
= -761660134;
27993
27999
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28000
};
28001
28005
class
inputPaidMediaTypeVideo
final :
public
InputPaidMediaType
{
28010
std::int32_t get_id()
const
final
{
28011
return
ID
;
28012
}
28013
28014
public
:
28016
object_ptr<InputFile>
cover_
;
28018
int32
start_timestamp_
;
28020
int32
duration_
;
28022
bool
supports_streaming_
;
28023
28027
inputPaidMediaTypeVideo
();
28028
28037
inputPaidMediaTypeVideo
(
object_ptr<InputFile>
&&
cover_
,
int32
start_timestamp_
,
int32
duration_
,
bool
supports_streaming_
);
28038
28040
static
const
std::int32_t
ID
= 1793741625;
28041
28047
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28048
};
28049
28050
class
address
;
28051
28052
class
inputIdentityDocument
;
28053
28054
class
inputPersonalDocument
;
28055
28056
class
personalDetails
;
28057
28062
class
InputPassportElement
:
public
Object
{
28063
public
:
28064
};
28065
28069
class
inputPassportElementPersonalDetails
final :
public
InputPassportElement
{
28074
std::int32_t get_id()
const
final
{
28075
return
ID
;
28076
}
28077
28078
public
:
28080
object_ptr<personalDetails>
personal_details_
;
28081
28085
inputPassportElementPersonalDetails
();
28086
28092
explicit
inputPassportElementPersonalDetails
(
object_ptr<personalDetails>
&&
personal_details_
);
28093
28095
static
const
std::int32_t
ID
= 164791359;
28096
28102
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28103
};
28104
28108
class
inputPassportElementPassport
final :
public
InputPassportElement
{
28113
std::int32_t get_id()
const
final
{
28114
return
ID
;
28115
}
28116
28117
public
:
28119
object_ptr<inputIdentityDocument>
passport_
;
28120
28124
inputPassportElementPassport
();
28125
28131
explicit
inputPassportElementPassport
(
object_ptr<inputIdentityDocument>
&&
passport_
);
28132
28134
static
const
std::int32_t
ID
= -497011356;
28135
28141
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28142
};
28143
28147
class
inputPassportElementDriverLicense
final :
public
InputPassportElement
{
28152
std::int32_t get_id()
const
final
{
28153
return
ID
;
28154
}
28155
28156
public
:
28158
object_ptr<inputIdentityDocument>
driver_license_
;
28159
28163
inputPassportElementDriverLicense
();
28164
28170
explicit
inputPassportElementDriverLicense
(
object_ptr<inputIdentityDocument>
&&
driver_license_
);
28171
28173
static
const
std::int32_t
ID
= 304813264;
28174
28180
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28181
};
28182
28186
class
inputPassportElementIdentityCard
final :
public
InputPassportElement
{
28191
std::int32_t get_id()
const
final
{
28192
return
ID
;
28193
}
28194
28195
public
:
28197
object_ptr<inputIdentityDocument>
identity_card_
;
28198
28202
inputPassportElementIdentityCard
();
28203
28209
explicit
inputPassportElementIdentityCard
(
object_ptr<inputIdentityDocument>
&&
identity_card_
);
28210
28212
static
const
std::int32_t
ID
= -9963390;
28213
28219
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28220
};
28221
28225
class
inputPassportElementInternalPassport
final :
public
InputPassportElement
{
28230
std::int32_t get_id()
const
final
{
28231
return
ID
;
28232
}
28233
28234
public
:
28236
object_ptr<inputIdentityDocument>
internal_passport_
;
28237
28241
inputPassportElementInternalPassport
();
28242
28248
explicit
inputPassportElementInternalPassport
(
object_ptr<inputIdentityDocument>
&&
internal_passport_
);
28249
28251
static
const
std::int32_t
ID
= 715360043;
28252
28258
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28259
};
28260
28264
class
inputPassportElementAddress
final :
public
InputPassportElement
{
28269
std::int32_t get_id()
const
final
{
28270
return
ID
;
28271
}
28272
28273
public
:
28275
object_ptr<address>
address_
;
28276
28280
inputPassportElementAddress
();
28281
28287
explicit
inputPassportElementAddress
(
object_ptr<address>
&&
address_
);
28288
28290
static
const
std::int32_t
ID
= 461630480;
28291
28297
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28298
};
28299
28303
class
inputPassportElementUtilityBill
final :
public
InputPassportElement
{
28308
std::int32_t get_id()
const
final
{
28309
return
ID
;
28310
}
28311
28312
public
:
28314
object_ptr<inputPersonalDocument>
utility_bill_
;
28315
28319
inputPassportElementUtilityBill
();
28320
28326
explicit
inputPassportElementUtilityBill
(
object_ptr<inputPersonalDocument>
&&
utility_bill_
);
28327
28329
static
const
std::int32_t
ID
= 1389203841;
28330
28336
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28337
};
28338
28342
class
inputPassportElementBankStatement
final :
public
InputPassportElement
{
28347
std::int32_t get_id()
const
final
{
28348
return
ID
;
28349
}
28350
28351
public
:
28353
object_ptr<inputPersonalDocument>
bank_statement_
;
28354
28358
inputPassportElementBankStatement
();
28359
28365
explicit
inputPassportElementBankStatement
(
object_ptr<inputPersonalDocument>
&&
bank_statement_
);
28366
28368
static
const
std::int32_t
ID
= -26585208;
28369
28375
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28376
};
28377
28381
class
inputPassportElementRentalAgreement
final :
public
InputPassportElement
{
28386
std::int32_t get_id()
const
final
{
28387
return
ID
;
28388
}
28389
28390
public
:
28392
object_ptr<inputPersonalDocument>
rental_agreement_
;
28393
28397
inputPassportElementRentalAgreement
();
28398
28404
explicit
inputPassportElementRentalAgreement
(
object_ptr<inputPersonalDocument>
&&
rental_agreement_
);
28405
28407
static
const
std::int32_t
ID
= 1736154155;
28408
28414
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28415
};
28416
28420
class
inputPassportElementPassportRegistration
final :
public
InputPassportElement
{
28425
std::int32_t get_id()
const
final
{
28426
return
ID
;
28427
}
28428
28429
public
:
28431
object_ptr<inputPersonalDocument>
passport_registration_
;
28432
28436
inputPassportElementPassportRegistration
();
28437
28443
explicit
inputPassportElementPassportRegistration
(
object_ptr<inputPersonalDocument>
&&
passport_registration_
);
28444
28446
static
const
std::int32_t
ID
= 1314562128;
28447
28453
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28454
};
28455
28459
class
inputPassportElementTemporaryRegistration
final :
public
InputPassportElement
{
28464
std::int32_t get_id()
const
final
{
28465
return
ID
;
28466
}
28467
28468
public
:
28470
object_ptr<inputPersonalDocument>
temporary_registration_
;
28471
28475
inputPassportElementTemporaryRegistration
();
28476
28482
explicit
inputPassportElementTemporaryRegistration
(
object_ptr<inputPersonalDocument>
&&
temporary_registration_
);
28483
28485
static
const
std::int32_t
ID
= -1913238047;
28486
28492
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28493
};
28494
28498
class
inputPassportElementPhoneNumber
final :
public
InputPassportElement
{
28503
std::int32_t get_id()
const
final
{
28504
return
ID
;
28505
}
28506
28507
public
:
28509
string
phone_number_
;
28510
28514
inputPassportElementPhoneNumber
();
28515
28521
explicit
inputPassportElementPhoneNumber
(
string
const
&
phone_number_
);
28522
28524
static
const
std::int32_t
ID
= 1319357497;
28525
28531
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28532
};
28533
28537
class
inputPassportElementEmailAddress
final :
public
InputPassportElement
{
28542
std::int32_t get_id()
const
final
{
28543
return
ID
;
28544
}
28545
28546
public
:
28548
string
email_address_
;
28549
28553
inputPassportElementEmailAddress
();
28554
28560
explicit
inputPassportElementEmailAddress
(
string
const
&
email_address_
);
28561
28563
static
const
std::int32_t
ID
= -248605659;
28564
28570
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28571
};
28572
28573
class
InputPassportElementErrorSource
;
28574
28575
class
PassportElementType
;
28576
28580
class
inputPassportElementError
final :
public
Object
{
28585
std::int32_t get_id()
const
final
{
28586
return
ID
;
28587
}
28588
28589
public
:
28591
object_ptr<PassportElementType>
type_
;
28593
string
message_
;
28595
object_ptr<InputPassportElementErrorSource>
source_
;
28596
28600
inputPassportElementError
();
28601
28609
inputPassportElementError
(
object_ptr<PassportElementType>
&&
type_
,
string
const
&
message_
,
object_ptr<InputPassportElementErrorSource>
&&
source_
);
28610
28612
static
const
std::int32_t
ID
= 285756898;
28613
28619
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28620
};
28621
28626
class
InputPassportElementErrorSource
:
public
Object
{
28627
public
:
28628
};
28629
28633
class
inputPassportElementErrorSourceUnspecified
final :
public
InputPassportElementErrorSource
{
28638
std::int32_t get_id()
const
final
{
28639
return
ID
;
28640
}
28641
28642
public
:
28644
bytes
element_hash_
;
28645
28649
inputPassportElementErrorSourceUnspecified
();
28650
28656
explicit
inputPassportElementErrorSourceUnspecified
(
bytes
const
&
element_hash_
);
28657
28659
static
const
std::int32_t
ID
= 267230319;
28660
28666
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28667
};
28668
28672
class
inputPassportElementErrorSourceDataField
final :
public
InputPassportElementErrorSource
{
28677
std::int32_t get_id()
const
final
{
28678
return
ID
;
28679
}
28680
28681
public
:
28683
string
field_name_
;
28685
bytes
data_hash_
;
28686
28690
inputPassportElementErrorSourceDataField
();
28691
28698
inputPassportElementErrorSourceDataField
(
string
const
&
field_name_
,
bytes
const
&
data_hash_
);
28699
28701
static
const
std::int32_t
ID
= -426795002;
28702
28708
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28709
};
28710
28714
class
inputPassportElementErrorSourceFrontSide
final :
public
InputPassportElementErrorSource
{
28719
std::int32_t get_id()
const
final
{
28720
return
ID
;
28721
}
28722
28723
public
:
28725
bytes
file_hash_
;
28726
28730
inputPassportElementErrorSourceFrontSide
();
28731
28737
explicit
inputPassportElementErrorSourceFrontSide
(
bytes
const
&
file_hash_
);
28738
28740
static
const
std::int32_t
ID
= 588023741;
28741
28747
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28748
};
28749
28753
class
inputPassportElementErrorSourceReverseSide
final :
public
InputPassportElementErrorSource
{
28758
std::int32_t get_id()
const
final
{
28759
return
ID
;
28760
}
28761
28762
public
:
28764
bytes
file_hash_
;
28765
28769
inputPassportElementErrorSourceReverseSide
();
28770
28776
explicit
inputPassportElementErrorSourceReverseSide
(
bytes
const
&
file_hash_
);
28777
28779
static
const
std::int32_t
ID
= 413072891;
28780
28786
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28787
};
28788
28792
class
inputPassportElementErrorSourceSelfie
final :
public
InputPassportElementErrorSource
{
28797
std::int32_t get_id()
const
final
{
28798
return
ID
;
28799
}
28800
28801
public
:
28803
bytes
file_hash_
;
28804
28808
inputPassportElementErrorSourceSelfie
();
28809
28815
explicit
inputPassportElementErrorSourceSelfie
(
bytes
const
&
file_hash_
);
28816
28818
static
const
std::int32_t
ID
= -773575528;
28819
28825
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28826
};
28827
28831
class
inputPassportElementErrorSourceTranslationFile
final :
public
InputPassportElementErrorSource
{
28836
std::int32_t get_id()
const
final
{
28837
return
ID
;
28838
}
28839
28840
public
:
28842
bytes
file_hash_
;
28843
28847
inputPassportElementErrorSourceTranslationFile
();
28848
28854
explicit
inputPassportElementErrorSourceTranslationFile
(
bytes
const
&
file_hash_
);
28855
28857
static
const
std::int32_t
ID
= 505842299;
28858
28864
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28865
};
28866
28870
class
inputPassportElementErrorSourceTranslationFiles
final :
public
InputPassportElementErrorSource
{
28875
std::int32_t get_id()
const
final
{
28876
return
ID
;
28877
}
28878
28879
public
:
28881
array<bytes>
file_hashes_
;
28882
28886
inputPassportElementErrorSourceTranslationFiles
();
28887
28893
explicit
inputPassportElementErrorSourceTranslationFiles
(
array<bytes>
&&
file_hashes_
);
28894
28896
static
const
std::int32_t
ID
= -527254048;
28897
28903
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28904
};
28905
28909
class
inputPassportElementErrorSourceFile
final :
public
InputPassportElementErrorSource
{
28914
std::int32_t get_id()
const
final
{
28915
return
ID
;
28916
}
28917
28918
public
:
28920
bytes
file_hash_
;
28921
28925
inputPassportElementErrorSourceFile
();
28926
28932
explicit
inputPassportElementErrorSourceFile
(
bytes
const
&
file_hash_
);
28933
28935
static
const
std::int32_t
ID
= -298492469;
28936
28942
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28943
};
28944
28948
class
inputPassportElementErrorSourceFiles
final :
public
InputPassportElementErrorSource
{
28953
std::int32_t get_id()
const
final
{
28954
return
ID
;
28955
}
28956
28957
public
:
28959
array<bytes>
file_hashes_
;
28960
28964
inputPassportElementErrorSourceFiles
();
28965
28971
explicit
inputPassportElementErrorSourceFiles
(
array<bytes>
&&
file_hashes_
);
28972
28974
static
const
std::int32_t
ID
= -2008541640;
28975
28981
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28982
};
28983
28984
class
InputFile
;
28985
28989
class
inputPersonalDocument
final :
public
Object
{
28994
std::int32_t get_id()
const
final
{
28995
return
ID
;
28996
}
28997
28998
public
:
29000
array<object_ptr<InputFile>
>
files_
;
29002
array<object_ptr<InputFile>
>
translation_
;
29003
29007
inputPersonalDocument
();
29008
29015
inputPersonalDocument
(
array
<
object_ptr<InputFile>
> &&
files_
,
array
<
object_ptr<InputFile>
> &&
translation_
);
29016
29018
static
const
std::int32_t
ID
= 1676966826;
29019
29025
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29026
};
29027
29028
class
InputFile
;
29029
29030
class
StickerFormat
;
29031
29032
class
maskPosition
;
29033
29037
class
inputSticker
final :
public
Object
{
29042
std::int32_t get_id()
const
final
{
29043
return
ID
;
29044
}
29045
29046
public
:
29048
object_ptr<InputFile>
sticker_
;
29050
object_ptr<StickerFormat>
format_
;
29052
string
emojis_
;
29054
object_ptr<maskPosition>
mask_position_
;
29056
array<string>
keywords_
;
29057
29061
inputSticker
();
29062
29072
inputSticker
(
object_ptr<InputFile>
&&
sticker_
,
object_ptr<StickerFormat>
&&
format_
,
string
const
&
emojis_
,
object_ptr<maskPosition>
&&
mask_position_
,
array<string>
&&
keywords_
);
29073
29075
static
const
std::int32_t
ID
= 1589392402;
29076
29082
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29083
};
29084
29085
class
InputStoryAreaType
;
29086
29087
class
storyAreaPosition
;
29088
29092
class
inputStoryArea
final :
public
Object
{
29097
std::int32_t get_id()
const
final
{
29098
return
ID
;
29099
}
29100
29101
public
:
29103
object_ptr<storyAreaPosition>
position_
;
29105
object_ptr<InputStoryAreaType>
type_
;
29106
29110
inputStoryArea
();
29111
29118
inputStoryArea
(
object_ptr<storyAreaPosition>
&&
position_
,
object_ptr<InputStoryAreaType>
&&
type_
);
29119
29121
static
const
std::int32_t
ID
= 122859135;
29122
29128
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29129
};
29130
29131
class
ReactionType
;
29132
29133
class
location
;
29134
29135
class
locationAddress
;
29136
29141
class
InputStoryAreaType
:
public
Object
{
29142
public
:
29143
};
29144
29148
class
inputStoryAreaTypeLocation
final :
public
InputStoryAreaType
{
29153
std::int32_t get_id()
const
final
{
29154
return
ID
;
29155
}
29156
29157
public
:
29159
object_ptr<location>
location_
;
29161
object_ptr<locationAddress>
address_
;
29162
29166
inputStoryAreaTypeLocation
();
29167
29174
inputStoryAreaTypeLocation
(
object_ptr<location>
&&
location_
,
object_ptr<locationAddress>
&&
address_
);
29175
29177
static
const
std::int32_t
ID
= -1433714887;
29178
29184
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29185
};
29186
29190
class
inputStoryAreaTypeFoundVenue
final :
public
InputStoryAreaType
{
29195
std::int32_t get_id()
const
final
{
29196
return
ID
;
29197
}
29198
29199
public
:
29201
int64
query_id_
;
29203
string
result_id_
;
29204
29208
inputStoryAreaTypeFoundVenue
();
29209
29216
inputStoryAreaTypeFoundVenue
(
int64
query_id_
,
string
const
&
result_id_
);
29217
29219
static
const
std::int32_t
ID
= -1395809130;
29220
29226
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29227
};
29228
29232
class
inputStoryAreaTypePreviousVenue
final :
public
InputStoryAreaType
{
29237
std::int32_t get_id()
const
final
{
29238
return
ID
;
29239
}
29240
29241
public
:
29243
string
venue_provider_
;
29245
string
venue_id_
;
29246
29250
inputStoryAreaTypePreviousVenue
();
29251
29258
inputStoryAreaTypePreviousVenue
(
string
const
&
venue_provider_
,
string
const
&
venue_id_
);
29259
29261
static
const
std::int32_t
ID
= 1846693388;
29262
29268
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29269
};
29270
29274
class
inputStoryAreaTypeSuggestedReaction
final :
public
InputStoryAreaType
{
29279
std::int32_t get_id()
const
final
{
29280
return
ID
;
29281
}
29282
29283
public
:
29285
object_ptr<ReactionType>
reaction_type_
;
29287
bool
is_dark_
;
29289
bool
is_flipped_
;
29290
29294
inputStoryAreaTypeSuggestedReaction
();
29295
29303
inputStoryAreaTypeSuggestedReaction
(
object_ptr<ReactionType>
&&
reaction_type_
,
bool
is_dark_
,
bool
is_flipped_
);
29304
29306
static
const
std::int32_t
ID
= 2101826003;
29307
29313
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29314
};
29315
29319
class
inputStoryAreaTypeMessage
final :
public
InputStoryAreaType
{
29324
std::int32_t get_id()
const
final
{
29325
return
ID
;
29326
}
29327
29328
public
:
29330
int53
chat_id_
;
29332
int53
message_id_
;
29333
29337
inputStoryAreaTypeMessage
();
29338
29345
inputStoryAreaTypeMessage
(
int53
chat_id_
,
int53
message_id_
);
29346
29348
static
const
std::int32_t
ID
= -266607529;
29349
29355
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29356
};
29357
29361
class
inputStoryAreaTypeLink
final :
public
InputStoryAreaType
{
29366
std::int32_t get_id()
const
final
{
29367
return
ID
;
29368
}
29369
29370
public
:
29372
string
url_
;
29373
29377
inputStoryAreaTypeLink
();
29378
29384
explicit
inputStoryAreaTypeLink
(
string
const
&
url_
);
29385
29387
static
const
std::int32_t
ID
= 1408441160;
29388
29394
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29395
};
29396
29400
class
inputStoryAreaTypeWeather
final :
public
InputStoryAreaType
{
29405
std::int32_t get_id()
const
final
{
29406
return
ID
;
29407
}
29408
29409
public
:
29411
double
temperature_
;
29413
string
emoji_
;
29415
int32
background_color_
;
29416
29420
inputStoryAreaTypeWeather
();
29421
29429
inputStoryAreaTypeWeather
(
double
temperature_
,
string
const
&
emoji_
,
int32
background_color_
);
29430
29432
static
const
std::int32_t
ID
= -1212686691;
29433
29439
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29440
};
29441
29445
class
inputStoryAreaTypeUpgradedGift
final :
public
InputStoryAreaType
{
29450
std::int32_t get_id()
const
final
{
29451
return
ID
;
29452
}
29453
29454
public
:
29456
string
gift_name_
;
29457
29461
inputStoryAreaTypeUpgradedGift
();
29462
29468
explicit
inputStoryAreaTypeUpgradedGift
(
string
const
&
gift_name_
);
29469
29471
static
const
std::int32_t
ID
= 793059694;
29472
29478
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29479
};
29480
29481
class
inputStoryArea
;
29482
29486
class
inputStoryAreas
final :
public
Object
{
29491
std::int32_t get_id()
const
final
{
29492
return
ID
;
29493
}
29494
29495
public
:
29497
array<object_ptr<inputStoryArea>
>
areas_
;
29498
29502
inputStoryAreas
();
29503
29509
explicit
inputStoryAreas
(
array
<
object_ptr<inputStoryArea>
> &&
areas_
);
29510
29512
static
const
std::int32_t
ID
= -883247088;
29513
29519
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29520
};
29521
29522
class
InputFile
;
29523
29528
class
InputStoryContent
:
public
Object
{
29529
public
:
29530
};
29531
29535
class
inputStoryContentPhoto
final :
public
InputStoryContent
{
29540
std::int32_t get_id()
const
final
{
29541
return
ID
;
29542
}
29543
29544
public
:
29546
object_ptr<InputFile>
photo_
;
29548
array<int32>
added_sticker_file_ids_
;
29549
29553
inputStoryContentPhoto
();
29554
29561
inputStoryContentPhoto
(
object_ptr<InputFile>
&&
photo_
,
array<int32>
&&
added_sticker_file_ids_
);
29562
29564
static
const
std::int32_t
ID
= -309196727;
29565
29571
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29572
};
29573
29577
class
inputStoryContentVideo
final :
public
InputStoryContent
{
29582
std::int32_t get_id()
const
final
{
29583
return
ID
;
29584
}
29585
29586
public
:
29588
object_ptr<InputFile>
video_
;
29590
array<int32>
added_sticker_file_ids_
;
29592
double
duration_
;
29594
double
cover_frame_timestamp_
;
29596
bool
is_animation_
;
29597
29601
inputStoryContentVideo
();
29602
29612
inputStoryContentVideo
(
object_ptr<InputFile>
&&
video_
,
array<int32>
&&
added_sticker_file_ids_
,
double
duration_
,
double
cover_frame_timestamp_
,
bool
is_animation_
);
29613
29615
static
const
std::int32_t
ID
= 3809243;
29616
29622
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29623
};
29624
29625
class
SuggestedPostPrice
;
29626
29630
class
inputSuggestedPostInfo
final :
public
Object
{
29635
std::int32_t get_id()
const
final
{
29636
return
ID
;
29637
}
29638
29639
public
:
29641
object_ptr<SuggestedPostPrice>
price_
;
29643
int32
send_date_
;
29644
29648
inputSuggestedPostInfo
();
29649
29656
inputSuggestedPostInfo
(
object_ptr<SuggestedPostPrice>
&&
price_
,
int32
send_date_
);
29657
29659
static
const
std::int32_t
ID
= -1246794382;
29660
29666
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29667
};
29668
29669
class
formattedText
;
29670
29674
class
inputTextQuote
final :
public
Object
{
29679
std::int32_t get_id()
const
final
{
29680
return
ID
;
29681
}
29682
29683
public
:
29685
object_ptr<formattedText>
text_
;
29687
int32
position_
;
29688
29692
inputTextQuote
();
29693
29700
inputTextQuote
(
object_ptr<formattedText>
&&
text_
,
int32
position_
);
29701
29703
static
const
std::int32_t
ID
= -1219859172;
29704
29710
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29711
};
29712
29713
class
InputFile
;
29714
29718
class
inputThumbnail
final :
public
Object
{
29723
std::int32_t get_id()
const
final
{
29724
return
ID
;
29725
}
29726
29727
public
:
29729
object_ptr<InputFile>
thumbnail_
;
29731
int32
width_
;
29733
int32
height_
;
29734
29738
inputThumbnail
();
29739
29747
inputThumbnail
(
object_ptr<InputFile>
&&
thumbnail_
,
int32
width_
,
int32
height_
);
29748
29750
static
const
std::int32_t
ID
= 1582387236;
29751
29757
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29758
};
29759
29760
class
ProxyType
;
29761
29762
class
TargetChat
;
29763
29764
class
WebAppOpenMode
;
29765
29766
class
chatAdministratorRights
;
29767
29768
class
formattedText
;
29769
29774
class
InternalLinkType
:
public
Object
{
29775
public
:
29776
};
29777
29781
class
internalLinkTypeActiveSessions
final :
public
InternalLinkType
{
29786
std::int32_t get_id()
const
final
{
29787
return
ID
;
29788
}
29789
29790
public
:
29791
29795
internalLinkTypeActiveSessions
();
29796
29798
static
const
std::int32_t
ID
= 1886108589;
29799
29805
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29806
};
29807
29811
class
internalLinkTypeAttachmentMenuBot
final :
public
InternalLinkType
{
29816
std::int32_t get_id()
const
final
{
29817
return
ID
;
29818
}
29819
29820
public
:
29822
object_ptr<TargetChat>
target_chat_
;
29824
string
bot_username_
;
29826
string
url_
;
29827
29831
internalLinkTypeAttachmentMenuBot
();
29832
29840
internalLinkTypeAttachmentMenuBot
(
object_ptr<TargetChat>
&&
target_chat_
,
string
const
&
bot_username_
,
string
const
&
url_
);
29841
29843
static
const
std::int32_t
ID
= 1682719269;
29844
29850
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29851
};
29852
29856
class
internalLinkTypeAuthenticationCode
final :
public
InternalLinkType
{
29861
std::int32_t get_id()
const
final
{
29862
return
ID
;
29863
}
29864
29865
public
:
29867
string
code_
;
29868
29872
internalLinkTypeAuthenticationCode
();
29873
29879
explicit
internalLinkTypeAuthenticationCode
(
string
const
&
code_
);
29880
29882
static
const
std::int32_t
ID
= -209235982;
29883
29889
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29890
};
29891
29895
class
internalLinkTypeBackground
final :
public
InternalLinkType
{
29900
std::int32_t get_id()
const
final
{
29901
return
ID
;
29902
}
29903
29904
public
:
29906
string
background_name_
;
29907
29911
internalLinkTypeBackground
();
29912
29918
explicit
internalLinkTypeBackground
(
string
const
&
background_name_
);
29919
29921
static
const
std::int32_t
ID
= 185411848;
29922
29928
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29929
};
29930
29934
class
internalLinkTypeBotAddToChannel
final :
public
InternalLinkType
{
29939
std::int32_t get_id()
const
final
{
29940
return
ID
;
29941
}
29942
29943
public
:
29945
string
bot_username_
;
29947
object_ptr<chatAdministratorRights>
administrator_rights_
;
29948
29952
internalLinkTypeBotAddToChannel
();
29953
29960
internalLinkTypeBotAddToChannel
(
string
const
&
bot_username_
,
object_ptr<chatAdministratorRights>
&&
administrator_rights_
);
29961
29963
static
const
std::int32_t
ID
= 1401602752;
29964
29970
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29971
};
29972
29976
class
internalLinkTypeBotStart
final :
public
InternalLinkType
{
29981
std::int32_t get_id()
const
final
{
29982
return
ID
;
29983
}
29984
29985
public
:
29987
string
bot_username_
;
29989
string
start_parameter_
;
29991
bool
autostart_
;
29992
29996
internalLinkTypeBotStart
();
29997
30005
internalLinkTypeBotStart
(
string
const
&
bot_username_
,
string
const
&
start_parameter_
,
bool
autostart_
);
30006
30008
static
const
std::int32_t
ID
= 1066950637;
30009
30015
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30016
};
30017
30021
class
internalLinkTypeBotStartInGroup
final :
public
InternalLinkType
{
30026
std::int32_t get_id()
const
final
{
30027
return
ID
;
30028
}
30029
30030
public
:
30032
string
bot_username_
;
30034
string
start_parameter_
;
30036
object_ptr<chatAdministratorRights>
administrator_rights_
;
30037
30041
internalLinkTypeBotStartInGroup
();
30042
30050
internalLinkTypeBotStartInGroup
(
string
const
&
bot_username_
,
string
const
&
start_parameter_
,
object_ptr<chatAdministratorRights>
&&
administrator_rights_
);
30051
30053
static
const
std::int32_t
ID
= -905081650;
30054
30060
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30061
};
30062
30066
class
internalLinkTypeBusinessChat
final :
public
InternalLinkType
{
30071
std::int32_t get_id()
const
final
{
30072
return
ID
;
30073
}
30074
30075
public
:
30077
string
link_name_
;
30078
30082
internalLinkTypeBusinessChat
();
30083
30089
explicit
internalLinkTypeBusinessChat
(
string
const
&
link_name_
);
30090
30092
static
const
std::int32_t
ID
= -1606751785;
30093
30099
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30100
};
30101
30105
class
internalLinkTypeBuyStars
final :
public
InternalLinkType
{
30110
std::int32_t get_id()
const
final
{
30111
return
ID
;
30112
}
30113
30114
public
:
30116
int53
star_count_
;
30118
string
purpose_
;
30119
30123
internalLinkTypeBuyStars
();
30124
30131
internalLinkTypeBuyStars
(
int53
star_count_
,
string
const
&
purpose_
);
30132
30134
static
const
std::int32_t
ID
= -1454587065;
30135
30141
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30142
};
30143
30147
class
internalLinkTypeChangePhoneNumber
final :
public
InternalLinkType
{
30152
std::int32_t get_id()
const
final
{
30153
return
ID
;
30154
}
30155
30156
public
:
30157
30161
internalLinkTypeChangePhoneNumber
();
30162
30164
static
const
std::int32_t
ID
= -265856255;
30165
30171
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30172
};
30173
30177
class
internalLinkTypeChatAffiliateProgram
final :
public
InternalLinkType
{
30182
std::int32_t get_id()
const
final
{
30183
return
ID
;
30184
}
30185
30186
public
:
30188
string
username_
;
30190
string
referrer_
;
30191
30195
internalLinkTypeChatAffiliateProgram
();
30196
30203
internalLinkTypeChatAffiliateProgram
(
string
const
&
username_
,
string
const
&
referrer_
);
30204
30206
static
const
std::int32_t
ID
= 632049700;
30207
30213
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30214
};
30215
30219
class
internalLinkTypeChatBoost
final :
public
InternalLinkType
{
30224
std::int32_t get_id()
const
final
{
30225
return
ID
;
30226
}
30227
30228
public
:
30230
string
url_
;
30231
30235
internalLinkTypeChatBoost
();
30236
30242
explicit
internalLinkTypeChatBoost
(
string
const
&
url_
);
30243
30245
static
const
std::int32_t
ID
= -716571328;
30246
30252
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30253
};
30254
30258
class
internalLinkTypeChatFolderInvite
final :
public
InternalLinkType
{
30263
std::int32_t get_id()
const
final
{
30264
return
ID
;
30265
}
30266
30267
public
:
30269
string
invite_link_
;
30270
30274
internalLinkTypeChatFolderInvite
();
30275
30281
explicit
internalLinkTypeChatFolderInvite
(
string
const
&
invite_link_
);
30282
30284
static
const
std::int32_t
ID
= -1984804546;
30285
30291
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30292
};
30293
30297
class
internalLinkTypeChatFolderSettings
final :
public
InternalLinkType
{
30302
std::int32_t get_id()
const
final
{
30303
return
ID
;
30304
}
30305
30306
public
:
30307
30311
internalLinkTypeChatFolderSettings
();
30312
30314
static
const
std::int32_t
ID
= -1073805988;
30315
30321
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30322
};
30323
30327
class
internalLinkTypeChatInvite
final :
public
InternalLinkType
{
30332
std::int32_t get_id()
const
final
{
30333
return
ID
;
30334
}
30335
30336
public
:
30338
string
invite_link_
;
30339
30343
internalLinkTypeChatInvite
();
30344
30350
explicit
internalLinkTypeChatInvite
(
string
const
&
invite_link_
);
30351
30353
static
const
std::int32_t
ID
= 428621017;
30354
30360
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30361
};
30362
30366
class
internalLinkTypeDefaultMessageAutoDeleteTimerSettings
final :
public
InternalLinkType
{
30371
std::int32_t get_id()
const
final
{
30372
return
ID
;
30373
}
30374
30375
public
:
30376
30380
internalLinkTypeDefaultMessageAutoDeleteTimerSettings
();
30381
30383
static
const
std::int32_t
ID
= 732625201;
30384
30390
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30391
};
30392
30396
class
internalLinkTypeDirectMessagesChat
final :
public
InternalLinkType
{
30401
std::int32_t get_id()
const
final
{
30402
return
ID
;
30403
}
30404
30405
public
:
30407
string
channel_username_
;
30408
30412
internalLinkTypeDirectMessagesChat
();
30413
30419
explicit
internalLinkTypeDirectMessagesChat
(
string
const
&
channel_username_
);
30420
30422
static
const
std::int32_t
ID
= 1795016752;
30423
30429
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30430
};
30431
30435
class
internalLinkTypeEditProfileSettings
final :
public
InternalLinkType
{
30440
std::int32_t get_id()
const
final
{
30441
return
ID
;
30442
}
30443
30444
public
:
30445
30449
internalLinkTypeEditProfileSettings
();
30450
30452
static
const
std::int32_t
ID
= -1022472090;
30453
30459
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30460
};
30461
30465
class
internalLinkTypeGame
final :
public
InternalLinkType
{
30470
std::int32_t get_id()
const
final
{
30471
return
ID
;
30472
}
30473
30474
public
:
30476
string
bot_username_
;
30478
string
game_short_name_
;
30479
30483
internalLinkTypeGame
();
30484
30491
internalLinkTypeGame
(
string
const
&
bot_username_
,
string
const
&
game_short_name_
);
30492
30494
static
const
std::int32_t
ID
= -260788787;
30495
30501
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30502
};
30503
30507
class
internalLinkTypeGiftCollection
final :
public
InternalLinkType
{
30512
std::int32_t get_id()
const
final
{
30513
return
ID
;
30514
}
30515
30516
public
:
30518
string
gift_owner_username_
;
30520
int32
collection_id_
;
30521
30525
internalLinkTypeGiftCollection
();
30526
30533
internalLinkTypeGiftCollection
(
string
const
&
gift_owner_username_
,
int32
collection_id_
);
30534
30536
static
const
std::int32_t
ID
= -812480347;
30537
30543
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30544
};
30545
30549
class
internalLinkTypeGroupCall
final :
public
InternalLinkType
{
30554
std::int32_t get_id()
const
final
{
30555
return
ID
;
30556
}
30557
30558
public
:
30560
string
invite_link_
;
30561
30565
internalLinkTypeGroupCall
();
30566
30572
explicit
internalLinkTypeGroupCall
(
string
const
&
invite_link_
);
30573
30575
static
const
std::int32_t
ID
= 1953084438;
30576
30582
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30583
};
30584
30588
class
internalLinkTypeInstantView
final :
public
InternalLinkType
{
30593
std::int32_t get_id()
const
final
{
30594
return
ID
;
30595
}
30596
30597
public
:
30599
string
url_
;
30601
string
fallback_url_
;
30602
30606
internalLinkTypeInstantView
();
30607
30614
internalLinkTypeInstantView
(
string
const
&
url_
,
string
const
&
fallback_url_
);
30615
30617
static
const
std::int32_t
ID
= 1776607039;
30618
30624
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30625
};
30626
30630
class
internalLinkTypeInvoice
final :
public
InternalLinkType
{
30635
std::int32_t get_id()
const
final
{
30636
return
ID
;
30637
}
30638
30639
public
:
30641
string
invoice_name_
;
30642
30646
internalLinkTypeInvoice
();
30647
30653
explicit
internalLinkTypeInvoice
(
string
const
&
invoice_name_
);
30654
30656
static
const
std::int32_t
ID
= -213094996;
30657
30663
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30664
};
30665
30669
class
internalLinkTypeLanguagePack
final :
public
InternalLinkType
{
30674
std::int32_t get_id()
const
final
{
30675
return
ID
;
30676
}
30677
30678
public
:
30680
string
language_pack_id_
;
30681
30685
internalLinkTypeLanguagePack
();
30686
30692
explicit
internalLinkTypeLanguagePack
(
string
const
&
language_pack_id_
);
30693
30695
static
const
std::int32_t
ID
= -1450766996;
30696
30702
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30703
};
30704
30708
class
internalLinkTypeLanguageSettings
final :
public
InternalLinkType
{
30713
std::int32_t get_id()
const
final
{
30714
return
ID
;
30715
}
30716
30717
public
:
30718
30722
internalLinkTypeLanguageSettings
();
30723
30725
static
const
std::int32_t
ID
= -1340479770;
30726
30732
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30733
};
30734
30738
class
internalLinkTypeMainWebApp
final :
public
InternalLinkType
{
30743
std::int32_t get_id()
const
final
{
30744
return
ID
;
30745
}
30746
30747
public
:
30749
string
bot_username_
;
30751
string
start_parameter_
;
30753
object_ptr<WebAppOpenMode>
mode_
;
30754
30758
internalLinkTypeMainWebApp
();
30759
30767
internalLinkTypeMainWebApp
(
string
const
&
bot_username_
,
string
const
&
start_parameter_
,
object_ptr<WebAppOpenMode>
&&
mode_
);
30768
30770
static
const
std::int32_t
ID
= 1574925033;
30771
30777
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30778
};
30779
30783
class
internalLinkTypeMessage
final :
public
InternalLinkType
{
30788
std::int32_t get_id()
const
final
{
30789
return
ID
;
30790
}
30791
30792
public
:
30794
string
url_
;
30795
30799
internalLinkTypeMessage
();
30800
30806
explicit
internalLinkTypeMessage
(
string
const
&
url_
);
30807
30809
static
const
std::int32_t
ID
= 978541650;
30810
30816
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30817
};
30818
30822
class
internalLinkTypeMessageDraft
final :
public
InternalLinkType
{
30827
std::int32_t get_id()
const
final
{
30828
return
ID
;
30829
}
30830
30831
public
:
30833
object_ptr<formattedText>
text_
;
30835
bool
contains_link_
;
30836
30840
internalLinkTypeMessageDraft
();
30841
30848
internalLinkTypeMessageDraft
(
object_ptr<formattedText>
&&
text_
,
bool
contains_link_
);
30849
30851
static
const
std::int32_t
ID
= 661633749;
30852
30858
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30859
};
30860
30864
class
internalLinkTypeMyStars
final :
public
InternalLinkType
{
30869
std::int32_t get_id()
const
final
{
30870
return
ID
;
30871
}
30872
30873
public
:
30874
30878
internalLinkTypeMyStars
();
30879
30881
static
const
std::int32_t
ID
= 1613887070;
30882
30888
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30889
};
30890
30894
class
internalLinkTypeMyToncoins
final :
public
InternalLinkType
{
30899
std::int32_t get_id()
const
final
{
30900
return
ID
;
30901
}
30902
30903
public
:
30904
30908
internalLinkTypeMyToncoins
();
30909
30911
static
const
std::int32_t
ID
= -1861488996;
30912
30918
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30919
};
30920
30924
class
internalLinkTypePassportDataRequest
final :
public
InternalLinkType
{
30929
std::int32_t get_id()
const
final
{
30930
return
ID
;
30931
}
30932
30933
public
:
30935
int53
bot_user_id_
;
30937
string
scope_
;
30939
string
public_key_
;
30941
string
nonce_
;
30943
string
callback_url_
;
30944
30948
internalLinkTypePassportDataRequest
();
30949
30959
internalLinkTypePassportDataRequest
(
int53
bot_user_id_
,
string
const
&
scope_
,
string
const
&
public_key_
,
string
const
&
nonce_
,
string
const
&
callback_url_
);
30960
30962
static
const
std::int32_t
ID
= -988819839;
30963
30969
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30970
};
30971
30975
class
internalLinkTypePhoneNumberConfirmation
final :
public
InternalLinkType
{
30980
std::int32_t get_id()
const
final
{
30981
return
ID
;
30982
}
30983
30984
public
:
30986
string
hash_
;
30988
string
phone_number_
;
30989
30993
internalLinkTypePhoneNumberConfirmation
();
30994
31001
internalLinkTypePhoneNumberConfirmation
(
string
const
&
hash_
,
string
const
&
phone_number_
);
31002
31004
static
const
std::int32_t
ID
= 1757375254;
31005
31011
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31012
};
31013
31017
class
internalLinkTypePremiumFeatures
final :
public
InternalLinkType
{
31022
std::int32_t get_id()
const
final
{
31023
return
ID
;
31024
}
31025
31026
public
:
31028
string
referrer_
;
31029
31033
internalLinkTypePremiumFeatures
();
31034
31040
explicit
internalLinkTypePremiumFeatures
(
string
const
&
referrer_
);
31041
31043
static
const
std::int32_t
ID
= 1216892745;
31044
31050
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31051
};
31052
31056
class
internalLinkTypePremiumGift
final :
public
InternalLinkType
{
31061
std::int32_t get_id()
const
final
{
31062
return
ID
;
31063
}
31064
31065
public
:
31067
string
referrer_
;
31068
31072
internalLinkTypePremiumGift
();
31073
31079
explicit
internalLinkTypePremiumGift
(
string
const
&
referrer_
);
31080
31082
static
const
std::int32_t
ID
= 1523936577;
31083
31089
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31090
};
31091
31095
class
internalLinkTypePremiumGiftCode
final :
public
InternalLinkType
{
31100
std::int32_t get_id()
const
final
{
31101
return
ID
;
31102
}
31103
31104
public
:
31106
string
code_
;
31107
31111
internalLinkTypePremiumGiftCode
();
31112
31118
explicit
internalLinkTypePremiumGiftCode
(
string
const
&
code_
);
31119
31121
static
const
std::int32_t
ID
= -564356974;
31122
31128
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31129
};
31130
31134
class
internalLinkTypePrivacyAndSecuritySettings
final :
public
InternalLinkType
{
31139
std::int32_t get_id()
const
final
{
31140
return
ID
;
31141
}
31142
31143
public
:
31144
31148
internalLinkTypePrivacyAndSecuritySettings
();
31149
31151
static
const
std::int32_t
ID
= -1386255665;
31152
31158
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31159
};
31160
31164
class
internalLinkTypeProxy
final :
public
InternalLinkType
{
31169
std::int32_t get_id()
const
final
{
31170
return
ID
;
31171
}
31172
31173
public
:
31175
string
server_
;
31177
int32
port_
;
31179
object_ptr<ProxyType>
type_
;
31180
31184
internalLinkTypeProxy
();
31185
31193
internalLinkTypeProxy
(
string
const
&
server_
,
int32
port_
,
object_ptr<ProxyType>
&&
type_
);
31194
31196
static
const
std::int32_t
ID
= -1313788694;
31197
31203
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31204
};
31205
31209
class
internalLinkTypePublicChat
final :
public
InternalLinkType
{
31214
std::int32_t get_id()
const
final
{
31215
return
ID
;
31216
}
31217
31218
public
:
31220
string
chat_username_
;
31222
string
draft_text_
;
31224
bool
open_profile_
;
31225
31229
internalLinkTypePublicChat
();
31230
31238
internalLinkTypePublicChat
(
string
const
&
chat_username_
,
string
const
&
draft_text_
,
bool
open_profile_
);
31239
31241
static
const
std::int32_t
ID
= 1769614592;
31242
31248
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31249
};
31250
31254
class
internalLinkTypeQrCodeAuthentication
final :
public
InternalLinkType
{
31259
std::int32_t get_id()
const
final
{
31260
return
ID
;
31261
}
31262
31263
public
:
31264
31268
internalLinkTypeQrCodeAuthentication
();
31269
31271
static
const
std::int32_t
ID
= -1089332956;
31272
31278
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31279
};
31280
31284
class
internalLinkTypeRestorePurchases
final :
public
InternalLinkType
{
31289
std::int32_t get_id()
const
final
{
31290
return
ID
;
31291
}
31292
31293
public
:
31294
31298
internalLinkTypeRestorePurchases
();
31299
31301
static
const
std::int32_t
ID
= 606090371;
31302
31308
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31309
};
31310
31314
class
internalLinkTypeSettings
final :
public
InternalLinkType
{
31319
std::int32_t get_id()
const
final
{
31320
return
ID
;
31321
}
31322
31323
public
:
31324
31328
internalLinkTypeSettings
();
31329
31331
static
const
std::int32_t
ID
= 393561524;
31332
31338
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31339
};
31340
31344
class
internalLinkTypeStickerSet
final :
public
InternalLinkType
{
31349
std::int32_t get_id()
const
final
{
31350
return
ID
;
31351
}
31352
31353
public
:
31355
string
sticker_set_name_
;
31357
bool
expect_custom_emoji_
;
31358
31362
internalLinkTypeStickerSet
();
31363
31370
internalLinkTypeStickerSet
(
string
const
&
sticker_set_name_
,
bool
expect_custom_emoji_
);
31371
31373
static
const
std::int32_t
ID
= -1589227614;
31374
31380
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31381
};
31382
31386
class
internalLinkTypeStory
final :
public
InternalLinkType
{
31391
std::int32_t get_id()
const
final
{
31392
return
ID
;
31393
}
31394
31395
public
:
31397
string
story_poster_username_
;
31399
int32
story_id_
;
31400
31404
internalLinkTypeStory
();
31405
31412
internalLinkTypeStory
(
string
const
&
story_poster_username_
,
int32
story_id_
);
31413
31415
static
const
std::int32_t
ID
= 1852042869;
31416
31422
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31423
};
31424
31428
class
internalLinkTypeStoryAlbum
final :
public
InternalLinkType
{
31433
std::int32_t get_id()
const
final
{
31434
return
ID
;
31435
}
31436
31437
public
:
31439
string
story_album_owner_username_
;
31441
int32
story_album_id_
;
31442
31446
internalLinkTypeStoryAlbum
();
31447
31454
internalLinkTypeStoryAlbum
(
string
const
&
story_album_owner_username_
,
int32
story_album_id_
);
31455
31457
static
const
std::int32_t
ID
= -332692184;
31458
31464
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31465
};
31466
31470
class
internalLinkTypeTheme
final :
public
InternalLinkType
{
31475
std::int32_t get_id()
const
final
{
31476
return
ID
;
31477
}
31478
31479
public
:
31481
string
theme_name_
;
31482
31486
internalLinkTypeTheme
();
31487
31493
explicit
internalLinkTypeTheme
(
string
const
&
theme_name_
);
31494
31496
static
const
std::int32_t
ID
= -200935417;
31497
31503
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31504
};
31505
31509
class
internalLinkTypeThemeSettings
final :
public
InternalLinkType
{
31514
std::int32_t get_id()
const
final
{
31515
return
ID
;
31516
}
31517
31518
public
:
31519
31523
internalLinkTypeThemeSettings
();
31524
31526
static
const
std::int32_t
ID
= -1051903722;
31527
31533
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31534
};
31535
31539
class
internalLinkTypeUnknownDeepLink
final :
public
InternalLinkType
{
31544
std::int32_t get_id()
const
final
{
31545
return
ID
;
31546
}
31547
31548
public
:
31550
string
link_
;
31551
31555
internalLinkTypeUnknownDeepLink
();
31556
31562
explicit
internalLinkTypeUnknownDeepLink
(
string
const
&
link_
);
31563
31565
static
const
std::int32_t
ID
= 625596379;
31566
31572
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31573
};
31574
31578
class
internalLinkTypeUnsupportedProxy
final :
public
InternalLinkType
{
31583
std::int32_t get_id()
const
final
{
31584
return
ID
;
31585
}
31586
31587
public
:
31588
31592
internalLinkTypeUnsupportedProxy
();
31593
31595
static
const
std::int32_t
ID
= -566649079;
31596
31602
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31603
};
31604
31608
class
internalLinkTypeUpgradedGift
final :
public
InternalLinkType
{
31613
std::int32_t get_id()
const
final
{
31614
return
ID
;
31615
}
31616
31617
public
:
31619
string
name_
;
31620
31624
internalLinkTypeUpgradedGift
();
31625
31631
explicit
internalLinkTypeUpgradedGift
(
string
const
&
name_
);
31632
31634
static
const
std::int32_t
ID
= -708405605;
31635
31641
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31642
};
31643
31647
class
internalLinkTypeUserPhoneNumber
final :
public
InternalLinkType
{
31652
std::int32_t get_id()
const
final
{
31653
return
ID
;
31654
}
31655
31656
public
:
31658
string
phone_number_
;
31660
string
draft_text_
;
31662
bool
open_profile_
;
31663
31667
internalLinkTypeUserPhoneNumber
();
31668
31676
internalLinkTypeUserPhoneNumber
(
string
const
&
phone_number_
,
string
const
&
draft_text_
,
bool
open_profile_
);
31677
31679
static
const
std::int32_t
ID
= 273398536;
31680
31686
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31687
};
31688
31692
class
internalLinkTypeUserToken
final :
public
InternalLinkType
{
31697
std::int32_t get_id()
const
final
{
31698
return
ID
;
31699
}
31700
31701
public
:
31703
string
token_
;
31704
31708
internalLinkTypeUserToken
();
31709
31715
explicit
internalLinkTypeUserToken
(
string
const
&
token_
);
31716
31718
static
const
std::int32_t
ID
= -1462248615;
31719
31725
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31726
};
31727
31731
class
internalLinkTypeVideoChat
final :
public
InternalLinkType
{
31736
std::int32_t get_id()
const
final
{
31737
return
ID
;
31738
}
31739
31740
public
:
31742
string
chat_username_
;
31744
string
invite_hash_
;
31746
bool
is_live_stream_
;
31747
31751
internalLinkTypeVideoChat
();
31752
31760
internalLinkTypeVideoChat
(
string
const
&
chat_username_
,
string
const
&
invite_hash_
,
bool
is_live_stream_
);
31761
31763
static
const
std::int32_t
ID
= -2020149068;
31764
31770
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31771
};
31772
31776
class
internalLinkTypeWebApp
final :
public
InternalLinkType
{
31781
std::int32_t get_id()
const
final
{
31782
return
ID
;
31783
}
31784
31785
public
:
31787
string
bot_username_
;
31789
string
web_app_short_name_
;
31791
string
start_parameter_
;
31793
object_ptr<WebAppOpenMode>
mode_
;
31794
31798
internalLinkTypeWebApp
();
31799
31808
internalLinkTypeWebApp
(
string
const
&
bot_username_
,
string
const
&
web_app_short_name_
,
string
const
&
start_parameter_
,
object_ptr<WebAppOpenMode>
&&
mode_
);
31809
31811
static
const
std::int32_t
ID
= 2062112045;
31812
31818
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31819
};
31820
31825
class
InviteGroupCallParticipantResult
:
public
Object
{
31826
public
:
31827
};
31828
31832
class
inviteGroupCallParticipantResultUserPrivacyRestricted
final :
public
InviteGroupCallParticipantResult
{
31837
std::int32_t get_id()
const
final
{
31838
return
ID
;
31839
}
31840
31841
public
:
31842
31846
inviteGroupCallParticipantResultUserPrivacyRestricted
();
31847
31849
static
const
std::int32_t
ID
= 53003769;
31850
31856
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31857
};
31858
31862
class
inviteGroupCallParticipantResultUserAlreadyParticipant
final :
public
InviteGroupCallParticipantResult
{
31867
std::int32_t get_id()
const
final
{
31868
return
ID
;
31869
}
31870
31871
public
:
31872
31876
inviteGroupCallParticipantResultUserAlreadyParticipant
();
31877
31879
static
const
std::int32_t
ID
= 661526151;
31880
31886
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31887
};
31888
31892
class
inviteGroupCallParticipantResultUserWasBanned
final :
public
InviteGroupCallParticipantResult
{
31897
std::int32_t get_id()
const
final
{
31898
return
ID
;
31899
}
31900
31901
public
:
31902
31906
inviteGroupCallParticipantResultUserWasBanned
();
31907
31909
static
const
std::int32_t
ID
= -204345357;
31910
31916
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31917
};
31918
31922
class
inviteGroupCallParticipantResultSuccess
final :
public
InviteGroupCallParticipantResult
{
31927
std::int32_t get_id()
const
final
{
31928
return
ID
;
31929
}
31930
31931
public
:
31933
int53
chat_id_
;
31935
int53
message_id_
;
31936
31940
inviteGroupCallParticipantResultSuccess
();
31941
31948
inviteGroupCallParticipantResultSuccess
(
int53
chat_id_
,
int53
message_id_
);
31949
31951
static
const
std::int32_t
ID
= -1914309427;
31952
31958
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31959
};
31960
31965
class
InviteLinkChatType
:
public
Object
{
31966
public
:
31967
};
31968
31972
class
inviteLinkChatTypeBasicGroup
final :
public
InviteLinkChatType
{
31977
std::int32_t get_id()
const
final
{
31978
return
ID
;
31979
}
31980
31981
public
:
31982
31986
inviteLinkChatTypeBasicGroup
();
31987
31989
static
const
std::int32_t
ID
= 1296287214;
31990
31996
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31997
};
31998
32002
class
inviteLinkChatTypeSupergroup
final :
public
InviteLinkChatType
{
32007
std::int32_t get_id()
const
final
{
32008
return
ID
;
32009
}
32010
32011
public
:
32012
32016
inviteLinkChatTypeSupergroup
();
32017
32019
static
const
std::int32_t
ID
= 1038640984;
32020
32026
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32027
};
32028
32032
class
inviteLinkChatTypeChannel
final :
public
InviteLinkChatType
{
32037
std::int32_t get_id()
const
final
{
32038
return
ID
;
32039
}
32040
32041
public
:
32042
32046
inviteLinkChatTypeChannel
();
32047
32049
static
const
std::int32_t
ID
= 806547211;
32050
32056
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32057
};
32058
32059
class
labeledPricePart
;
32060
32064
class
invoice
final :
public
Object
{
32069
std::int32_t get_id()
const
final
{
32070
return
ID
;
32071
}
32072
32073
public
:
32075
string
currency_
;
32077
array<object_ptr<labeledPricePart>
>
price_parts_
;
32079
int32
subscription_period_
;
32081
int53
max_tip_amount_
;
32083
array<int53>
suggested_tip_amounts_
;
32085
string
recurring_payment_terms_of_service_url_
;
32087
string
terms_of_service_url_
;
32089
bool
is_test_
;
32091
bool
need_name_
;
32093
bool
need_phone_number_
;
32095
bool
need_email_address_
;
32097
bool
need_shipping_address_
;
32099
bool
send_phone_number_to_provider_
;
32101
bool
send_email_address_to_provider_
;
32103
bool
is_flexible_
;
32104
32108
invoice
();
32109
32129
invoice
(
string
const
&
currency_
,
array
<
object_ptr<labeledPricePart>
> &&
price_parts_
,
int32
subscription_period_
,
int53
max_tip_amount_
,
array<int53>
&&
suggested_tip_amounts_
,
string
const
&
recurring_payment_terms_of_service_url_
,
string
const
&
terms_of_service_url_
,
bool
is_test_
,
bool
need_name_
,
bool
need_phone_number_
,
bool
need_email_address_
,
bool
need_shipping_address_
,
bool
send_phone_number_to_provider_
,
bool
send_email_address_to_provider_
,
bool
is_flexible_
);
32130
32132
static
const
std::int32_t
ID
= 113204876;
32133
32139
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32140
};
32141
32142
class
JsonValue
;
32143
32147
class
jsonObjectMember
final :
public
Object
{
32152
std::int32_t get_id()
const
final
{
32153
return
ID
;
32154
}
32155
32156
public
:
32158
string
key_
;
32160
object_ptr<JsonValue>
value_
;
32161
32165
jsonObjectMember
();
32166
32173
jsonObjectMember
(
string
const
&
key_
,
object_ptr<JsonValue>
&&
value_
);
32174
32176
static
const
std::int32_t
ID
= -1803309418;
32177
32183
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32184
};
32185
32186
class
JsonValue
;
32187
32188
class
jsonObjectMember
;
32189
32194
class
JsonValue
:
public
Object
{
32195
public
:
32196
};
32197
32201
class
jsonValueNull
final :
public
JsonValue
{
32206
std::int32_t get_id()
const
final
{
32207
return
ID
;
32208
}
32209
32210
public
:
32211
32215
jsonValueNull
();
32216
32218
static
const
std::int32_t
ID
= -92872499;
32219
32225
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32226
};
32227
32231
class
jsonValueBoolean
final :
public
JsonValue
{
32236
std::int32_t get_id()
const
final
{
32237
return
ID
;
32238
}
32239
32240
public
:
32242
bool
value_
;
32243
32247
jsonValueBoolean
();
32248
32254
explicit
jsonValueBoolean
(
bool
value_
);
32255
32257
static
const
std::int32_t
ID
= -2142186576;
32258
32264
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32265
};
32266
32270
class
jsonValueNumber
final :
public
JsonValue
{
32275
std::int32_t get_id()
const
final
{
32276
return
ID
;
32277
}
32278
32279
public
:
32281
double
value_
;
32282
32286
jsonValueNumber
();
32287
32293
explicit
jsonValueNumber
(
double
value_
);
32294
32296
static
const
std::int32_t
ID
= -1010822033;
32297
32303
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32304
};
32305
32309
class
jsonValueString
final :
public
JsonValue
{
32314
std::int32_t get_id()
const
final
{
32315
return
ID
;
32316
}
32317
32318
public
:
32320
string
value_
;
32321
32325
jsonValueString
();
32326
32332
explicit
jsonValueString
(
string
const
&
value_
);
32333
32335
static
const
std::int32_t
ID
= 1597947313;
32336
32342
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32343
};
32344
32348
class
jsonValueArray
final :
public
JsonValue
{
32353
std::int32_t get_id()
const
final
{
32354
return
ID
;
32355
}
32356
32357
public
:
32359
array<object_ptr<JsonValue>
>
values_
;
32360
32364
jsonValueArray
();
32365
32371
explicit
jsonValueArray
(
array
<
object_ptr<JsonValue>
> &&
values_
);
32372
32374
static
const
std::int32_t
ID
= -183913546;
32375
32381
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32382
};
32383
32387
class
jsonValueObject
final :
public
JsonValue
{
32392
std::int32_t get_id()
const
final
{
32393
return
ID
;
32394
}
32395
32396
public
:
32398
array<object_ptr<jsonObjectMember>
>
members_
;
32399
32403
jsonValueObject
();
32404
32410
explicit
jsonValueObject
(
array
<
object_ptr<jsonObjectMember>
> &&
members_
);
32411
32413
static
const
std::int32_t
ID
= 520252026;
32414
32420
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32421
};
32422
32423
class
KeyboardButtonType
;
32424
32428
class
keyboardButton
final :
public
Object
{
32433
std::int32_t get_id()
const
final
{
32434
return
ID
;
32435
}
32436
32437
public
:
32439
string
text_
;
32441
object_ptr<KeyboardButtonType>
type_
;
32442
32446
keyboardButton
();
32447
32454
keyboardButton
(
string
const
&
text_
,
object_ptr<KeyboardButtonType>
&&
type_
);
32455
32457
static
const
std::int32_t
ID
= -2069836172;
32458
32464
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32465
};
32466
32467
class
chatAdministratorRights
;
32468
32473
class
KeyboardButtonType
:
public
Object
{
32474
public
:
32475
};
32476
32480
class
keyboardButtonTypeText
final :
public
KeyboardButtonType
{
32485
std::int32_t get_id()
const
final
{
32486
return
ID
;
32487
}
32488
32489
public
:
32490
32494
keyboardButtonTypeText
();
32495
32497
static
const
std::int32_t
ID
= -1773037256;
32498
32504
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32505
};
32506
32510
class
keyboardButtonTypeRequestPhoneNumber
final :
public
KeyboardButtonType
{
32515
std::int32_t get_id()
const
final
{
32516
return
ID
;
32517
}
32518
32519
public
:
32520
32524
keyboardButtonTypeRequestPhoneNumber
();
32525
32527
static
const
std::int32_t
ID
= -1529235527;
32528
32534
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32535
};
32536
32540
class
keyboardButtonTypeRequestLocation
final :
public
KeyboardButtonType
{
32545
std::int32_t get_id()
const
final
{
32546
return
ID
;
32547
}
32548
32549
public
:
32550
32554
keyboardButtonTypeRequestLocation
();
32555
32557
static
const
std::int32_t
ID
= -125661955;
32558
32564
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32565
};
32566
32570
class
keyboardButtonTypeRequestPoll
final :
public
KeyboardButtonType
{
32575
std::int32_t get_id()
const
final
{
32576
return
ID
;
32577
}
32578
32579
public
:
32581
bool
force_regular_
;
32583
bool
force_quiz_
;
32584
32588
keyboardButtonTypeRequestPoll
();
32589
32596
keyboardButtonTypeRequestPoll
(
bool
force_regular_
,
bool
force_quiz_
);
32597
32599
static
const
std::int32_t
ID
= 1902435512;
32600
32606
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32607
};
32608
32612
class
keyboardButtonTypeRequestUsers
final :
public
KeyboardButtonType
{
32617
std::int32_t get_id()
const
final
{
32618
return
ID
;
32619
}
32620
32621
public
:
32623
int32
id_
;
32625
bool
restrict_user_is_bot_
;
32627
bool
user_is_bot_
;
32629
bool
restrict_user_is_premium_
;
32631
bool
user_is_premium_
;
32633
int32
max_quantity_
;
32635
bool
request_name_
;
32637
bool
request_username_
;
32639
bool
request_photo_
;
32640
32644
keyboardButtonTypeRequestUsers
();
32645
32659
keyboardButtonTypeRequestUsers
(
int32
id_
,
bool
restrict_user_is_bot_
,
bool
user_is_bot_
,
bool
restrict_user_is_premium_
,
bool
user_is_premium_
,
int32
max_quantity_
,
bool
request_name_
,
bool
request_username_
,
bool
request_photo_
);
32660
32662
static
const
std::int32_t
ID
= -1738765315;
32663
32669
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32670
};
32671
32675
class
keyboardButtonTypeRequestChat
final :
public
KeyboardButtonType
{
32680
std::int32_t get_id()
const
final
{
32681
return
ID
;
32682
}
32683
32684
public
:
32686
int32
id_
;
32688
bool
chat_is_channel_
;
32690
bool
restrict_chat_is_forum_
;
32692
bool
chat_is_forum_
;
32694
bool
restrict_chat_has_username_
;
32696
bool
chat_has_username_
;
32698
bool
chat_is_created_
;
32700
object_ptr<chatAdministratorRights>
user_administrator_rights_
;
32702
object_ptr<chatAdministratorRights>
bot_administrator_rights_
;
32704
bool
bot_is_member_
;
32706
bool
request_title_
;
32708
bool
request_username_
;
32710
bool
request_photo_
;
32711
32715
keyboardButtonTypeRequestChat
();
32716
32734
keyboardButtonTypeRequestChat
(
int32
id_
,
bool
chat_is_channel_
,
bool
restrict_chat_is_forum_
,
bool
chat_is_forum_
,
bool
restrict_chat_has_username_
,
bool
chat_has_username_
,
bool
chat_is_created_
,
object_ptr<chatAdministratorRights>
&&
user_administrator_rights_
,
object_ptr<chatAdministratorRights>
&&
bot_administrator_rights_
,
bool
bot_is_member_
,
bool
request_title_
,
bool
request_username_
,
bool
request_photo_
);
32735
32737
static
const
std::int32_t
ID
= 1511138485;
32738
32744
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32745
};
32746
32750
class
keyboardButtonTypeWebApp
final :
public
KeyboardButtonType
{
32755
std::int32_t get_id()
const
final
{
32756
return
ID
;
32757
}
32758
32759
public
:
32761
string
url_
;
32762
32766
keyboardButtonTypeWebApp
();
32767
32773
explicit
keyboardButtonTypeWebApp
(
string
const
&
url_
);
32774
32776
static
const
std::int32_t
ID
= 1892220770;
32777
32783
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32784
};
32785
32789
class
labeledPricePart
final :
public
Object
{
32794
std::int32_t get_id()
const
final
{
32795
return
ID
;
32796
}
32797
32798
public
:
32800
string
label_
;
32802
int53
amount_
;
32803
32807
labeledPricePart
();
32808
32815
labeledPricePart
(
string
const
&
label_
,
int53
amount_
);
32816
32818
static
const
std::int32_t
ID
= 552789798;
32819
32825
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32826
};
32827
32831
class
languagePackInfo
final :
public
Object
{
32836
std::int32_t get_id()
const
final
{
32837
return
ID
;
32838
}
32839
32840
public
:
32842
string
id_
;
32844
string
base_language_pack_id_
;
32846
string
name_
;
32848
string
native_name_
;
32850
string
plural_code_
;
32852
bool
is_official_
;
32854
bool
is_rtl_
;
32856
bool
is_beta_
;
32858
bool
is_installed_
;
32860
int32
total_string_count_
;
32862
int32
translated_string_count_
;
32864
int32
local_string_count_
;
32866
string
translation_url_
;
32867
32871
languagePackInfo
();
32872
32890
languagePackInfo
(
string
const
&
id_
,
string
const
&
base_language_pack_id_
,
string
const
&
name_
,
string
const
&
native_name_
,
string
const
&
plural_code_
,
bool
is_official_
,
bool
is_rtl_
,
bool
is_beta_
,
bool
is_installed_
,
int32
total_string_count_
,
int32
translated_string_count_
,
int32
local_string_count_
,
string
const
&
translation_url_
);
32891
32893
static
const
std::int32_t
ID
= 542199642;
32894
32900
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32901
};
32902
32903
class
LanguagePackStringValue
;
32904
32908
class
languagePackString
final :
public
Object
{
32913
std::int32_t get_id()
const
final
{
32914
return
ID
;
32915
}
32916
32917
public
:
32919
string
key_
;
32921
object_ptr<LanguagePackStringValue>
value_
;
32922
32926
languagePackString
();
32927
32934
languagePackString
(
string
const
&
key_
,
object_ptr<LanguagePackStringValue>
&&
value_
);
32935
32937
static
const
std::int32_t
ID
= 1307632736;
32938
32944
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32945
};
32946
32951
class
LanguagePackStringValue
:
public
Object
{
32952
public
:
32953
};
32954
32958
class
languagePackStringValueOrdinary
final :
public
LanguagePackStringValue
{
32963
std::int32_t get_id()
const
final
{
32964
return
ID
;
32965
}
32966
32967
public
:
32969
string
value_
;
32970
32974
languagePackStringValueOrdinary
();
32975
32981
explicit
languagePackStringValueOrdinary
(
string
const
&
value_
);
32982
32984
static
const
std::int32_t
ID
= -249256352;
32985
32991
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32992
};
32993
32997
class
languagePackStringValuePluralized
final :
public
LanguagePackStringValue
{
33002
std::int32_t get_id()
const
final
{
33003
return
ID
;
33004
}
33005
33006
public
:
33008
string
zero_value_
;
33010
string
one_value_
;
33012
string
two_value_
;
33014
string
few_value_
;
33016
string
many_value_
;
33018
string
other_value_
;
33019
33023
languagePackStringValuePluralized
();
33024
33035
languagePackStringValuePluralized
(
string
const
&
zero_value_
,
string
const
&
one_value_
,
string
const
&
two_value_
,
string
const
&
few_value_
,
string
const
&
many_value_
,
string
const
&
other_value_
);
33036
33038
static
const
std::int32_t
ID
= 1906840261;
33039
33045
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33046
};
33047
33051
class
languagePackStringValueDeleted
final :
public
LanguagePackStringValue
{
33056
std::int32_t get_id()
const
final
{
33057
return
ID
;
33058
}
33059
33060
public
:
33061
33065
languagePackStringValueDeleted
();
33066
33068
static
const
std::int32_t
ID
= 1834792698;
33069
33075
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33076
};
33077
33078
class
languagePackString
;
33079
33083
class
languagePackStrings
final :
public
Object
{
33088
std::int32_t get_id()
const
final
{
33089
return
ID
;
33090
}
33091
33092
public
:
33094
array<object_ptr<languagePackString>
>
strings_
;
33095
33099
languagePackStrings
();
33100
33106
explicit
languagePackStrings
(
array
<
object_ptr<languagePackString>
> &&
strings_
);
33107
33109
static
const
std::int32_t
ID
= 1172082922;
33110
33116
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33117
};
33118
33119
class
LinkPreviewType
;
33120
33121
class
formattedText
;
33122
33126
class
linkPreview
final :
public
Object
{
33131
std::int32_t get_id()
const
final
{
33132
return
ID
;
33133
}
33134
33135
public
:
33137
string
url_
;
33139
string
display_url_
;
33141
string
site_name_
;
33143
string
title_
;
33145
object_ptr<formattedText>
description_
;
33147
string
author_
;
33149
object_ptr<LinkPreviewType>
type_
;
33151
bool
has_large_media_
;
33153
bool
show_large_media_
;
33155
bool
show_media_above_description_
;
33157
bool
skip_confirmation_
;
33159
bool
show_above_text_
;
33161
int32
instant_view_version_
;
33162
33166
linkPreview
();
33167
33185
linkPreview
(
string
const
&
url_
,
string
const
&
display_url_
,
string
const
&
site_name_
,
string
const
&
title_
,
object_ptr<formattedText>
&&
description_
,
string
const
&
author_
,
object_ptr<LinkPreviewType>
&&
type_
,
bool
has_large_media_
,
bool
show_large_media_
,
bool
show_media_above_description_
,
bool
skip_confirmation_
,
bool
show_above_text_
,
int32
instant_view_version_
);
33186
33188
static
const
std::int32_t
ID
= 1729417714;
33189
33195
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33196
};
33197
33198
class
photo
;
33199
33200
class
video
;
33201
33206
class
LinkPreviewAlbumMedia
:
public
Object
{
33207
public
:
33208
};
33209
33213
class
linkPreviewAlbumMediaPhoto
final :
public
LinkPreviewAlbumMedia
{
33218
std::int32_t get_id()
const
final
{
33219
return
ID
;
33220
}
33221
33222
public
:
33224
object_ptr<photo>
photo_
;
33225
33229
linkPreviewAlbumMediaPhoto
();
33230
33236
explicit
linkPreviewAlbumMediaPhoto
(
object_ptr<photo>
&&
photo_
);
33237
33239
static
const
std::int32_t
ID
= -935480434;
33240
33246
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33247
};
33248
33252
class
linkPreviewAlbumMediaVideo
final :
public
LinkPreviewAlbumMedia
{
33257
std::int32_t get_id()
const
final
{
33258
return
ID
;
33259
}
33260
33261
public
:
33263
object_ptr<video>
video_
;
33264
33268
linkPreviewAlbumMediaVideo
();
33269
33275
explicit
linkPreviewAlbumMediaVideo
(
object_ptr<video>
&&
video_
);
33276
33278
static
const
std::int32_t
ID
= 390616795;
33279
33285
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33286
};
33287
33291
class
linkPreviewOptions
final :
public
Object
{
33296
std::int32_t get_id()
const
final
{
33297
return
ID
;
33298
}
33299
33300
public
:
33302
bool
is_disabled_
;
33304
string
url_
;
33306
bool
force_small_media_
;
33308
bool
force_large_media_
;
33310
bool
show_above_text_
;
33311
33315
linkPreviewOptions
();
33316
33326
linkPreviewOptions
(
bool
is_disabled_
,
string
const
&
url_
,
bool
force_small_media_
,
bool
force_large_media_
,
bool
show_above_text_
);
33327
33329
static
const
std::int32_t
ID
= 1046590451;
33330
33336
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33337
};
33338
33339
class
BackgroundType
;
33340
33341
class
InviteLinkChatType
;
33342
33343
class
LinkPreviewAlbumMedia
;
33344
33345
class
animation
;
33346
33347
class
audio
;
33348
33349
class
chatPhoto
;
33350
33351
class
document
;
33352
33353
class
photo
;
33354
33355
class
sticker
;
33356
33357
class
themeSettings
;
33358
33359
class
upgradedGift
;
33360
33361
class
video
;
33362
33363
class
videoNote
;
33364
33365
class
voiceNote
;
33366
33371
class
LinkPreviewType
:
public
Object
{
33372
public
:
33373
};
33374
33378
class
linkPreviewTypeAlbum
final :
public
LinkPreviewType
{
33383
std::int32_t get_id()
const
final
{
33384
return
ID
;
33385
}
33386
33387
public
:
33389
array<object_ptr<LinkPreviewAlbumMedia>
>
media_
;
33391
string
caption_
;
33392
33396
linkPreviewTypeAlbum
();
33397
33404
linkPreviewTypeAlbum
(
array
<
object_ptr<LinkPreviewAlbumMedia>
> &&
media_
,
string
const
&
caption_
);
33405
33407
static
const
std::int32_t
ID
= -919156671;
33408
33414
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33415
};
33416
33420
class
linkPreviewTypeAnimation
final :
public
LinkPreviewType
{
33425
std::int32_t get_id()
const
final
{
33426
return
ID
;
33427
}
33428
33429
public
:
33431
object_ptr<animation>
animation_
;
33432
33436
linkPreviewTypeAnimation
();
33437
33443
explicit
linkPreviewTypeAnimation
(
object_ptr<animation>
&&
animation_
);
33444
33446
static
const
std::int32_t
ID
= -1386429132;
33447
33453
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33454
};
33455
33459
class
linkPreviewTypeApp
final :
public
LinkPreviewType
{
33464
std::int32_t get_id()
const
final
{
33465
return
ID
;
33466
}
33467
33468
public
:
33470
object_ptr<photo>
photo_
;
33471
33475
linkPreviewTypeApp
();
33476
33482
explicit
linkPreviewTypeApp
(
object_ptr<photo>
&&
photo_
);
33483
33485
static
const
std::int32_t
ID
= -475623953;
33486
33492
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33493
};
33494
33498
class
linkPreviewTypeArticle
final :
public
LinkPreviewType
{
33503
std::int32_t get_id()
const
final
{
33504
return
ID
;
33505
}
33506
33507
public
:
33509
object_ptr<photo>
photo_
;
33510
33514
linkPreviewTypeArticle
();
33515
33521
explicit
linkPreviewTypeArticle
(
object_ptr<photo>
&&
photo_
);
33522
33524
static
const
std::int32_t
ID
= 2093915097;
33525
33531
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33532
};
33533
33537
class
linkPreviewTypeAudio
final :
public
LinkPreviewType
{
33542
std::int32_t get_id()
const
final
{
33543
return
ID
;
33544
}
33545
33546
public
:
33548
object_ptr<audio>
audio_
;
33549
33553
linkPreviewTypeAudio
();
33554
33560
explicit
linkPreviewTypeAudio
(
object_ptr<audio>
&&
audio_
);
33561
33563
static
const
std::int32_t
ID
= 1977878482;
33564
33570
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33571
};
33572
33576
class
linkPreviewTypeBackground
final :
public
LinkPreviewType
{
33581
std::int32_t get_id()
const
final
{
33582
return
ID
;
33583
}
33584
33585
public
:
33587
object_ptr<document>
document_
;
33589
object_ptr<BackgroundType>
background_type_
;
33590
33594
linkPreviewTypeBackground
();
33595
33602
linkPreviewTypeBackground
(
object_ptr<document>
&&
document_
,
object_ptr<BackgroundType>
&&
background_type_
);
33603
33605
static
const
std::int32_t
ID
= 977838560;
33606
33612
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33613
};
33614
33618
class
linkPreviewTypeChannelBoost
final :
public
LinkPreviewType
{
33623
std::int32_t get_id()
const
final
{
33624
return
ID
;
33625
}
33626
33627
public
:
33629
object_ptr<chatPhoto>
photo_
;
33630
33634
linkPreviewTypeChannelBoost
();
33635
33641
explicit
linkPreviewTypeChannelBoost
(
object_ptr<chatPhoto>
&&
photo_
);
33642
33644
static
const
std::int32_t
ID
= -957086634;
33645
33651
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33652
};
33653
33657
class
linkPreviewTypeChat
final :
public
LinkPreviewType
{
33662
std::int32_t get_id()
const
final
{
33663
return
ID
;
33664
}
33665
33666
public
:
33668
object_ptr<InviteLinkChatType>
type_
;
33670
object_ptr<chatPhoto>
photo_
;
33672
bool
creates_join_request_
;
33673
33677
linkPreviewTypeChat
();
33678
33686
linkPreviewTypeChat
(
object_ptr<InviteLinkChatType>
&&
type_
,
object_ptr<chatPhoto>
&&
photo_
,
bool
creates_join_request_
);
33687
33689
static
const
std::int32_t
ID
= -1372610270;
33690
33696
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33697
};
33698
33702
class
linkPreviewTypeDirectMessagesChat
final :
public
LinkPreviewType
{
33707
std::int32_t get_id()
const
final
{
33708
return
ID
;
33709
}
33710
33711
public
:
33713
object_ptr<chatPhoto>
photo_
;
33714
33718
linkPreviewTypeDirectMessagesChat
();
33719
33725
explicit
linkPreviewTypeDirectMessagesChat
(
object_ptr<chatPhoto>
&&
photo_
);
33726
33728
static
const
std::int32_t
ID
= 578255582;
33729
33735
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33736
};
33737
33741
class
linkPreviewTypeDocument
final :
public
LinkPreviewType
{
33746
std::int32_t get_id()
const
final
{
33747
return
ID
;
33748
}
33749
33750
public
:
33752
object_ptr<document>
document_
;
33753
33757
linkPreviewTypeDocument
();
33758
33764
explicit
linkPreviewTypeDocument
(
object_ptr<document>
&&
document_
);
33765
33767
static
const
std::int32_t
ID
= -1090426462;
33768
33774
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33775
};
33776
33780
class
linkPreviewTypeEmbeddedAnimationPlayer
final :
public
LinkPreviewType
{
33785
std::int32_t get_id()
const
final
{
33786
return
ID
;
33787
}
33788
33789
public
:
33791
string
url_
;
33793
object_ptr<photo>
thumbnail_
;
33795
int32
duration_
;
33797
int32
width_
;
33799
int32
height_
;
33800
33804
linkPreviewTypeEmbeddedAnimationPlayer
();
33805
33815
linkPreviewTypeEmbeddedAnimationPlayer
(
string
const
&
url_
,
object_ptr<photo>
&&
thumbnail_
,
int32
duration_
,
int32
width_
,
int32
height_
);
33816
33818
static
const
std::int32_t
ID
= -1436887547;
33819
33825
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33826
};
33827
33831
class
linkPreviewTypeEmbeddedAudioPlayer
final :
public
LinkPreviewType
{
33836
std::int32_t get_id()
const
final
{
33837
return
ID
;
33838
}
33839
33840
public
:
33842
string
url_
;
33844
object_ptr<photo>
thumbnail_
;
33846
int32
duration_
;
33848
int32
width_
;
33850
int32
height_
;
33851
33855
linkPreviewTypeEmbeddedAudioPlayer
();
33856
33866
linkPreviewTypeEmbeddedAudioPlayer
(
string
const
&
url_
,
object_ptr<photo>
&&
thumbnail_
,
int32
duration_
,
int32
width_
,
int32
height_
);
33867
33869
static
const
std::int32_t
ID
= 571163292;
33870
33876
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33877
};
33878
33882
class
linkPreviewTypeEmbeddedVideoPlayer
final :
public
LinkPreviewType
{
33887
std::int32_t get_id()
const
final
{
33888
return
ID
;
33889
}
33890
33891
public
:
33893
string
url_
;
33895
object_ptr<photo>
thumbnail_
;
33897
int32
duration_
;
33899
int32
width_
;
33901
int32
height_
;
33902
33906
linkPreviewTypeEmbeddedVideoPlayer
();
33907
33917
linkPreviewTypeEmbeddedVideoPlayer
(
string
const
&
url_
,
object_ptr<photo>
&&
thumbnail_
,
int32
duration_
,
int32
width_
,
int32
height_
);
33918
33920
static
const
std::int32_t
ID
= -1480606973;
33921
33927
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33928
};
33929
33933
class
linkPreviewTypeExternalAudio
final :
public
LinkPreviewType
{
33938
std::int32_t get_id()
const
final
{
33939
return
ID
;
33940
}
33941
33942
public
:
33944
string
url_
;
33946
string
mime_type_
;
33948
int32
duration_
;
33949
33953
linkPreviewTypeExternalAudio
();
33954
33962
linkPreviewTypeExternalAudio
(
string
const
&
url_
,
string
const
&
mime_type_
,
int32
duration_
);
33963
33965
static
const
std::int32_t
ID
= -1971126291;
33966
33972
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33973
};
33974
33978
class
linkPreviewTypeExternalVideo
final :
public
LinkPreviewType
{
33983
std::int32_t get_id()
const
final
{
33984
return
ID
;
33985
}
33986
33987
public
:
33989
string
url_
;
33991
string
mime_type_
;
33993
int32
width_
;
33995
int32
height_
;
33997
int32
duration_
;
33998
34002
linkPreviewTypeExternalVideo
();
34003
34013
linkPreviewTypeExternalVideo
(
string
const
&
url_
,
string
const
&
mime_type_
,
int32
width_
,
int32
height_
,
int32
duration_
);
34014
34016
static
const
std::int32_t
ID
= 1367198616;
34017
34023
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34024
};
34025
34029
class
linkPreviewTypeGiftCollection
final :
public
LinkPreviewType
{
34034
std::int32_t get_id()
const
final
{
34035
return
ID
;
34036
}
34037
34038
public
:
34040
array<object_ptr<sticker>
>
icons_
;
34041
34045
linkPreviewTypeGiftCollection
();
34046
34052
explicit
linkPreviewTypeGiftCollection
(
array
<
object_ptr<sticker>
> &&
icons_
);
34053
34055
static
const
std::int32_t
ID
= 230270537;
34056
34062
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34063
};
34064
34068
class
linkPreviewTypeGroupCall
final :
public
LinkPreviewType
{
34073
std::int32_t get_id()
const
final
{
34074
return
ID
;
34075
}
34076
34077
public
:
34078
34082
linkPreviewTypeGroupCall
();
34083
34085
static
const
std::int32_t
ID
= -1242459936;
34086
34092
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34093
};
34094
34098
class
linkPreviewTypeInvoice
final :
public
LinkPreviewType
{
34103
std::int32_t get_id()
const
final
{
34104
return
ID
;
34105
}
34106
34107
public
:
34108
34112
linkPreviewTypeInvoice
();
34113
34115
static
const
std::int32_t
ID
= -729855782;
34116
34122
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34123
};
34124
34128
class
linkPreviewTypeMessage
final :
public
LinkPreviewType
{
34133
std::int32_t get_id()
const
final
{
34134
return
ID
;
34135
}
34136
34137
public
:
34138
34142
linkPreviewTypeMessage
();
34143
34145
static
const
std::int32_t
ID
= 435470750;
34146
34152
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34153
};
34154
34158
class
linkPreviewTypePhoto
final :
public
LinkPreviewType
{
34163
std::int32_t get_id()
const
final
{
34164
return
ID
;
34165
}
34166
34167
public
:
34169
object_ptr<photo>
photo_
;
34170
34174
linkPreviewTypePhoto
();
34175
34181
explicit
linkPreviewTypePhoto
(
object_ptr<photo>
&&
photo_
);
34182
34184
static
const
std::int32_t
ID
= -1362122068;
34185
34191
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34192
};
34193
34197
class
linkPreviewTypePremiumGiftCode
final :
public
LinkPreviewType
{
34202
std::int32_t get_id()
const
final
{
34203
return
ID
;
34204
}
34205
34206
public
:
34207
34211
linkPreviewTypePremiumGiftCode
();
34212
34214
static
const
std::int32_t
ID
= 1309507761;
34215
34221
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34222
};
34223
34227
class
linkPreviewTypeShareableChatFolder
final :
public
LinkPreviewType
{
34232
std::int32_t get_id()
const
final
{
34233
return
ID
;
34234
}
34235
34236
public
:
34237
34241
linkPreviewTypeShareableChatFolder
();
34242
34244
static
const
std::int32_t
ID
= -2141539524;
34245
34251
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34252
};
34253
34257
class
linkPreviewTypeSticker
final :
public
LinkPreviewType
{
34262
std::int32_t get_id()
const
final
{
34263
return
ID
;
34264
}
34265
34266
public
:
34268
object_ptr<sticker>
sticker_
;
34269
34273
linkPreviewTypeSticker
();
34274
34280
explicit
linkPreviewTypeSticker
(
object_ptr<sticker>
&&
sticker_
);
34281
34283
static
const
std::int32_t
ID
= 610225445;
34284
34290
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34291
};
34292
34296
class
linkPreviewTypeStickerSet
final :
public
LinkPreviewType
{
34301
std::int32_t get_id()
const
final
{
34302
return
ID
;
34303
}
34304
34305
public
:
34307
array<object_ptr<sticker>
>
stickers_
;
34308
34312
linkPreviewTypeStickerSet
();
34313
34319
explicit
linkPreviewTypeStickerSet
(
array
<
object_ptr<sticker>
> &&
stickers_
);
34320
34322
static
const
std::int32_t
ID
= -145958768;
34323
34329
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34330
};
34331
34335
class
linkPreviewTypeStory
final :
public
LinkPreviewType
{
34340
std::int32_t get_id()
const
final
{
34341
return
ID
;
34342
}
34343
34344
public
:
34346
int53
story_poster_chat_id_
;
34348
int32
story_id_
;
34349
34353
linkPreviewTypeStory
();
34354
34361
linkPreviewTypeStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
34362
34364
static
const
std::int32_t
ID
= 1045709531;
34365
34371
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34372
};
34373
34377
class
linkPreviewTypeStoryAlbum
final :
public
LinkPreviewType
{
34382
std::int32_t get_id()
const
final
{
34383
return
ID
;
34384
}
34385
34386
public
:
34388
object_ptr<photo>
photo_icon_
;
34390
object_ptr<video>
video_icon_
;
34391
34395
linkPreviewTypeStoryAlbum
();
34396
34403
linkPreviewTypeStoryAlbum
(
object_ptr<photo>
&&
photo_icon_
,
object_ptr<video>
&&
video_icon_
);
34404
34406
static
const
std::int32_t
ID
= 1935150441;
34407
34413
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34414
};
34415
34419
class
linkPreviewTypeSupergroupBoost
final :
public
LinkPreviewType
{
34424
std::int32_t get_id()
const
final
{
34425
return
ID
;
34426
}
34427
34428
public
:
34430
object_ptr<chatPhoto>
photo_
;
34431
34435
linkPreviewTypeSupergroupBoost
();
34436
34442
explicit
linkPreviewTypeSupergroupBoost
(
object_ptr<chatPhoto>
&&
photo_
);
34443
34445
static
const
std::int32_t
ID
= -1873345418;
34446
34452
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34453
};
34454
34458
class
linkPreviewTypeTheme
final :
public
LinkPreviewType
{
34463
std::int32_t get_id()
const
final
{
34464
return
ID
;
34465
}
34466
34467
public
:
34469
array<object_ptr<document>
>
documents_
;
34471
object_ptr<themeSettings>
settings_
;
34472
34476
linkPreviewTypeTheme
();
34477
34484
linkPreviewTypeTheme
(
array
<
object_ptr<document>
> &&
documents_
,
object_ptr<themeSettings>
&&
settings_
);
34485
34487
static
const
std::int32_t
ID
= -226118489;
34488
34494
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34495
};
34496
34500
class
linkPreviewTypeUnsupported
final :
public
LinkPreviewType
{
34505
std::int32_t get_id()
const
final
{
34506
return
ID
;
34507
}
34508
34509
public
:
34510
34514
linkPreviewTypeUnsupported
();
34515
34517
static
const
std::int32_t
ID
= 1924738233;
34518
34524
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34525
};
34526
34530
class
linkPreviewTypeUpgradedGift
final :
public
LinkPreviewType
{
34535
std::int32_t get_id()
const
final
{
34536
return
ID
;
34537
}
34538
34539
public
:
34541
object_ptr<upgradedGift>
gift_
;
34542
34546
linkPreviewTypeUpgradedGift
();
34547
34553
explicit
linkPreviewTypeUpgradedGift
(
object_ptr<upgradedGift>
&&
gift_
);
34554
34556
static
const
std::int32_t
ID
= 293249807;
34557
34563
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34564
};
34565
34569
class
linkPreviewTypeUser
final :
public
LinkPreviewType
{
34574
std::int32_t get_id()
const
final
{
34575
return
ID
;
34576
}
34577
34578
public
:
34580
object_ptr<chatPhoto>
photo_
;
34582
bool
is_bot_
;
34583
34587
linkPreviewTypeUser
();
34588
34595
linkPreviewTypeUser
(
object_ptr<chatPhoto>
&&
photo_
,
bool
is_bot_
);
34596
34598
static
const
std::int32_t
ID
= -1465024132;
34599
34605
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34606
};
34607
34611
class
linkPreviewTypeVideo
final :
public
LinkPreviewType
{
34616
std::int32_t get_id()
const
final
{
34617
return
ID
;
34618
}
34619
34620
public
:
34622
object_ptr<video>
video_
;
34624
object_ptr<photo>
cover_
;
34626
int32
start_timestamp_
;
34627
34631
linkPreviewTypeVideo
();
34632
34640
linkPreviewTypeVideo
(
object_ptr<video>
&&
video_
,
object_ptr<photo>
&&
cover_
,
int32
start_timestamp_
);
34641
34643
static
const
std::int32_t
ID
= 1573057926;
34644
34650
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34651
};
34652
34656
class
linkPreviewTypeVideoChat
final :
public
LinkPreviewType
{
34661
std::int32_t get_id()
const
final
{
34662
return
ID
;
34663
}
34664
34665
public
:
34667
object_ptr<chatPhoto>
photo_
;
34669
bool
is_live_stream_
;
34671
bool
joins_as_speaker_
;
34672
34676
linkPreviewTypeVideoChat
();
34677
34685
linkPreviewTypeVideoChat
(
object_ptr<chatPhoto>
&&
photo_
,
bool
is_live_stream_
,
bool
joins_as_speaker_
);
34686
34688
static
const
std::int32_t
ID
= -295676354;
34689
34695
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34696
};
34697
34701
class
linkPreviewTypeVideoNote
final :
public
LinkPreviewType
{
34706
std::int32_t get_id()
const
final
{
34707
return
ID
;
34708
}
34709
34710
public
:
34712
object_ptr<videoNote>
video_note_
;
34713
34717
linkPreviewTypeVideoNote
();
34718
34724
explicit
linkPreviewTypeVideoNote
(
object_ptr<videoNote>
&&
video_note_
);
34725
34727
static
const
std::int32_t
ID
= -814687391;
34728
34734
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34735
};
34736
34740
class
linkPreviewTypeVoiceNote
final :
public
LinkPreviewType
{
34745
std::int32_t get_id()
const
final
{
34746
return
ID
;
34747
}
34748
34749
public
:
34751
object_ptr<voiceNote>
voice_note_
;
34752
34756
linkPreviewTypeVoiceNote
();
34757
34763
explicit
linkPreviewTypeVoiceNote
(
object_ptr<voiceNote>
&&
voice_note_
);
34764
34766
static
const
std::int32_t
ID
= -757936341;
34767
34773
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34774
};
34775
34779
class
linkPreviewTypeWebApp
final :
public
LinkPreviewType
{
34784
std::int32_t get_id()
const
final
{
34785
return
ID
;
34786
}
34787
34788
public
:
34790
object_ptr<photo>
photo_
;
34791
34795
linkPreviewTypeWebApp
();
34796
34802
explicit
linkPreviewTypeWebApp
(
object_ptr<photo>
&&
photo_
);
34803
34805
static
const
std::int32_t
ID
= -1506873462;
34806
34812
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34813
};
34814
34818
class
localFile
final :
public
Object
{
34823
std::int32_t get_id()
const
final
{
34824
return
ID
;
34825
}
34826
34827
public
:
34829
string
path_
;
34831
bool
can_be_downloaded_
;
34833
bool
can_be_deleted_
;
34835
bool
is_downloading_active_
;
34837
bool
is_downloading_completed_
;
34839
int53
download_offset_
;
34841
int53
downloaded_prefix_size_
;
34843
int53
downloaded_size_
;
34844
34848
localFile
();
34849
34862
localFile
(
string
const
&
path_
,
bool
can_be_downloaded_
,
bool
can_be_deleted_
,
bool
is_downloading_active_
,
bool
is_downloading_completed_
,
int53
download_offset_
,
int53
downloaded_prefix_size_
,
int53
downloaded_size_
);
34863
34865
static
const
std::int32_t
ID
= -1562732153;
34866
34872
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34873
};
34874
34875
class
languagePackInfo
;
34876
34880
class
localizationTargetInfo
final :
public
Object
{
34885
std::int32_t get_id()
const
final
{
34886
return
ID
;
34887
}
34888
34889
public
:
34891
array<object_ptr<languagePackInfo>
>
language_packs_
;
34892
34896
localizationTargetInfo
();
34897
34903
explicit
localizationTargetInfo
(
array
<
object_ptr<languagePackInfo>
> &&
language_packs_
);
34904
34906
static
const
std::int32_t
ID
= -2048670809;
34907
34913
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34914
};
34915
34919
class
location
final :
public
Object
{
34924
std::int32_t get_id()
const
final
{
34925
return
ID
;
34926
}
34927
34928
public
:
34930
double
latitude_
;
34932
double
longitude_
;
34934
double
horizontal_accuracy_
;
34935
34939
location
();
34940
34948
location
(
double
latitude_
,
double
longitude_
,
double
horizontal_accuracy_
);
34949
34951
static
const
std::int32_t
ID
= -443392141;
34952
34958
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34959
};
34960
34964
class
locationAddress
final :
public
Object
{
34969
std::int32_t get_id()
const
final
{
34970
return
ID
;
34971
}
34972
34973
public
:
34975
string
country_code_
;
34977
string
state_
;
34979
string
city_
;
34981
string
street_
;
34982
34986
locationAddress
();
34987
34996
locationAddress
(
string
const
&
country_code_
,
string
const
&
state_
,
string
const
&
city_
,
string
const
&
street_
);
34997
34999
static
const
std::int32_t
ID
= -1545940190;
35000
35006
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35007
};
35008
35013
class
LogStream
:
public
Object
{
35014
public
:
35015
};
35016
35020
class
logStreamDefault
final :
public
LogStream
{
35025
std::int32_t get_id()
const
final
{
35026
return
ID
;
35027
}
35028
35029
public
:
35030
35034
logStreamDefault
();
35035
35037
static
const
std::int32_t
ID
= 1390581436;
35038
35044
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35045
};
35046
35050
class
logStreamFile
final :
public
LogStream
{
35055
std::int32_t get_id()
const
final
{
35056
return
ID
;
35057
}
35058
35059
public
:
35061
string
path_
;
35063
int53
max_file_size_
;
35065
bool
redirect_stderr_
;
35066
35070
logStreamFile
();
35071
35079
logStreamFile
(
string
const
&
path_
,
int53
max_file_size_
,
bool
redirect_stderr_
);
35080
35082
static
const
std::int32_t
ID
= 1532136933;
35083
35089
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35090
};
35091
35095
class
logStreamEmpty
final :
public
LogStream
{
35100
std::int32_t get_id()
const
final
{
35101
return
ID
;
35102
}
35103
35104
public
:
35105
35109
logStreamEmpty
();
35110
35112
static
const
std::int32_t
ID
= -499912244;
35113
35119
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35120
};
35121
35125
class
logTags
final :
public
Object
{
35130
std::int32_t get_id()
const
final
{
35131
return
ID
;
35132
}
35133
35134
public
:
35136
array<string>
tags_
;
35137
35141
logTags
();
35142
35148
explicit
logTags
(
array<string>
&&
tags_
);
35149
35151
static
const
std::int32_t
ID
= -1604930601;
35152
35158
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35159
};
35160
35164
class
logVerbosityLevel
final :
public
Object
{
35169
std::int32_t get_id()
const
final
{
35170
return
ID
;
35171
}
35172
35173
public
:
35175
int32
verbosity_level_
;
35176
35180
logVerbosityLevel
();
35181
35187
explicit
logVerbosityLevel
(
int32
verbosity_level_
);
35188
35190
static
const
std::int32_t
ID
= 1734624234;
35191
35197
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35198
};
35199
35204
class
LoginUrlInfo
:
public
Object
{
35205
public
:
35206
};
35207
35211
class
loginUrlInfoOpen
final :
public
LoginUrlInfo
{
35216
std::int32_t get_id()
const
final
{
35217
return
ID
;
35218
}
35219
35220
public
:
35222
string
url_
;
35224
bool
skip_confirmation_
;
35225
35229
loginUrlInfoOpen
();
35230
35237
loginUrlInfoOpen
(
string
const
&
url_
,
bool
skip_confirmation_
);
35238
35240
static
const
std::int32_t
ID
= 837282306;
35241
35247
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35248
};
35249
35253
class
loginUrlInfoRequestConfirmation
final :
public
LoginUrlInfo
{
35258
std::int32_t get_id()
const
final
{
35259
return
ID
;
35260
}
35261
35262
public
:
35264
string
url_
;
35266
string
domain_
;
35268
int53
bot_user_id_
;
35270
bool
request_write_access_
;
35271
35275
loginUrlInfoRequestConfirmation
();
35276
35285
loginUrlInfoRequestConfirmation
(
string
const
&
url_
,
string
const
&
domain_
,
int53
bot_user_id_
,
bool
request_write_access_
);
35286
35288
static
const
std::int32_t
ID
= 2128290863;
35289
35295
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35296
};
35297
35298
class
WebAppOpenMode
;
35299
35303
class
mainWebApp
final :
public
Object
{
35308
std::int32_t get_id()
const
final
{
35309
return
ID
;
35310
}
35311
35312
public
:
35314
string
url_
;
35316
object_ptr<WebAppOpenMode>
mode_
;
35317
35321
mainWebApp
();
35322
35329
mainWebApp
(
string
const
&
url_
,
object_ptr<WebAppOpenMode>
&&
mode_
);
35330
35332
static
const
std::int32_t
ID
= 1940368506;
35333
35339
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35340
};
35341
35346
class
MaskPoint
:
public
Object
{
35347
public
:
35348
};
35349
35353
class
maskPointForehead
final :
public
MaskPoint
{
35358
std::int32_t get_id()
const
final
{
35359
return
ID
;
35360
}
35361
35362
public
:
35363
35367
maskPointForehead
();
35368
35370
static
const
std::int32_t
ID
= 1027512005;
35371
35377
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35378
};
35379
35383
class
maskPointEyes
final :
public
MaskPoint
{
35388
std::int32_t get_id()
const
final
{
35389
return
ID
;
35390
}
35391
35392
public
:
35393
35397
maskPointEyes
();
35398
35400
static
const
std::int32_t
ID
= 1748310861;
35401
35407
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35408
};
35409
35413
class
maskPointMouth
final :
public
MaskPoint
{
35418
std::int32_t get_id()
const
final
{
35419
return
ID
;
35420
}
35421
35422
public
:
35423
35427
maskPointMouth
();
35428
35430
static
const
std::int32_t
ID
= 411773406;
35431
35437
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35438
};
35439
35443
class
maskPointChin
final :
public
MaskPoint
{
35448
std::int32_t get_id()
const
final
{
35449
return
ID
;
35450
}
35451
35452
public
:
35453
35457
maskPointChin
();
35458
35460
static
const
std::int32_t
ID
= 534995335;
35461
35467
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35468
};
35469
35470
class
MaskPoint
;
35471
35475
class
maskPosition
final :
public
Object
{
35480
std::int32_t get_id()
const
final
{
35481
return
ID
;
35482
}
35483
35484
public
:
35486
object_ptr<MaskPoint>
point_
;
35488
double
x_shift_
;
35490
double
y_shift_
;
35492
double
scale_
;
35493
35497
maskPosition
();
35498
35507
maskPosition
(
object_ptr<MaskPoint>
&&
point_
,
double
x_shift_
,
double
y_shift_
,
double
scale_
);
35508
35510
static
const
std::int32_t
ID
= -2097433026;
35511
35517
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35518
};
35519
35520
class
MessageContent
;
35521
35522
class
MessageReplyTo
;
35523
35524
class
MessageSchedulingState
;
35525
35526
class
MessageSelfDestructType
;
35527
35528
class
MessageSender
;
35529
35530
class
MessageSendingState
;
35531
35532
class
MessageTopic
;
35533
35534
class
ReplyMarkup
;
35535
35536
class
factCheck
;
35537
35538
class
messageForwardInfo
;
35539
35540
class
messageImportInfo
;
35541
35542
class
messageInteractionInfo
;
35543
35544
class
restrictionInfo
;
35545
35546
class
suggestedPostInfo
;
35547
35548
class
unreadReaction
;
35549
35553
class
message
final :
public
Object
{
35558
std::int32_t get_id()
const
final
{
35559
return
ID
;
35560
}
35561
35562
public
:
35564
int53
id_
;
35566
object_ptr<MessageSender>
sender_id_
;
35568
int53
chat_id_
;
35570
object_ptr<MessageSendingState>
sending_state_
;
35572
object_ptr<MessageSchedulingState>
scheduling_state_
;
35574
bool
is_outgoing_
;
35576
bool
is_pinned_
;
35578
bool
is_from_offline_
;
35580
bool
can_be_saved_
;
35582
bool
has_timestamped_media_
;
35584
bool
is_channel_post_
;
35586
bool
is_paid_star_suggested_post_
;
35588
bool
is_paid_ton_suggested_post_
;
35590
bool
contains_unread_mention_
;
35592
int32
date_
;
35594
int32
edit_date_
;
35596
object_ptr<messageForwardInfo>
forward_info_
;
35598
object_ptr<messageImportInfo>
import_info_
;
35600
object_ptr<messageInteractionInfo>
interaction_info_
;
35602
array<object_ptr<unreadReaction>
>
unread_reactions_
;
35604
object_ptr<factCheck>
fact_check_
;
35606
object_ptr<suggestedPostInfo>
suggested_post_info_
;
35608
object_ptr<MessageReplyTo>
reply_to_
;
35610
int53
message_thread_id_
;
35612
object_ptr<MessageTopic>
topic_id_
;
35614
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
35616
double
self_destruct_in_
;
35618
double
auto_delete_in_
;
35620
int53
via_bot_user_id_
;
35622
int53
sender_business_bot_user_id_
;
35624
int32
sender_boost_count_
;
35626
int53
paid_message_star_count_
;
35628
string
author_signature_
;
35630
int64
media_album_id_
;
35632
int64
effect_id_
;
35634
object_ptr<restrictionInfo>
restriction_info_
;
35636
object_ptr<MessageContent>
content_
;
35638
object_ptr<ReplyMarkup>
reply_markup_
;
35639
35643
message
();
35644
35687
message
(
int53
id_
,
object_ptr<MessageSender>
&&
sender_id_
,
int53
chat_id_
,
object_ptr<MessageSendingState>
&&
sending_state_
,
object_ptr<MessageSchedulingState>
&&
scheduling_state_
,
bool
is_outgoing_
,
bool
is_pinned_
,
bool
is_from_offline_
,
bool
can_be_saved_
,
bool
has_timestamped_media_
,
bool
is_channel_post_
,
bool
is_paid_star_suggested_post_
,
bool
is_paid_ton_suggested_post_
,
bool
contains_unread_mention_
,
int32
date_
,
int32
edit_date_
,
object_ptr<messageForwardInfo>
&&
forward_info_
,
object_ptr<messageImportInfo>
&&
import_info_
,
object_ptr<messageInteractionInfo>
&&
interaction_info_
,
array
<
object_ptr<unreadReaction>
> &&
unread_reactions_
,
object_ptr<factCheck>
&&
fact_check_
,
object_ptr<suggestedPostInfo>
&&
suggested_post_info_
,
object_ptr<MessageReplyTo>
&&
reply_to_
,
int53
message_thread_id_
,
object_ptr<MessageTopic>
&&
topic_id_
,
object_ptr<MessageSelfDestructType>
&&
self_destruct_type_
,
double
self_destruct_in_
,
double
auto_delete_in_
,
int53
via_bot_user_id_
,
int53
sender_business_bot_user_id_
,
int32
sender_boost_count_
,
int53
paid_message_star_count_
,
string
const
&
author_signature_
,
int64
media_album_id_
,
int64
effect_id_
,
object_ptr<restrictionInfo>
&&
restriction_info_
,
object_ptr<MessageContent>
&&
content_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
);
35688
35690
static
const
std::int32_t
ID
= 1241693551;
35691
35697
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35698
};
35699
35703
class
messageAutoDeleteTime
final :
public
Object
{
35708
std::int32_t get_id()
const
final
{
35709
return
ID
;
35710
}
35711
35712
public
:
35714
int32
time_
;
35715
35719
messageAutoDeleteTime
();
35720
35726
explicit
messageAutoDeleteTime
(
int32
time_
);
35727
35729
static
const
std::int32_t
ID
= 1972045589;
35730
35736
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35737
};
35738
35739
class
messageCalendarDay
;
35740
35744
class
messageCalendar
final :
public
Object
{
35749
std::int32_t get_id()
const
final
{
35750
return
ID
;
35751
}
35752
35753
public
:
35755
int32
total_count_
;
35757
array<object_ptr<messageCalendarDay>
>
days_
;
35758
35762
messageCalendar
();
35763
35770
messageCalendar
(
int32
total_count_
,
array
<
object_ptr<messageCalendarDay>
> &&
days_
);
35771
35773
static
const
std::int32_t
ID
= -1682890519;
35774
35780
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35781
};
35782
35783
class
message
;
35784
35788
class
messageCalendarDay
final :
public
Object
{
35793
std::int32_t get_id()
const
final
{
35794
return
ID
;
35795
}
35796
35797
public
:
35799
int32
total_count_
;
35801
object_ptr<message>
message_
;
35802
35806
messageCalendarDay
();
35807
35814
messageCalendarDay
(
int32
total_count_
,
object_ptr<message>
&&
message_
);
35815
35817
static
const
std::int32_t
ID
= -376467614;
35818
35824
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35825
};
35826
35827
class
BotWriteAccessAllowReason
;
35828
35829
class
CallDiscardReason
;
35830
35831
class
ChatTheme
;
35832
35833
class
DiceStickers
;
35834
35835
class
GiveawayPrize
;
35836
35837
class
MessageSender
;
35838
35839
class
PaidMedia
;
35840
35841
class
PassportElementType
;
35842
35843
class
SuggestedPostPrice
;
35844
35845
class
SuggestedPostRefundReason
;
35846
35847
class
UpgradedGiftOrigin
;
35848
35849
class
alternativeVideo
;
35850
35851
class
animatedEmoji
;
35852
35853
class
animation
;
35854
35855
class
audio
;
35856
35857
class
chatBackground
;
35858
35859
class
chatPhoto
;
35860
35861
class
checklist
;
35862
35863
class
checklistTask
;
35864
35865
class
contact
;
35866
35867
class
document
;
35868
35869
class
encryptedCredentials
;
35870
35871
class
encryptedPassportElement
;
35872
35873
class
formattedText
;
35874
35875
class
forumTopicIcon
;
35876
35877
class
game
;
35878
35879
class
gift
;
35880
35881
class
giveawayParameters
;
35882
35883
class
linkPreview
;
35884
35885
class
linkPreviewOptions
;
35886
35887
class
location
;
35888
35889
class
orderInfo
;
35890
35891
class
photo
;
35892
35893
class
poll
;
35894
35895
class
productInfo
;
35896
35897
class
sharedChat
;
35898
35899
class
sharedUser
;
35900
35901
class
starAmount
;
35902
35903
class
sticker
;
35904
35905
class
upgradedGift
;
35906
35907
class
venue
;
35908
35909
class
video
;
35910
35911
class
videoNote
;
35912
35913
class
videoStoryboard
;
35914
35915
class
voiceNote
;
35916
35921
class
MessageContent
:
public
Object
{
35922
public
:
35923
};
35924
35928
class
messageText
final :
public
MessageContent
{
35933
std::int32_t get_id()
const
final
{
35934
return
ID
;
35935
}
35936
35937
public
:
35939
object_ptr<formattedText>
text_
;
35941
object_ptr<linkPreview>
link_preview_
;
35943
object_ptr<linkPreviewOptions>
link_preview_options_
;
35944
35948
messageText
();
35949
35957
messageText
(
object_ptr<formattedText>
&&
text_
,
object_ptr<linkPreview>
&&
link_preview_
,
object_ptr<linkPreviewOptions>
&&
link_preview_options_
);
35958
35960
static
const
std::int32_t
ID
= 1751469188;
35961
35967
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35968
};
35969
35973
class
messageAnimation
final :
public
MessageContent
{
35978
std::int32_t get_id()
const
final
{
35979
return
ID
;
35980
}
35981
35982
public
:
35984
object_ptr<animation>
animation_
;
35986
object_ptr<formattedText>
caption_
;
35988
bool
show_caption_above_media_
;
35990
bool
has_spoiler_
;
35992
bool
is_secret_
;
35993
35997
messageAnimation
();
35998
36008
messageAnimation
(
object_ptr<animation>
&&
animation_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
bool
has_spoiler_
,
bool
is_secret_
);
36009
36011
static
const
std::int32_t
ID
= -1899294424;
36012
36018
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36019
};
36020
36024
class
messageAudio
final :
public
MessageContent
{
36029
std::int32_t get_id()
const
final
{
36030
return
ID
;
36031
}
36032
36033
public
:
36035
object_ptr<audio>
audio_
;
36037
object_ptr<formattedText>
caption_
;
36038
36042
messageAudio
();
36043
36050
messageAudio
(
object_ptr<audio>
&&
audio_
,
object_ptr<formattedText>
&&
caption_
);
36051
36053
static
const
std::int32_t
ID
= 276722716;
36054
36060
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36061
};
36062
36066
class
messageDocument
final :
public
MessageContent
{
36071
std::int32_t get_id()
const
final
{
36072
return
ID
;
36073
}
36074
36075
public
:
36077
object_ptr<document>
document_
;
36079
object_ptr<formattedText>
caption_
;
36080
36084
messageDocument
();
36085
36092
messageDocument
(
object_ptr<document>
&&
document_
,
object_ptr<formattedText>
&&
caption_
);
36093
36095
static
const
std::int32_t
ID
= 596945783;
36096
36102
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36103
};
36104
36108
class
messagePaidMedia
final :
public
MessageContent
{
36113
std::int32_t get_id()
const
final
{
36114
return
ID
;
36115
}
36116
36117
public
:
36119
int53
star_count_
;
36121
array<object_ptr<PaidMedia>
>
media_
;
36123
object_ptr<formattedText>
caption_
;
36125
bool
show_caption_above_media_
;
36126
36130
messagePaidMedia
();
36131
36140
messagePaidMedia
(
int53
star_count_
,
array
<
object_ptr<PaidMedia>
> &&
media_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
);
36141
36143
static
const
std::int32_t
ID
= -724750073;
36144
36150
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36151
};
36152
36156
class
messagePhoto
final :
public
MessageContent
{
36161
std::int32_t get_id()
const
final
{
36162
return
ID
;
36163
}
36164
36165
public
:
36167
object_ptr<photo>
photo_
;
36169
object_ptr<formattedText>
caption_
;
36171
bool
show_caption_above_media_
;
36173
bool
has_spoiler_
;
36175
bool
is_secret_
;
36176
36180
messagePhoto
();
36181
36191
messagePhoto
(
object_ptr<photo>
&&
photo_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
bool
has_spoiler_
,
bool
is_secret_
);
36192
36194
static
const
std::int32_t
ID
= 1967947295;
36195
36201
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36202
};
36203
36207
class
messageSticker
final :
public
MessageContent
{
36212
std::int32_t get_id()
const
final
{
36213
return
ID
;
36214
}
36215
36216
public
:
36218
object_ptr<sticker>
sticker_
;
36220
bool
is_premium_
;
36221
36225
messageSticker
();
36226
36233
messageSticker
(
object_ptr<sticker>
&&
sticker_
,
bool
is_premium_
);
36234
36236
static
const
std::int32_t
ID
= -437199670;
36237
36243
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36244
};
36245
36249
class
messageVideo
final :
public
MessageContent
{
36254
std::int32_t get_id()
const
final
{
36255
return
ID
;
36256
}
36257
36258
public
:
36260
object_ptr<video>
video_
;
36262
array<object_ptr<alternativeVideo>
>
alternative_videos_
;
36264
array<object_ptr<videoStoryboard>
>
storyboards_
;
36266
object_ptr<photo>
cover_
;
36268
int32
start_timestamp_
;
36270
object_ptr<formattedText>
caption_
;
36272
bool
show_caption_above_media_
;
36274
bool
has_spoiler_
;
36276
bool
is_secret_
;
36277
36281
messageVideo
();
36282
36296
messageVideo
(
object_ptr<video>
&&
video_
,
array
<
object_ptr<alternativeVideo>
> &&
alternative_videos_
,
array
<
object_ptr<videoStoryboard>
> &&
storyboards_
,
object_ptr<photo>
&&
cover_
,
int32
start_timestamp_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
bool
has_spoiler_
,
bool
is_secret_
);
36297
36299
static
const
std::int32_t
ID
= 952522912;
36300
36306
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36307
};
36308
36312
class
messageVideoNote
final :
public
MessageContent
{
36317
std::int32_t get_id()
const
final
{
36318
return
ID
;
36319
}
36320
36321
public
:
36323
object_ptr<videoNote>
video_note_
;
36325
bool
is_viewed_
;
36327
bool
is_secret_
;
36328
36332
messageVideoNote
();
36333
36341
messageVideoNote
(
object_ptr<videoNote>
&&
video_note_
,
bool
is_viewed_
,
bool
is_secret_
);
36342
36344
static
const
std::int32_t
ID
= 963323014;
36345
36351
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36352
};
36353
36357
class
messageVoiceNote
final :
public
MessageContent
{
36362
std::int32_t get_id()
const
final
{
36363
return
ID
;
36364
}
36365
36366
public
:
36368
object_ptr<voiceNote>
voice_note_
;
36370
object_ptr<formattedText>
caption_
;
36372
bool
is_listened_
;
36373
36377
messageVoiceNote
();
36378
36386
messageVoiceNote
(
object_ptr<voiceNote>
&&
voice_note_
,
object_ptr<formattedText>
&&
caption_
,
bool
is_listened_
);
36387
36389
static
const
std::int32_t
ID
= 527777781;
36390
36396
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36397
};
36398
36402
class
messageExpiredPhoto
final :
public
MessageContent
{
36407
std::int32_t get_id()
const
final
{
36408
return
ID
;
36409
}
36410
36411
public
:
36412
36416
messageExpiredPhoto
();
36417
36419
static
const
std::int32_t
ID
= -1404641801;
36420
36426
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36427
};
36428
36432
class
messageExpiredVideo
final :
public
MessageContent
{
36437
std::int32_t get_id()
const
final
{
36438
return
ID
;
36439
}
36440
36441
public
:
36442
36446
messageExpiredVideo
();
36447
36449
static
const
std::int32_t
ID
= -1212209981;
36450
36456
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36457
};
36458
36462
class
messageExpiredVideoNote
final :
public
MessageContent
{
36467
std::int32_t get_id()
const
final
{
36468
return
ID
;
36469
}
36470
36471
public
:
36472
36476
messageExpiredVideoNote
();
36477
36479
static
const
std::int32_t
ID
= 599540711;
36480
36486
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36487
};
36488
36492
class
messageExpiredVoiceNote
final :
public
MessageContent
{
36497
std::int32_t get_id()
const
final
{
36498
return
ID
;
36499
}
36500
36501
public
:
36502
36506
messageExpiredVoiceNote
();
36507
36509
static
const
std::int32_t
ID
= 143684989;
36510
36516
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36517
};
36518
36522
class
messageLocation
final :
public
MessageContent
{
36527
std::int32_t get_id()
const
final
{
36528
return
ID
;
36529
}
36530
36531
public
:
36533
object_ptr<location>
location_
;
36535
int32
live_period_
;
36537
int32
expires_in_
;
36539
int32
heading_
;
36541
int32
proximity_alert_radius_
;
36542
36546
messageLocation
();
36547
36557
messageLocation
(
object_ptr<location>
&&
location_
,
int32
live_period_
,
int32
expires_in_
,
int32
heading_
,
int32
proximity_alert_radius_
);
36558
36560
static
const
std::int32_t
ID
= 303973492;
36561
36567
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36568
};
36569
36573
class
messageVenue
final :
public
MessageContent
{
36578
std::int32_t get_id()
const
final
{
36579
return
ID
;
36580
}
36581
36582
public
:
36584
object_ptr<venue>
venue_
;
36585
36589
messageVenue
();
36590
36596
explicit
messageVenue
(
object_ptr<venue>
&&
venue_
);
36597
36599
static
const
std::int32_t
ID
= -2146492043;
36600
36606
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36607
};
36608
36612
class
messageContact
final :
public
MessageContent
{
36617
std::int32_t get_id()
const
final
{
36618
return
ID
;
36619
}
36620
36621
public
:
36623
object_ptr<contact>
contact_
;
36624
36628
messageContact
();
36629
36635
explicit
messageContact
(
object_ptr<contact>
&&
contact_
);
36636
36638
static
const
std::int32_t
ID
= -512684966;
36639
36645
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36646
};
36647
36651
class
messageAnimatedEmoji
final :
public
MessageContent
{
36656
std::int32_t get_id()
const
final
{
36657
return
ID
;
36658
}
36659
36660
public
:
36662
object_ptr<animatedEmoji>
animated_emoji_
;
36664
string
emoji_
;
36665
36669
messageAnimatedEmoji
();
36670
36677
messageAnimatedEmoji
(
object_ptr<animatedEmoji>
&&
animated_emoji_
,
string
const
&
emoji_
);
36678
36680
static
const
std::int32_t
ID
= 908195298;
36681
36687
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36688
};
36689
36693
class
messageDice
final :
public
MessageContent
{
36698
std::int32_t get_id()
const
final
{
36699
return
ID
;
36700
}
36701
36702
public
:
36704
object_ptr<DiceStickers>
initial_state_
;
36706
object_ptr<DiceStickers>
final_state_
;
36708
string
emoji_
;
36710
int32
value_
;
36712
int32
success_animation_frame_number_
;
36713
36717
messageDice
();
36718
36728
messageDice
(
object_ptr<DiceStickers>
&&
initial_state_
,
object_ptr<DiceStickers>
&&
final_state_
,
string
const
&
emoji_
,
int32
value_
,
int32
success_animation_frame_number_
);
36729
36731
static
const
std::int32_t
ID
= 1115779641;
36732
36738
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36739
};
36740
36744
class
messageGame
final :
public
MessageContent
{
36749
std::int32_t get_id()
const
final
{
36750
return
ID
;
36751
}
36752
36753
public
:
36755
object_ptr<game>
game_
;
36756
36760
messageGame
();
36761
36767
explicit
messageGame
(
object_ptr<game>
&&
game_
);
36768
36770
static
const
std::int32_t
ID
= -69441162;
36771
36777
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36778
};
36779
36783
class
messagePoll
final :
public
MessageContent
{
36788
std::int32_t get_id()
const
final
{
36789
return
ID
;
36790
}
36791
36792
public
:
36794
object_ptr<poll>
poll_
;
36795
36799
messagePoll
();
36800
36806
explicit
messagePoll
(
object_ptr<poll>
&&
poll_
);
36807
36809
static
const
std::int32_t
ID
= -662130099;
36810
36816
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36817
};
36818
36822
class
messageStory
final :
public
MessageContent
{
36827
std::int32_t get_id()
const
final
{
36828
return
ID
;
36829
}
36830
36831
public
:
36833
int53
story_poster_chat_id_
;
36835
int32
story_id_
;
36837
bool
via_mention_
;
36838
36842
messageStory
();
36843
36851
messageStory
(
int53
story_poster_chat_id_
,
int32
story_id_
,
bool
via_mention_
);
36852
36854
static
const
std::int32_t
ID
= 1514236353;
36855
36861
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36862
};
36863
36867
class
messageChecklist
final :
public
MessageContent
{
36872
std::int32_t get_id()
const
final
{
36873
return
ID
;
36874
}
36875
36876
public
:
36878
object_ptr<checklist>
list_
;
36879
36883
messageChecklist
();
36884
36890
explicit
messageChecklist
(
object_ptr<checklist>
&&
list_
);
36891
36893
static
const
std::int32_t
ID
= 609926697;
36894
36900
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36901
};
36902
36906
class
messageInvoice
final :
public
MessageContent
{
36911
std::int32_t get_id()
const
final
{
36912
return
ID
;
36913
}
36914
36915
public
:
36917
object_ptr<productInfo>
product_info_
;
36919
string
currency_
;
36921
int53
total_amount_
;
36923
string
start_parameter_
;
36925
bool
is_test_
;
36927
bool
need_shipping_address_
;
36929
int53
receipt_message_id_
;
36931
object_ptr<PaidMedia>
paid_media_
;
36933
object_ptr<formattedText>
paid_media_caption_
;
36934
36938
messageInvoice
();
36939
36953
messageInvoice
(
object_ptr<productInfo>
&&
product_info_
,
string
const
&
currency_
,
int53
total_amount_
,
string
const
&
start_parameter_
,
bool
is_test_
,
bool
need_shipping_address_
,
int53
receipt_message_id_
,
object_ptr<PaidMedia>
&&
paid_media_
,
object_ptr<formattedText>
&&
paid_media_caption_
);
36954
36956
static
const
std::int32_t
ID
= 263060806;
36957
36963
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36964
};
36965
36969
class
messageCall
final :
public
MessageContent
{
36974
std::int32_t get_id()
const
final
{
36975
return
ID
;
36976
}
36977
36978
public
:
36980
bool
is_video_
;
36982
object_ptr<CallDiscardReason>
discard_reason_
;
36984
int32
duration_
;
36985
36989
messageCall
();
36990
36998
messageCall
(
bool
is_video_
,
object_ptr<CallDiscardReason>
&&
discard_reason_
,
int32
duration_
);
36999
37001
static
const
std::int32_t
ID
= 538893824;
37002
37008
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37009
};
37010
37014
class
messageGroupCall
final :
public
MessageContent
{
37019
std::int32_t get_id()
const
final
{
37020
return
ID
;
37021
}
37022
37023
public
:
37025
bool
is_active_
;
37027
bool
was_missed_
;
37029
bool
is_video_
;
37031
int32
duration_
;
37033
array<object_ptr<MessageSender>
>
other_participant_ids_
;
37034
37038
messageGroupCall
();
37039
37049
messageGroupCall
(
bool
is_active_
,
bool
was_missed_
,
bool
is_video_
,
int32
duration_
,
array
<
object_ptr<MessageSender>
> &&
other_participant_ids_
);
37050
37052
static
const
std::int32_t
ID
= 1370396295;
37053
37059
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37060
};
37061
37065
class
messageVideoChatScheduled
final :
public
MessageContent
{
37070
std::int32_t get_id()
const
final
{
37071
return
ID
;
37072
}
37073
37074
public
:
37076
int32
group_call_id_
;
37078
int32
start_date_
;
37079
37083
messageVideoChatScheduled
();
37084
37091
messageVideoChatScheduled
(
int32
group_call_id_
,
int32
start_date_
);
37092
37094
static
const
std::int32_t
ID
= -1855185481;
37095
37101
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37102
};
37103
37107
class
messageVideoChatStarted
final :
public
MessageContent
{
37112
std::int32_t get_id()
const
final
{
37113
return
ID
;
37114
}
37115
37116
public
:
37118
int32
group_call_id_
;
37119
37123
messageVideoChatStarted
();
37124
37130
explicit
messageVideoChatStarted
(
int32
group_call_id_
);
37131
37133
static
const
std::int32_t
ID
= 521225561;
37134
37140
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37141
};
37142
37146
class
messageVideoChatEnded
final :
public
MessageContent
{
37151
std::int32_t get_id()
const
final
{
37152
return
ID
;
37153
}
37154
37155
public
:
37157
int32
duration_
;
37158
37162
messageVideoChatEnded
();
37163
37169
explicit
messageVideoChatEnded
(
int32
duration_
);
37170
37172
static
const
std::int32_t
ID
= 2032544855;
37173
37179
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37180
};
37181
37185
class
messageInviteVideoChatParticipants
final :
public
MessageContent
{
37190
std::int32_t get_id()
const
final
{
37191
return
ID
;
37192
}
37193
37194
public
:
37196
int32
group_call_id_
;
37198
array<int53>
user_ids_
;
37199
37203
messageInviteVideoChatParticipants
();
37204
37211
messageInviteVideoChatParticipants
(
int32
group_call_id_
,
array<int53>
&&
user_ids_
);
37212
37214
static
const
std::int32_t
ID
= -1459065585;
37215
37221
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37222
};
37223
37227
class
messageBasicGroupChatCreate
final :
public
MessageContent
{
37232
std::int32_t get_id()
const
final
{
37233
return
ID
;
37234
}
37235
37236
public
:
37238
string
title_
;
37240
array<int53>
member_user_ids_
;
37241
37245
messageBasicGroupChatCreate
();
37246
37253
messageBasicGroupChatCreate
(
string
const
&
title_
,
array<int53>
&&
member_user_ids_
);
37254
37256
static
const
std::int32_t
ID
= 795404060;
37257
37263
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37264
};
37265
37269
class
messageSupergroupChatCreate
final :
public
MessageContent
{
37274
std::int32_t get_id()
const
final
{
37275
return
ID
;
37276
}
37277
37278
public
:
37280
string
title_
;
37281
37285
messageSupergroupChatCreate
();
37286
37292
explicit
messageSupergroupChatCreate
(
string
const
&
title_
);
37293
37295
static
const
std::int32_t
ID
= -434325733;
37296
37302
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37303
};
37304
37308
class
messageChatChangeTitle
final :
public
MessageContent
{
37313
std::int32_t get_id()
const
final
{
37314
return
ID
;
37315
}
37316
37317
public
:
37319
string
title_
;
37320
37324
messageChatChangeTitle
();
37325
37331
explicit
messageChatChangeTitle
(
string
const
&
title_
);
37332
37334
static
const
std::int32_t
ID
= 748272449;
37335
37341
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37342
};
37343
37347
class
messageChatChangePhoto
final :
public
MessageContent
{
37352
std::int32_t get_id()
const
final
{
37353
return
ID
;
37354
}
37355
37356
public
:
37358
object_ptr<chatPhoto>
photo_
;
37359
37363
messageChatChangePhoto
();
37364
37370
explicit
messageChatChangePhoto
(
object_ptr<chatPhoto>
&&
photo_
);
37371
37373
static
const
std::int32_t
ID
= -813415093;
37374
37380
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37381
};
37382
37386
class
messageChatDeletePhoto
final :
public
MessageContent
{
37391
std::int32_t get_id()
const
final
{
37392
return
ID
;
37393
}
37394
37395
public
:
37396
37400
messageChatDeletePhoto
();
37401
37403
static
const
std::int32_t
ID
= -184374809;
37404
37410
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37411
};
37412
37416
class
messageChatAddMembers
final :
public
MessageContent
{
37421
std::int32_t get_id()
const
final
{
37422
return
ID
;
37423
}
37424
37425
public
:
37427
array<int53>
member_user_ids_
;
37428
37432
messageChatAddMembers
();
37433
37439
explicit
messageChatAddMembers
(
array<int53>
&&
member_user_ids_
);
37440
37442
static
const
std::int32_t
ID
= 1701117908;
37443
37449
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37450
};
37451
37455
class
messageChatJoinByLink
final :
public
MessageContent
{
37460
std::int32_t get_id()
const
final
{
37461
return
ID
;
37462
}
37463
37464
public
:
37465
37469
messageChatJoinByLink
();
37470
37472
static
const
std::int32_t
ID
= 1846493311;
37473
37479
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37480
};
37481
37485
class
messageChatJoinByRequest
final :
public
MessageContent
{
37490
std::int32_t get_id()
const
final
{
37491
return
ID
;
37492
}
37493
37494
public
:
37495
37499
messageChatJoinByRequest
();
37500
37502
static
const
std::int32_t
ID
= 1195428732;
37503
37509
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37510
};
37511
37515
class
messageChatDeleteMember
final :
public
MessageContent
{
37520
std::int32_t get_id()
const
final
{
37521
return
ID
;
37522
}
37523
37524
public
:
37526
int53
user_id_
;
37527
37531
messageChatDeleteMember
();
37532
37538
explicit
messageChatDeleteMember
(
int53
user_id_
);
37539
37541
static
const
std::int32_t
ID
= 938029481;
37542
37548
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37549
};
37550
37554
class
messageChatUpgradeTo
final :
public
MessageContent
{
37559
std::int32_t get_id()
const
final
{
37560
return
ID
;
37561
}
37562
37563
public
:
37565
int53
supergroup_id_
;
37566
37570
messageChatUpgradeTo
();
37571
37577
explicit
messageChatUpgradeTo
(
int53
supergroup_id_
);
37578
37580
static
const
std::int32_t
ID
= 104813723;
37581
37587
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37588
};
37589
37593
class
messageChatUpgradeFrom
final :
public
MessageContent
{
37598
std::int32_t get_id()
const
final
{
37599
return
ID
;
37600
}
37601
37602
public
:
37604
string
title_
;
37606
int53
basic_group_id_
;
37607
37611
messageChatUpgradeFrom
();
37612
37619
messageChatUpgradeFrom
(
string
const
&
title_
,
int53
basic_group_id_
);
37620
37622
static
const
std::int32_t
ID
= 325954268;
37623
37629
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37630
};
37631
37635
class
messagePinMessage
final :
public
MessageContent
{
37640
std::int32_t get_id()
const
final
{
37641
return
ID
;
37642
}
37643
37644
public
:
37646
int53
message_id_
;
37647
37651
messagePinMessage
();
37652
37658
explicit
messagePinMessage
(
int53
message_id_
);
37659
37661
static
const
std::int32_t
ID
= 953503801;
37662
37668
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37669
};
37670
37674
class
messageScreenshotTaken
final :
public
MessageContent
{
37679
std::int32_t get_id()
const
final
{
37680
return
ID
;
37681
}
37682
37683
public
:
37684
37688
messageScreenshotTaken
();
37689
37691
static
const
std::int32_t
ID
= -1564971605;
37692
37698
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37699
};
37700
37704
class
messageChatSetBackground
final :
public
MessageContent
{
37709
std::int32_t get_id()
const
final
{
37710
return
ID
;
37711
}
37712
37713
public
:
37715
int53
old_background_message_id_
;
37717
object_ptr<chatBackground>
background_
;
37719
bool
only_for_self_
;
37720
37724
messageChatSetBackground
();
37725
37733
messageChatSetBackground
(
int53
old_background_message_id_
,
object_ptr<chatBackground>
&&
background_
,
bool
only_for_self_
);
37734
37736
static
const
std::int32_t
ID
= 1029536832;
37737
37743
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37744
};
37745
37749
class
messageChatSetTheme
final :
public
MessageContent
{
37754
std::int32_t get_id()
const
final
{
37755
return
ID
;
37756
}
37757
37758
public
:
37760
object_ptr<ChatTheme>
theme_
;
37761
37765
messageChatSetTheme
();
37766
37772
explicit
messageChatSetTheme
(
object_ptr<ChatTheme>
&&
theme_
);
37773
37775
static
const
std::int32_t
ID
= 1227514007;
37776
37782
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37783
};
37784
37788
class
messageChatSetMessageAutoDeleteTime
final :
public
MessageContent
{
37793
std::int32_t get_id()
const
final
{
37794
return
ID
;
37795
}
37796
37797
public
:
37799
int32
message_auto_delete_time_
;
37801
int53
from_user_id_
;
37802
37806
messageChatSetMessageAutoDeleteTime
();
37807
37814
messageChatSetMessageAutoDeleteTime
(
int32
message_auto_delete_time_
,
int53
from_user_id_
);
37815
37817
static
const
std::int32_t
ID
= 1637745966;
37818
37824
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37825
};
37826
37830
class
messageChatBoost
final :
public
MessageContent
{
37835
std::int32_t get_id()
const
final
{
37836
return
ID
;
37837
}
37838
37839
public
:
37841
int32
boost_count_
;
37842
37846
messageChatBoost
();
37847
37853
explicit
messageChatBoost
(
int32
boost_count_
);
37854
37856
static
const
std::int32_t
ID
= 1583310219;
37857
37863
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37864
};
37865
37869
class
messageForumTopicCreated
final :
public
MessageContent
{
37874
std::int32_t get_id()
const
final
{
37875
return
ID
;
37876
}
37877
37878
public
:
37880
string
name_
;
37882
object_ptr<forumTopicIcon>
icon_
;
37883
37887
messageForumTopicCreated
();
37888
37895
messageForumTopicCreated
(
string
const
&
name_
,
object_ptr<forumTopicIcon>
&&
icon_
);
37896
37898
static
const
std::int32_t
ID
= -1194440751;
37899
37905
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37906
};
37907
37911
class
messageForumTopicEdited
final :
public
MessageContent
{
37916
std::int32_t get_id()
const
final
{
37917
return
ID
;
37918
}
37919
37920
public
:
37922
string
name_
;
37924
bool
edit_icon_custom_emoji_id_
;
37926
int64
icon_custom_emoji_id_
;
37927
37931
messageForumTopicEdited
();
37932
37940
messageForumTopicEdited
(
string
const
&
name_
,
bool
edit_icon_custom_emoji_id_
,
int64
icon_custom_emoji_id_
);
37941
37943
static
const
std::int32_t
ID
= 12629888;
37944
37950
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37951
};
37952
37956
class
messageForumTopicIsClosedToggled
final :
public
MessageContent
{
37961
std::int32_t get_id()
const
final
{
37962
return
ID
;
37963
}
37964
37965
public
:
37967
bool
is_closed_
;
37968
37972
messageForumTopicIsClosedToggled
();
37973
37979
explicit
messageForumTopicIsClosedToggled
(
bool
is_closed_
);
37980
37982
static
const
std::int32_t
ID
= 1264029664;
37983
37989
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37990
};
37991
37995
class
messageForumTopicIsHiddenToggled
final :
public
MessageContent
{
38000
std::int32_t get_id()
const
final
{
38001
return
ID
;
38002
}
38003
38004
public
:
38006
bool
is_hidden_
;
38007
38011
messageForumTopicIsHiddenToggled
();
38012
38018
explicit
messageForumTopicIsHiddenToggled
(
bool
is_hidden_
);
38019
38021
static
const
std::int32_t
ID
= -1751936002;
38022
38028
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38029
};
38030
38034
class
messageSuggestProfilePhoto
final :
public
MessageContent
{
38039
std::int32_t get_id()
const
final
{
38040
return
ID
;
38041
}
38042
38043
public
:
38045
object_ptr<chatPhoto>
photo_
;
38046
38050
messageSuggestProfilePhoto
();
38051
38057
explicit
messageSuggestProfilePhoto
(
object_ptr<chatPhoto>
&&
photo_
);
38058
38060
static
const
std::int32_t
ID
= -1251926297;
38061
38067
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38068
};
38069
38073
class
messageCustomServiceAction
final :
public
MessageContent
{
38078
std::int32_t get_id()
const
final
{
38079
return
ID
;
38080
}
38081
38082
public
:
38084
string
text_
;
38085
38089
messageCustomServiceAction
();
38090
38096
explicit
messageCustomServiceAction
(
string
const
&
text_
);
38097
38099
static
const
std::int32_t
ID
= 1435879282;
38100
38106
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38107
};
38108
38112
class
messageGameScore
final :
public
MessageContent
{
38117
std::int32_t get_id()
const
final
{
38118
return
ID
;
38119
}
38120
38121
public
:
38123
int53
game_message_id_
;
38125
int64
game_id_
;
38127
int32
score_
;
38128
38132
messageGameScore
();
38133
38141
messageGameScore
(
int53
game_message_id_
,
int64
game_id_
,
int32
score_
);
38142
38144
static
const
std::int32_t
ID
= 1344904575;
38145
38151
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38152
};
38153
38157
class
messagePaymentSuccessful
final :
public
MessageContent
{
38162
std::int32_t get_id()
const
final
{
38163
return
ID
;
38164
}
38165
38166
public
:
38168
int53
invoice_chat_id_
;
38170
int53
invoice_message_id_
;
38172
string
currency_
;
38174
int53
total_amount_
;
38176
int32
subscription_until_date_
;
38178
bool
is_recurring_
;
38180
bool
is_first_recurring_
;
38182
string
invoice_name_
;
38183
38187
messagePaymentSuccessful
();
38188
38201
messagePaymentSuccessful
(
int53
invoice_chat_id_
,
int53
invoice_message_id_
,
string
const
&
currency_
,
int53
total_amount_
,
int32
subscription_until_date_
,
bool
is_recurring_
,
bool
is_first_recurring_
,
string
const
&
invoice_name_
);
38202
38204
static
const
std::int32_t
ID
= 1046878481;
38205
38211
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38212
};
38213
38217
class
messagePaymentSuccessfulBot
final :
public
MessageContent
{
38222
std::int32_t get_id()
const
final
{
38223
return
ID
;
38224
}
38225
38226
public
:
38228
string
currency_
;
38230
int53
total_amount_
;
38232
int32
subscription_until_date_
;
38234
bool
is_recurring_
;
38236
bool
is_first_recurring_
;
38238
bytes
invoice_payload_
;
38240
string
shipping_option_id_
;
38242
object_ptr<orderInfo>
order_info_
;
38244
string
telegram_payment_charge_id_
;
38246
string
provider_payment_charge_id_
;
38247
38251
messagePaymentSuccessfulBot
();
38252
38267
messagePaymentSuccessfulBot
(
string
const
&
currency_
,
int53
total_amount_
,
int32
subscription_until_date_
,
bool
is_recurring_
,
bool
is_first_recurring_
,
bytes
const
&
invoice_payload_
,
string
const
&
shipping_option_id_
,
object_ptr<orderInfo>
&&
order_info_
,
string
const
&
telegram_payment_charge_id_
,
string
const
&
provider_payment_charge_id_
);
38268
38270
static
const
std::int32_t
ID
= -949596737;
38271
38277
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38278
};
38279
38283
class
messagePaymentRefunded
final :
public
MessageContent
{
38288
std::int32_t get_id()
const
final
{
38289
return
ID
;
38290
}
38291
38292
public
:
38294
object_ptr<MessageSender>
owner_id_
;
38296
string
currency_
;
38298
int53
total_amount_
;
38300
bytes
invoice_payload_
;
38302
string
telegram_payment_charge_id_
;
38304
string
provider_payment_charge_id_
;
38305
38309
messagePaymentRefunded
();
38310
38321
messagePaymentRefunded
(
object_ptr<MessageSender>
&&
owner_id_
,
string
const
&
currency_
,
int53
total_amount_
,
bytes
const
&
invoice_payload_
,
string
const
&
telegram_payment_charge_id_
,
string
const
&
provider_payment_charge_id_
);
38322
38324
static
const
std::int32_t
ID
= 297580787;
38325
38331
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38332
};
38333
38337
class
messageGiftedPremium
final :
public
MessageContent
{
38342
std::int32_t get_id()
const
final
{
38343
return
ID
;
38344
}
38345
38346
public
:
38348
int53
gifter_user_id_
;
38350
int53
receiver_user_id_
;
38352
object_ptr<formattedText>
text_
;
38354
string
currency_
;
38356
int53
amount_
;
38358
string
cryptocurrency_
;
38360
int64
cryptocurrency_amount_
;
38362
int32
month_count_
;
38364
object_ptr<sticker>
sticker_
;
38365
38369
messageGiftedPremium
();
38370
38384
messageGiftedPremium
(
int53
gifter_user_id_
,
int53
receiver_user_id_
,
object_ptr<formattedText>
&&
text_
,
string
const
&
currency_
,
int53
amount_
,
string
const
&
cryptocurrency_
,
int64
cryptocurrency_amount_
,
int32
month_count_
,
object_ptr<sticker>
&&
sticker_
);
38385
38387
static
const
std::int32_t
ID
= -456073094;
38388
38394
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38395
};
38396
38400
class
messagePremiumGiftCode
final :
public
MessageContent
{
38405
std::int32_t get_id()
const
final
{
38406
return
ID
;
38407
}
38408
38409
public
:
38411
object_ptr<MessageSender>
creator_id_
;
38413
object_ptr<formattedText>
text_
;
38415
bool
is_from_giveaway_
;
38417
bool
is_unclaimed_
;
38419
string
currency_
;
38421
int53
amount_
;
38423
string
cryptocurrency_
;
38425
int64
cryptocurrency_amount_
;
38427
int32
month_count_
;
38429
object_ptr<sticker>
sticker_
;
38431
string
code_
;
38432
38436
messagePremiumGiftCode
();
38437
38453
messagePremiumGiftCode
(
object_ptr<MessageSender>
&&
creator_id_
,
object_ptr<formattedText>
&&
text_
,
bool
is_from_giveaway_
,
bool
is_unclaimed_
,
string
const
&
currency_
,
int53
amount_
,
string
const
&
cryptocurrency_
,
int64
cryptocurrency_amount_
,
int32
month_count_
,
object_ptr<sticker>
&&
sticker_
,
string
const
&
code_
);
38454
38456
static
const
std::int32_t
ID
= 701640270;
38457
38463
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38464
};
38465
38469
class
messageGiveawayCreated
final :
public
MessageContent
{
38474
std::int32_t get_id()
const
final
{
38475
return
ID
;
38476
}
38477
38478
public
:
38480
int53
star_count_
;
38481
38485
messageGiveawayCreated
();
38486
38492
explicit
messageGiveawayCreated
(
int53
star_count_
);
38493
38495
static
const
std::int32_t
ID
= 972252063;
38496
38502
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38503
};
38504
38508
class
messageGiveaway
final :
public
MessageContent
{
38513
std::int32_t get_id()
const
final
{
38514
return
ID
;
38515
}
38516
38517
public
:
38519
object_ptr<giveawayParameters>
parameters_
;
38521
int32
winner_count_
;
38523
object_ptr<GiveawayPrize>
prize_
;
38525
object_ptr<sticker>
sticker_
;
38526
38530
messageGiveaway
();
38531
38540
messageGiveaway
(
object_ptr<giveawayParameters>
&&
parameters_
,
int32
winner_count_
,
object_ptr<GiveawayPrize>
&&
prize_
,
object_ptr<sticker>
&&
sticker_
);
38541
38543
static
const
std::int32_t
ID
= -345908568;
38544
38550
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38551
};
38552
38556
class
messageGiveawayCompleted
final :
public
MessageContent
{
38561
std::int32_t get_id()
const
final
{
38562
return
ID
;
38563
}
38564
38565
public
:
38567
int53
giveaway_message_id_
;
38569
int32
winner_count_
;
38571
bool
is_star_giveaway_
;
38573
int32
unclaimed_prize_count_
;
38574
38578
messageGiveawayCompleted
();
38579
38588
messageGiveawayCompleted
(
int53
giveaway_message_id_
,
int32
winner_count_
,
bool
is_star_giveaway_
,
int32
unclaimed_prize_count_
);
38589
38591
static
const
std::int32_t
ID
= -467351305;
38592
38598
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38599
};
38600
38604
class
messageGiveawayWinners
final :
public
MessageContent
{
38609
std::int32_t get_id()
const
final
{
38610
return
ID
;
38611
}
38612
38613
public
:
38615
int53
boosted_chat_id_
;
38617
int53
giveaway_message_id_
;
38619
int32
additional_chat_count_
;
38621
int32
actual_winners_selection_date_
;
38623
bool
only_new_members_
;
38625
bool
was_refunded_
;
38627
object_ptr<GiveawayPrize>
prize_
;
38629
string
prize_description_
;
38631
int32
winner_count_
;
38633
array<int53>
winner_user_ids_
;
38635
int32
unclaimed_prize_count_
;
38636
38640
messageGiveawayWinners
();
38641
38657
messageGiveawayWinners
(
int53
boosted_chat_id_
,
int53
giveaway_message_id_
,
int32
additional_chat_count_
,
int32
actual_winners_selection_date_
,
bool
only_new_members_
,
bool
was_refunded_
,
object_ptr<GiveawayPrize>
&&
prize_
,
string
const
&
prize_description_
,
int32
winner_count_
,
array<int53>
&&
winner_user_ids_
,
int32
unclaimed_prize_count_
);
38658
38660
static
const
std::int32_t
ID
= 2098585405;
38661
38667
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38668
};
38669
38673
class
messageGiftedStars
final :
public
MessageContent
{
38678
std::int32_t get_id()
const
final
{
38679
return
ID
;
38680
}
38681
38682
public
:
38684
int53
gifter_user_id_
;
38686
int53
receiver_user_id_
;
38688
string
currency_
;
38690
int53
amount_
;
38692
string
cryptocurrency_
;
38694
int64
cryptocurrency_amount_
;
38696
int53
star_count_
;
38698
string
transaction_id_
;
38700
object_ptr<sticker>
sticker_
;
38701
38705
messageGiftedStars
();
38706
38720
messageGiftedStars
(
int53
gifter_user_id_
,
int53
receiver_user_id_
,
string
const
&
currency_
,
int53
amount_
,
string
const
&
cryptocurrency_
,
int64
cryptocurrency_amount_
,
int53
star_count_
,
string
const
&
transaction_id_
,
object_ptr<sticker>
&&
sticker_
);
38721
38723
static
const
std::int32_t
ID
= 1102954151;
38724
38730
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38731
};
38732
38736
class
messageGiftedTon
final :
public
MessageContent
{
38741
std::int32_t get_id()
const
final
{
38742
return
ID
;
38743
}
38744
38745
public
:
38747
int53
gifter_user_id_
;
38749
int53
receiver_user_id_
;
38751
int53
ton_amount_
;
38753
string
transaction_id_
;
38755
object_ptr<sticker>
sticker_
;
38756
38760
messageGiftedTon
();
38761
38771
messageGiftedTon
(
int53
gifter_user_id_
,
int53
receiver_user_id_
,
int53
ton_amount_
,
string
const
&
transaction_id_
,
object_ptr<sticker>
&&
sticker_
);
38772
38774
static
const
std::int32_t
ID
= 766483995;
38775
38781
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38782
};
38783
38787
class
messageGiveawayPrizeStars
final :
public
MessageContent
{
38792
std::int32_t get_id()
const
final
{
38793
return
ID
;
38794
}
38795
38796
public
:
38798
int53
star_count_
;
38800
string
transaction_id_
;
38802
int53
boosted_chat_id_
;
38804
int53
giveaway_message_id_
;
38806
bool
is_unclaimed_
;
38808
object_ptr<sticker>
sticker_
;
38809
38813
messageGiveawayPrizeStars
();
38814
38825
messageGiveawayPrizeStars
(
int53
star_count_
,
string
const
&
transaction_id_
,
int53
boosted_chat_id_
,
int53
giveaway_message_id_
,
bool
is_unclaimed_
,
object_ptr<sticker>
&&
sticker_
);
38826
38828
static
const
std::int32_t
ID
= -1441833501;
38829
38835
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38836
};
38837
38841
class
messageGift
final :
public
MessageContent
{
38846
std::int32_t get_id()
const
final
{
38847
return
ID
;
38848
}
38849
38850
public
:
38852
object_ptr<gift>
gift_
;
38854
object_ptr<MessageSender>
sender_id_
;
38856
object_ptr<MessageSender>
receiver_id_
;
38858
string
received_gift_id_
;
38860
object_ptr<formattedText>
text_
;
38862
int53
sell_star_count_
;
38864
int53
prepaid_upgrade_star_count_
;
38866
bool
is_upgrade_separate_
;
38868
bool
is_private_
;
38870
bool
is_saved_
;
38872
bool
is_prepaid_upgrade_
;
38874
bool
can_be_upgraded_
;
38876
bool
was_converted_
;
38878
bool
was_upgraded_
;
38880
bool
was_refunded_
;
38882
string
upgraded_received_gift_id_
;
38884
string
prepaid_upgrade_hash_
;
38885
38889
messageGift
();
38890
38912
messageGift
(
object_ptr<gift>
&&
gift_
,
object_ptr<MessageSender>
&&
sender_id_
,
object_ptr<MessageSender>
&&
receiver_id_
,
string
const
&
received_gift_id_
,
object_ptr<formattedText>
&&
text_
,
int53
sell_star_count_
,
int53
prepaid_upgrade_star_count_
,
bool
is_upgrade_separate_
,
bool
is_private_
,
bool
is_saved_
,
bool
is_prepaid_upgrade_
,
bool
can_be_upgraded_
,
bool
was_converted_
,
bool
was_upgraded_
,
bool
was_refunded_
,
string
const
&
upgraded_received_gift_id_
,
string
const
&
prepaid_upgrade_hash_
);
38913
38915
static
const
std::int32_t
ID
= -1553135178;
38916
38922
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38923
};
38924
38928
class
messageUpgradedGift
final :
public
MessageContent
{
38933
std::int32_t get_id()
const
final
{
38934
return
ID
;
38935
}
38936
38937
public
:
38939
object_ptr<upgradedGift>
gift_
;
38941
object_ptr<MessageSender>
sender_id_
;
38943
object_ptr<MessageSender>
receiver_id_
;
38945
object_ptr<UpgradedGiftOrigin>
origin_
;
38947
string
received_gift_id_
;
38949
bool
is_saved_
;
38951
bool
can_be_transferred_
;
38953
bool
was_transferred_
;
38955
int53
transfer_star_count_
;
38957
int32
next_transfer_date_
;
38959
int32
next_resale_date_
;
38961
int32
export_date_
;
38962
38966
messageUpgradedGift
();
38967
38984
messageUpgradedGift
(
object_ptr<upgradedGift>
&&
gift_
,
object_ptr<MessageSender>
&&
sender_id_
,
object_ptr<MessageSender>
&&
receiver_id_
,
object_ptr<UpgradedGiftOrigin>
&&
origin_
,
string
const
&
received_gift_id_
,
bool
is_saved_
,
bool
can_be_transferred_
,
bool
was_transferred_
,
int53
transfer_star_count_
,
int32
next_transfer_date_
,
int32
next_resale_date_
,
int32
export_date_
);
38985
38987
static
const
std::int32_t
ID
= -31579935;
38988
38994
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38995
};
38996
39000
class
messageRefundedUpgradedGift
final :
public
MessageContent
{
39005
std::int32_t get_id()
const
final
{
39006
return
ID
;
39007
}
39008
39009
public
:
39011
object_ptr<gift>
gift_
;
39013
object_ptr<MessageSender>
sender_id_
;
39015
object_ptr<MessageSender>
receiver_id_
;
39017
object_ptr<UpgradedGiftOrigin>
origin_
;
39018
39022
messageRefundedUpgradedGift
();
39023
39032
messageRefundedUpgradedGift
(
object_ptr<gift>
&&
gift_
,
object_ptr<MessageSender>
&&
sender_id_
,
object_ptr<MessageSender>
&&
receiver_id_
,
object_ptr<UpgradedGiftOrigin>
&&
origin_
);
39033
39035
static
const
std::int32_t
ID
= -605744001;
39036
39042
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39043
};
39044
39048
class
messagePaidMessagesRefunded
final :
public
MessageContent
{
39053
std::int32_t get_id()
const
final
{
39054
return
ID
;
39055
}
39056
39057
public
:
39059
int32
message_count_
;
39061
int53
star_count_
;
39062
39066
messagePaidMessagesRefunded
();
39067
39074
messagePaidMessagesRefunded
(
int32
message_count_
,
int53
star_count_
);
39075
39077
static
const
std::int32_t
ID
= 580403343;
39078
39084
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39085
};
39086
39090
class
messagePaidMessagePriceChanged
final :
public
MessageContent
{
39095
std::int32_t get_id()
const
final
{
39096
return
ID
;
39097
}
39098
39099
public
:
39101
int53
paid_message_star_count_
;
39102
39106
messagePaidMessagePriceChanged
();
39107
39113
explicit
messagePaidMessagePriceChanged
(
int53
paid_message_star_count_
);
39114
39116
static
const
std::int32_t
ID
= -344945397;
39117
39123
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39124
};
39125
39129
class
messageDirectMessagePriceChanged
final :
public
MessageContent
{
39134
std::int32_t get_id()
const
final
{
39135
return
ID
;
39136
}
39137
39138
public
:
39140
bool
is_enabled_
;
39142
int53
paid_message_star_count_
;
39143
39147
messageDirectMessagePriceChanged
();
39148
39155
messageDirectMessagePriceChanged
(
bool
is_enabled_
,
int53
paid_message_star_count_
);
39156
39158
static
const
std::int32_t
ID
= 1320832439;
39159
39165
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39166
};
39167
39171
class
messageChecklistTasksDone
final :
public
MessageContent
{
39176
std::int32_t get_id()
const
final
{
39177
return
ID
;
39178
}
39179
39180
public
:
39182
int53
checklist_message_id_
;
39184
array<int32>
marked_as_done_task_ids_
;
39186
array<int32>
marked_as_not_done_task_ids_
;
39187
39191
messageChecklistTasksDone
();
39192
39200
messageChecklistTasksDone
(
int53
checklist_message_id_
,
array<int32>
&&
marked_as_done_task_ids_
,
array<int32>
&&
marked_as_not_done_task_ids_
);
39201
39203
static
const
std::int32_t
ID
= -716083401;
39204
39210
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39211
};
39212
39216
class
messageChecklistTasksAdded
final :
public
MessageContent
{
39221
std::int32_t get_id()
const
final
{
39222
return
ID
;
39223
}
39224
39225
public
:
39227
int53
checklist_message_id_
;
39229
array<object_ptr<checklistTask>
>
tasks_
;
39230
39234
messageChecklistTasksAdded
();
39235
39242
messageChecklistTasksAdded
(
int53
checklist_message_id_
,
array
<
object_ptr<checklistTask>
> &&
tasks_
);
39243
39245
static
const
std::int32_t
ID
= 2057538984;
39246
39252
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39253
};
39254
39258
class
messageSuggestedPostApprovalFailed
final :
public
MessageContent
{
39263
std::int32_t get_id()
const
final
{
39264
return
ID
;
39265
}
39266
39267
public
:
39269
int53
suggested_post_message_id_
;
39271
object_ptr<SuggestedPostPrice>
price_
;
39272
39276
messageSuggestedPostApprovalFailed
();
39277
39284
messageSuggestedPostApprovalFailed
(
int53
suggested_post_message_id_
,
object_ptr<SuggestedPostPrice>
&&
price_
);
39285
39287
static
const
std::int32_t
ID
= 1752703725;
39288
39294
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39295
};
39296
39300
class
messageSuggestedPostApproved
final :
public
MessageContent
{
39305
std::int32_t get_id()
const
final
{
39306
return
ID
;
39307
}
39308
39309
public
:
39311
int53
suggested_post_message_id_
;
39313
object_ptr<SuggestedPostPrice>
price_
;
39315
int32
send_date_
;
39316
39320
messageSuggestedPostApproved
();
39321
39329
messageSuggestedPostApproved
(
int53
suggested_post_message_id_
,
object_ptr<SuggestedPostPrice>
&&
price_
,
int32
send_date_
);
39330
39332
static
const
std::int32_t
ID
= 563425361;
39333
39339
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39340
};
39341
39345
class
messageSuggestedPostDeclined
final :
public
MessageContent
{
39350
std::int32_t get_id()
const
final
{
39351
return
ID
;
39352
}
39353
39354
public
:
39356
int53
suggested_post_message_id_
;
39358
string
comment_
;
39359
39363
messageSuggestedPostDeclined
();
39364
39371
messageSuggestedPostDeclined
(
int53
suggested_post_message_id_
,
string
const
&
comment_
);
39372
39374
static
const
std::int32_t
ID
= -26948155;
39375
39381
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39382
};
39383
39387
class
messageSuggestedPostPaid
final :
public
MessageContent
{
39392
std::int32_t get_id()
const
final
{
39393
return
ID
;
39394
}
39395
39396
public
:
39398
int53
suggested_post_message_id_
;
39400
object_ptr<starAmount>
star_amount_
;
39402
int53
ton_amount_
;
39403
39407
messageSuggestedPostPaid
();
39408
39416
messageSuggestedPostPaid
(
int53
suggested_post_message_id_
,
object_ptr<starAmount>
&&
star_amount_
,
int53
ton_amount_
);
39417
39419
static
const
std::int32_t
ID
= 1575439273;
39420
39426
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39427
};
39428
39432
class
messageSuggestedPostRefunded
final :
public
MessageContent
{
39437
std::int32_t get_id()
const
final
{
39438
return
ID
;
39439
}
39440
39441
public
:
39443
int53
suggested_post_message_id_
;
39445
object_ptr<SuggestedPostRefundReason>
reason_
;
39446
39450
messageSuggestedPostRefunded
();
39451
39458
messageSuggestedPostRefunded
(
int53
suggested_post_message_id_
,
object_ptr<SuggestedPostRefundReason>
&&
reason_
);
39459
39461
static
const
std::int32_t
ID
= -554073340;
39462
39468
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39469
};
39470
39474
class
messageContactRegistered
final :
public
MessageContent
{
39479
std::int32_t get_id()
const
final
{
39480
return
ID
;
39481
}
39482
39483
public
:
39484
39488
messageContactRegistered
();
39489
39491
static
const
std::int32_t
ID
= -1502020353;
39492
39498
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39499
};
39500
39504
class
messageUsersShared
final :
public
MessageContent
{
39509
std::int32_t get_id()
const
final
{
39510
return
ID
;
39511
}
39512
39513
public
:
39515
array<object_ptr<sharedUser>
>
users_
;
39517
int32
button_id_
;
39518
39522
messageUsersShared
();
39523
39530
messageUsersShared
(
array
<
object_ptr<sharedUser>
> &&
users_
,
int32
button_id_
);
39531
39533
static
const
std::int32_t
ID
= -842442318;
39534
39540
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39541
};
39542
39546
class
messageChatShared
final :
public
MessageContent
{
39551
std::int32_t get_id()
const
final
{
39552
return
ID
;
39553
}
39554
39555
public
:
39557
object_ptr<sharedChat>
chat_
;
39559
int32
button_id_
;
39560
39564
messageChatShared
();
39565
39572
messageChatShared
(
object_ptr<sharedChat>
&&
chat_
,
int32
button_id_
);
39573
39575
static
const
std::int32_t
ID
= -1362699935;
39576
39582
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39583
};
39584
39588
class
messageBotWriteAccessAllowed
final :
public
MessageContent
{
39593
std::int32_t get_id()
const
final
{
39594
return
ID
;
39595
}
39596
39597
public
:
39599
object_ptr<BotWriteAccessAllowReason>
reason_
;
39600
39604
messageBotWriteAccessAllowed
();
39605
39611
explicit
messageBotWriteAccessAllowed
(
object_ptr<BotWriteAccessAllowReason>
&&
reason_
);
39612
39614
static
const
std::int32_t
ID
= -1702185036;
39615
39621
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39622
};
39623
39627
class
messageWebAppDataSent
final :
public
MessageContent
{
39632
std::int32_t get_id()
const
final
{
39633
return
ID
;
39634
}
39635
39636
public
:
39638
string
button_text_
;
39639
39643
messageWebAppDataSent
();
39644
39650
explicit
messageWebAppDataSent
(
string
const
&
button_text_
);
39651
39653
static
const
std::int32_t
ID
= -83674862;
39654
39660
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39661
};
39662
39666
class
messageWebAppDataReceived
final :
public
MessageContent
{
39671
std::int32_t get_id()
const
final
{
39672
return
ID
;
39673
}
39674
39675
public
:
39677
string
button_text_
;
39679
string
data_
;
39680
39684
messageWebAppDataReceived
();
39685
39692
messageWebAppDataReceived
(
string
const
&
button_text_
,
string
const
&
data_
);
39693
39695
static
const
std::int32_t
ID
= -8578539;
39696
39702
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39703
};
39704
39708
class
messagePassportDataSent
final :
public
MessageContent
{
39713
std::int32_t get_id()
const
final
{
39714
return
ID
;
39715
}
39716
39717
public
:
39719
array<object_ptr<PassportElementType>
>
types_
;
39720
39724
messagePassportDataSent
();
39725
39731
explicit
messagePassportDataSent
(
array
<
object_ptr<PassportElementType>
> &&
types_
);
39732
39734
static
const
std::int32_t
ID
= 1017405171;
39735
39741
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39742
};
39743
39747
class
messagePassportDataReceived
final :
public
MessageContent
{
39752
std::int32_t get_id()
const
final
{
39753
return
ID
;
39754
}
39755
39756
public
:
39758
array<object_ptr<encryptedPassportElement>
>
elements_
;
39760
object_ptr<encryptedCredentials>
credentials_
;
39761
39765
messagePassportDataReceived
();
39766
39773
messagePassportDataReceived
(
array
<
object_ptr<encryptedPassportElement>
> &&
elements_
,
object_ptr<encryptedCredentials>
&&
credentials_
);
39774
39776
static
const
std::int32_t
ID
= -1367863624;
39777
39783
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39784
};
39785
39789
class
messageProximityAlertTriggered
final :
public
MessageContent
{
39794
std::int32_t get_id()
const
final
{
39795
return
ID
;
39796
}
39797
39798
public
:
39800
object_ptr<MessageSender>
traveler_id_
;
39802
object_ptr<MessageSender>
watcher_id_
;
39804
int32
distance_
;
39805
39809
messageProximityAlertTriggered
();
39810
39818
messageProximityAlertTriggered
(
object_ptr<MessageSender>
&&
traveler_id_
,
object_ptr<MessageSender>
&&
watcher_id_
,
int32
distance_
);
39819
39821
static
const
std::int32_t
ID
= 67761875;
39822
39828
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39829
};
39830
39834
class
messageUnsupported
final :
public
MessageContent
{
39839
std::int32_t get_id()
const
final
{
39840
return
ID
;
39841
}
39842
39843
public
:
39844
39848
messageUnsupported
();
39849
39851
static
const
std::int32_t
ID
= -1816726139;
39852
39858
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39859
};
39860
39861
class
formattedText
;
39862
39866
class
messageCopyOptions
final :
public
Object
{
39871
std::int32_t get_id()
const
final
{
39872
return
ID
;
39873
}
39874
39875
public
:
39877
bool
send_copy_
;
39879
bool
replace_caption_
;
39881
object_ptr<formattedText>
new_caption_
;
39883
bool
new_show_caption_above_media_
;
39884
39888
messageCopyOptions
();
39889
39898
messageCopyOptions
(
bool
send_copy_
,
bool
replace_caption_
,
object_ptr<formattedText>
&&
new_caption_
,
bool
new_show_caption_above_media_
);
39899
39901
static
const
std::int32_t
ID
= 1079772090;
39902
39908
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39909
};
39910
39911
class
MessageEffectType
;
39912
39913
class
sticker
;
39914
39918
class
messageEffect
final :
public
Object
{
39923
std::int32_t get_id()
const
final
{
39924
return
ID
;
39925
}
39926
39927
public
:
39929
int64
id_
;
39931
object_ptr<sticker>
static_icon_
;
39933
string
emoji_
;
39935
bool
is_premium_
;
39937
object_ptr<MessageEffectType>
type_
;
39938
39942
messageEffect
();
39943
39953
messageEffect
(
int64
id_
,
object_ptr<sticker>
&&
static_icon_
,
string
const
&
emoji_
,
bool
is_premium_
,
object_ptr<MessageEffectType>
&&
type_
);
39954
39956
static
const
std::int32_t
ID
= -1758836433;
39957
39963
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39964
};
39965
39966
class
sticker
;
39967
39972
class
MessageEffectType
:
public
Object
{
39973
public
:
39974
};
39975
39979
class
messageEffectTypeEmojiReaction
final :
public
MessageEffectType
{
39984
std::int32_t get_id()
const
final
{
39985
return
ID
;
39986
}
39987
39988
public
:
39990
object_ptr<sticker>
select_animation_
;
39992
object_ptr<sticker>
effect_animation_
;
39993
39997
messageEffectTypeEmojiReaction
();
39998
40005
messageEffectTypeEmojiReaction
(
object_ptr<sticker>
&&
select_animation_
,
object_ptr<sticker>
&&
effect_animation_
);
40006
40008
static
const
std::int32_t
ID
= 1756079678;
40009
40015
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40016
};
40017
40021
class
messageEffectTypePremiumSticker
final :
public
MessageEffectType
{
40026
std::int32_t get_id()
const
final
{
40027
return
ID
;
40028
}
40029
40030
public
:
40032
object_ptr<sticker>
sticker_
;
40033
40037
messageEffectTypePremiumSticker
();
40038
40044
explicit
messageEffectTypePremiumSticker
(
object_ptr<sticker>
&&
sticker_
);
40045
40047
static
const
std::int32_t
ID
= 1637231609;
40048
40054
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40055
};
40056
40061
class
MessageFileType
:
public
Object
{
40062
public
:
40063
};
40064
40068
class
messageFileTypePrivate
final :
public
MessageFileType
{
40073
std::int32_t get_id()
const
final
{
40074
return
ID
;
40075
}
40076
40077
public
:
40079
string
name_
;
40080
40084
messageFileTypePrivate
();
40085
40091
explicit
messageFileTypePrivate
(
string
const
&
name_
);
40092
40094
static
const
std::int32_t
ID
= -521908524;
40095
40101
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40102
};
40103
40107
class
messageFileTypeGroup
final :
public
MessageFileType
{
40112
std::int32_t get_id()
const
final
{
40113
return
ID
;
40114
}
40115
40116
public
:
40118
string
title_
;
40119
40123
messageFileTypeGroup
();
40124
40130
explicit
messageFileTypeGroup
(
string
const
&
title_
);
40131
40133
static
const
std::int32_t
ID
= -219836568;
40134
40140
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40141
};
40142
40146
class
messageFileTypeUnknown
final :
public
MessageFileType
{
40151
std::int32_t get_id()
const
final
{
40152
return
ID
;
40153
}
40154
40155
public
:
40156
40160
messageFileTypeUnknown
();
40161
40163
static
const
std::int32_t
ID
= 1176353458;
40164
40170
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40171
};
40172
40173
class
MessageOrigin
;
40174
40175
class
forwardSource
;
40176
40180
class
messageForwardInfo
final :
public
Object
{
40185
std::int32_t get_id()
const
final
{
40186
return
ID
;
40187
}
40188
40189
public
:
40191
object_ptr<MessageOrigin>
origin_
;
40193
int32
date_
;
40195
object_ptr<forwardSource>
source_
;
40197
string
public_service_announcement_type_
;
40198
40202
messageForwardInfo
();
40203
40212
messageForwardInfo
(
object_ptr<MessageOrigin>
&&
origin_
,
int32
date_
,
object_ptr<forwardSource>
&&
source_
,
string
const
&
public_service_announcement_type_
);
40213
40215
static
const
std::int32_t
ID
= -880313475;
40216
40222
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40223
};
40224
40228
class
messageImportInfo
final :
public
Object
{
40233
std::int32_t get_id()
const
final
{
40234
return
ID
;
40235
}
40236
40237
public
:
40239
string
sender_name_
;
40241
int32
date_
;
40242
40246
messageImportInfo
();
40247
40254
messageImportInfo
(
string
const
&
sender_name_
,
int32
date_
);
40255
40257
static
const
std::int32_t
ID
= -421549105;
40258
40264
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40265
};
40266
40267
class
messageReactions
;
40268
40269
class
messageReplyInfo
;
40270
40274
class
messageInteractionInfo
final :
public
Object
{
40279
std::int32_t get_id()
const
final
{
40280
return
ID
;
40281
}
40282
40283
public
:
40285
int32
view_count_
;
40287
int32
forward_count_
;
40289
object_ptr<messageReplyInfo>
reply_info_
;
40291
object_ptr<messageReactions>
reactions_
;
40292
40296
messageInteractionInfo
();
40297
40306
messageInteractionInfo
(
int32
view_count_
,
int32
forward_count_
,
object_ptr<messageReplyInfo>
&&
reply_info_
,
object_ptr<messageReactions>
&&
reactions_
);
40307
40309
static
const
std::int32_t
ID
= 733797893;
40310
40316
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40317
};
40318
40322
class
messageLink
final :
public
Object
{
40327
std::int32_t get_id()
const
final
{
40328
return
ID
;
40329
}
40330
40331
public
:
40333
string
link_
;
40335
bool
is_public_
;
40336
40340
messageLink
();
40341
40348
messageLink
(
string
const
&
link_
,
bool
is_public_
);
40349
40351
static
const
std::int32_t
ID
= -1354089818;
40352
40358
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40359
};
40360
40361
class
message
;
40362
40366
class
messageLinkInfo
final :
public
Object
{
40371
std::int32_t get_id()
const
final
{
40372
return
ID
;
40373
}
40374
40375
public
:
40377
bool
is_public_
;
40379
int53
chat_id_
;
40381
int53
message_thread_id_
;
40383
object_ptr<message>
message_
;
40385
int32
media_timestamp_
;
40387
bool
for_album_
;
40388
40392
messageLinkInfo
();
40393
40404
messageLinkInfo
(
bool
is_public_
,
int53
chat_id_
,
int53
message_thread_id_
,
object_ptr<message>
&&
message_
,
int32
media_timestamp_
,
bool
for_album_
);
40405
40407
static
const
std::int32_t
ID
= 731315024;
40408
40414
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40415
};
40416
40421
class
MessageOrigin
:
public
Object
{
40422
public
:
40423
};
40424
40428
class
messageOriginUser
final :
public
MessageOrigin
{
40433
std::int32_t get_id()
const
final
{
40434
return
ID
;
40435
}
40436
40437
public
:
40439
int53
sender_user_id_
;
40440
40444
messageOriginUser
();
40445
40451
explicit
messageOriginUser
(
int53
sender_user_id_
);
40452
40454
static
const
std::int32_t
ID
= -1677684669;
40455
40461
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40462
};
40463
40467
class
messageOriginHiddenUser
final :
public
MessageOrigin
{
40472
std::int32_t get_id()
const
final
{
40473
return
ID
;
40474
}
40475
40476
public
:
40478
string
sender_name_
;
40479
40483
messageOriginHiddenUser
();
40484
40490
explicit
messageOriginHiddenUser
(
string
const
&
sender_name_
);
40491
40493
static
const
std::int32_t
ID
= -317971494;
40494
40500
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40501
};
40502
40506
class
messageOriginChat
final :
public
MessageOrigin
{
40511
std::int32_t get_id()
const
final
{
40512
return
ID
;
40513
}
40514
40515
public
:
40517
int53
sender_chat_id_
;
40519
string
author_signature_
;
40520
40524
messageOriginChat
();
40525
40532
messageOriginChat
(
int53
sender_chat_id_
,
string
const
&
author_signature_
);
40533
40535
static
const
std::int32_t
ID
= -205824332;
40536
40542
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40543
};
40544
40548
class
messageOriginChannel
final :
public
MessageOrigin
{
40553
std::int32_t get_id()
const
final
{
40554
return
ID
;
40555
}
40556
40557
public
:
40559
int53
chat_id_
;
40561
int53
message_id_
;
40563
string
author_signature_
;
40564
40568
messageOriginChannel
();
40569
40577
messageOriginChannel
(
int53
chat_id_
,
int53
message_id_
,
string
const
&
author_signature_
);
40578
40580
static
const
std::int32_t
ID
= -1451535938;
40581
40587
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40588
};
40589
40593
class
messagePosition
final :
public
Object
{
40598
std::int32_t get_id()
const
final
{
40599
return
ID
;
40600
}
40601
40602
public
:
40604
int32
position_
;
40606
int53
message_id_
;
40608
int32
date_
;
40609
40613
messagePosition
();
40614
40622
messagePosition
(
int32
position_
,
int53
message_id_
,
int32
date_
);
40623
40625
static
const
std::int32_t
ID
= 1292189935;
40626
40632
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40633
};
40634
40635
class
messagePosition
;
40636
40640
class
messagePositions
final :
public
Object
{
40645
std::int32_t get_id()
const
final
{
40646
return
ID
;
40647
}
40648
40649
public
:
40651
int32
total_count_
;
40653
array<object_ptr<messagePosition>
>
positions_
;
40654
40658
messagePositions
();
40659
40666
messagePositions
(
int32
total_count_
,
array
<
object_ptr<messagePosition>
> &&
positions_
);
40667
40669
static
const
std::int32_t
ID
= -1930466649;
40670
40676
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40677
};
40678
40682
class
messageProperties
final :
public
Object
{
40687
std::int32_t get_id()
const
final
{
40688
return
ID
;
40689
}
40690
40691
public
:
40693
bool
can_add_offer_
;
40695
bool
can_add_tasks_
;
40697
bool
can_be_approved_
;
40699
bool
can_be_copied_
;
40701
bool
can_be_copied_to_secret_chat_
;
40703
bool
can_be_declined_
;
40705
bool
can_be_deleted_only_for_self_
;
40707
bool
can_be_deleted_for_all_users_
;
40709
bool
can_be_edited_
;
40711
bool
can_be_forwarded_
;
40713
bool
can_be_paid_
;
40715
bool
can_be_pinned_
;
40717
bool
can_be_replied_
;
40719
bool
can_be_replied_in_another_chat_
;
40721
bool
can_be_saved_
;
40723
bool
can_be_shared_in_story_
;
40725
bool
can_edit_media_
;
40727
bool
can_edit_scheduling_state_
;
40729
bool
can_edit_suggested_post_info_
;
40731
bool
can_get_author_
;
40733
bool
can_get_embedding_code_
;
40735
bool
can_get_link_
;
40737
bool
can_get_media_timestamp_links_
;
40739
bool
can_get_message_thread_
;
40741
bool
can_get_read_date_
;
40743
bool
can_get_statistics_
;
40745
bool
can_get_video_advertisements_
;
40747
bool
can_get_viewers_
;
40749
bool
can_mark_tasks_as_done_
;
40751
bool
can_recognize_speech_
;
40753
bool
can_report_chat_
;
40755
bool
can_report_reactions_
;
40757
bool
can_report_supergroup_spam_
;
40759
bool
can_set_fact_check_
;
40761
bool
need_show_statistics_
;
40762
40766
messageProperties
();
40767
40807
messageProperties
(
bool
can_add_offer_
,
bool
can_add_tasks_
,
bool
can_be_approved_
,
bool
can_be_copied_
,
bool
can_be_copied_to_secret_chat_
,
bool
can_be_declined_
,
bool
can_be_deleted_only_for_self_
,
bool
can_be_deleted_for_all_users_
,
bool
can_be_edited_
,
bool
can_be_forwarded_
,
bool
can_be_paid_
,
bool
can_be_pinned_
,
bool
can_be_replied_
,
bool
can_be_replied_in_another_chat_
,
bool
can_be_saved_
,
bool
can_be_shared_in_story_
,
bool
can_edit_media_
,
bool
can_edit_scheduling_state_
,
bool
can_edit_suggested_post_info_
,
bool
can_get_author_
,
bool
can_get_embedding_code_
,
bool
can_get_link_
,
bool
can_get_media_timestamp_links_
,
bool
can_get_message_thread_
,
bool
can_get_read_date_
,
bool
can_get_statistics_
,
bool
can_get_video_advertisements_
,
bool
can_get_viewers_
,
bool
can_mark_tasks_as_done_
,
bool
can_recognize_speech_
,
bool
can_report_chat_
,
bool
can_report_reactions_
,
bool
can_report_supergroup_spam_
,
bool
can_set_fact_check_
,
bool
need_show_statistics_
);
40808
40810
static
const
std::int32_t
ID
= 954223680;
40811
40817
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40818
};
40819
40820
class
MessageSender
;
40821
40822
class
ReactionType
;
40823
40827
class
messageReaction
final :
public
Object
{
40832
std::int32_t get_id()
const
final
{
40833
return
ID
;
40834
}
40835
40836
public
:
40838
object_ptr<ReactionType>
type_
;
40840
int32
total_count_
;
40842
bool
is_chosen_
;
40844
object_ptr<MessageSender>
used_sender_id_
;
40846
array<object_ptr<MessageSender>
>
recent_sender_ids_
;
40847
40851
messageReaction
();
40852
40862
messageReaction
(
object_ptr<ReactionType>
&&
type_
,
int32
total_count_
,
bool
is_chosen_
,
object_ptr<MessageSender>
&&
used_sender_id_
,
array
<
object_ptr<MessageSender>
> &&
recent_sender_ids_
);
40863
40865
static
const
std::int32_t
ID
= -1093994369;
40866
40872
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40873
};
40874
40875
class
messageReaction
;
40876
40877
class
paidReactor
;
40878
40882
class
messageReactions
final :
public
Object
{
40887
std::int32_t get_id()
const
final
{
40888
return
ID
;
40889
}
40890
40891
public
:
40893
array<object_ptr<messageReaction>
>
reactions_
;
40895
bool
are_tags_
;
40897
array<object_ptr<paidReactor>
>
paid_reactors_
;
40899
bool
can_get_added_reactions_
;
40900
40904
messageReactions
();
40905
40914
messageReactions
(
array
<
object_ptr<messageReaction>
> &&
reactions_
,
bool
are_tags_
,
array
<
object_ptr<paidReactor>
> &&
paid_reactors_
,
bool
can_get_added_reactions_
);
40915
40917
static
const
std::int32_t
ID
= 1475966817;
40918
40924
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40925
};
40926
40931
class
MessageReadDate
:
public
Object
{
40932
public
:
40933
};
40934
40938
class
messageReadDateRead
final :
public
MessageReadDate
{
40943
std::int32_t get_id()
const
final
{
40944
return
ID
;
40945
}
40946
40947
public
:
40949
int32
read_date_
;
40950
40954
messageReadDateRead
();
40955
40961
explicit
messageReadDateRead
(
int32
read_date_
);
40962
40964
static
const
std::int32_t
ID
= 1972186672;
40965
40971
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40972
};
40973
40977
class
messageReadDateUnread
final :
public
MessageReadDate
{
40982
std::int32_t get_id()
const
final
{
40983
return
ID
;
40984
}
40985
40986
public
:
40987
40991
messageReadDateUnread
();
40992
40994
static
const
std::int32_t
ID
= 397549868;
40995
41001
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41002
};
41003
41007
class
messageReadDateTooOld
final :
public
MessageReadDate
{
41012
std::int32_t get_id()
const
final
{
41013
return
ID
;
41014
}
41015
41016
public
:
41017
41021
messageReadDateTooOld
();
41022
41024
static
const
std::int32_t
ID
= -1233773024;
41025
41031
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41032
};
41033
41037
class
messageReadDateUserPrivacyRestricted
final :
public
MessageReadDate
{
41042
std::int32_t get_id()
const
final
{
41043
return
ID
;
41044
}
41045
41046
public
:
41047
41051
messageReadDateUserPrivacyRestricted
();
41052
41054
static
const
std::int32_t
ID
= -1282567130;
41055
41061
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41062
};
41063
41067
class
messageReadDateMyPrivacyRestricted
final :
public
MessageReadDate
{
41072
std::int32_t get_id()
const
final
{
41073
return
ID
;
41074
}
41075
41076
public
:
41077
41081
messageReadDateMyPrivacyRestricted
();
41082
41084
static
const
std::int32_t
ID
= -693971852;
41085
41091
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41092
};
41093
41094
class
MessageSender
;
41095
41099
class
messageReplyInfo
final :
public
Object
{
41104
std::int32_t get_id()
const
final
{
41105
return
ID
;
41106
}
41107
41108
public
:
41110
int32
reply_count_
;
41112
array<object_ptr<MessageSender>
>
recent_replier_ids_
;
41114
int53
last_read_inbox_message_id_
;
41116
int53
last_read_outbox_message_id_
;
41118
int53
last_message_id_
;
41119
41123
messageReplyInfo
();
41124
41134
messageReplyInfo
(
int32
reply_count_
,
array
<
object_ptr<MessageSender>
> &&
recent_replier_ids_
,
int53
last_read_inbox_message_id_
,
int53
last_read_outbox_message_id_
,
int53
last_message_id_
);
41135
41137
static
const
std::int32_t
ID
= -2093702263;
41138
41144
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41145
};
41146
41147
class
MessageContent
;
41148
41149
class
MessageOrigin
;
41150
41151
class
textQuote
;
41152
41157
class
MessageReplyTo
:
public
Object
{
41158
public
:
41159
};
41160
41164
class
messageReplyToMessage
final :
public
MessageReplyTo
{
41169
std::int32_t get_id()
const
final
{
41170
return
ID
;
41171
}
41172
41173
public
:
41175
int53
chat_id_
;
41177
int53
message_id_
;
41179
object_ptr<textQuote>
quote_
;
41181
int32
checklist_task_id_
;
41183
object_ptr<MessageOrigin>
origin_
;
41185
int32
origin_send_date_
;
41187
object_ptr<MessageContent>
content_
;
41188
41192
messageReplyToMessage
();
41193
41205
messageReplyToMessage
(
int53
chat_id_
,
int53
message_id_
,
object_ptr<textQuote>
&&
quote_
,
int32
checklist_task_id_
,
object_ptr<MessageOrigin>
&&
origin_
,
int32
origin_send_date_
,
object_ptr<MessageContent>
&&
content_
);
41206
41208
static
const
std::int32_t
ID
= -2078029945;
41209
41215
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41216
};
41217
41221
class
messageReplyToStory
final :
public
MessageReplyTo
{
41226
std::int32_t get_id()
const
final
{
41227
return
ID
;
41228
}
41229
41230
public
:
41232
int53
story_poster_chat_id_
;
41234
int32
story_id_
;
41235
41239
messageReplyToStory
();
41240
41247
messageReplyToStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
41248
41250
static
const
std::int32_t
ID
= -674492596;
41251
41257
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41258
};
41259
41264
class
MessageSchedulingState
:
public
Object
{
41265
public
:
41266
};
41267
41271
class
messageSchedulingStateSendAtDate
final :
public
MessageSchedulingState
{
41276
std::int32_t get_id()
const
final
{
41277
return
ID
;
41278
}
41279
41280
public
:
41282
int32
send_date_
;
41283
41287
messageSchedulingStateSendAtDate
();
41288
41294
explicit
messageSchedulingStateSendAtDate
(
int32
send_date_
);
41295
41297
static
const
std::int32_t
ID
= -1485570073;
41298
41304
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41305
};
41306
41310
class
messageSchedulingStateSendWhenOnline
final :
public
MessageSchedulingState
{
41315
std::int32_t get_id()
const
final
{
41316
return
ID
;
41317
}
41318
41319
public
:
41320
41324
messageSchedulingStateSendWhenOnline
();
41325
41327
static
const
std::int32_t
ID
= 2092947464;
41328
41334
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41335
};
41336
41340
class
messageSchedulingStateSendWhenVideoProcessed
final :
public
MessageSchedulingState
{
41345
std::int32_t get_id()
const
final
{
41346
return
ID
;
41347
}
41348
41349
public
:
41351
int32
send_date_
;
41352
41356
messageSchedulingStateSendWhenVideoProcessed
();
41357
41363
explicit
messageSchedulingStateSendWhenVideoProcessed
(
int32
send_date_
);
41364
41366
static
const
std::int32_t
ID
= 2101578734;
41367
41373
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41374
};
41375
41380
class
MessageSelfDestructType
:
public
Object
{
41381
public
:
41382
};
41383
41387
class
messageSelfDestructTypeTimer
final :
public
MessageSelfDestructType
{
41392
std::int32_t get_id()
const
final
{
41393
return
ID
;
41394
}
41395
41396
public
:
41398
int32
self_destruct_time_
;
41399
41403
messageSelfDestructTypeTimer
();
41404
41410
explicit
messageSelfDestructTypeTimer
(
int32
self_destruct_time_
);
41411
41413
static
const
std::int32_t
ID
= 1351440333;
41414
41420
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41421
};
41422
41426
class
messageSelfDestructTypeImmediately
final :
public
MessageSelfDestructType
{
41431
std::int32_t get_id()
const
final
{
41432
return
ID
;
41433
}
41434
41435
public
:
41436
41440
messageSelfDestructTypeImmediately
();
41441
41443
static
const
std::int32_t
ID
= -1036218363;
41444
41450
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41451
};
41452
41453
class
MessageSchedulingState
;
41454
41455
class
inputSuggestedPostInfo
;
41456
41460
class
messageSendOptions
final :
public
Object
{
41465
std::int32_t get_id()
const
final
{
41466
return
ID
;
41467
}
41468
41469
public
:
41471
int53
direct_messages_chat_topic_id_
;
41473
object_ptr<inputSuggestedPostInfo>
suggested_post_info_
;
41475
bool
disable_notification_
;
41477
bool
from_background_
;
41479
bool
protect_content_
;
41481
bool
allow_paid_broadcast_
;
41483
int53
paid_message_star_count_
;
41485
bool
update_order_of_installed_sticker_sets_
;
41487
object_ptr<MessageSchedulingState>
scheduling_state_
;
41489
int64
effect_id_
;
41491
int32
sending_id_
;
41493
bool
only_preview_
;
41494
41498
messageSendOptions
();
41499
41516
messageSendOptions
(
int53
direct_messages_chat_topic_id_
,
object_ptr<inputSuggestedPostInfo>
&&
suggested_post_info_
,
bool
disable_notification_
,
bool
from_background_
,
bool
protect_content_
,
bool
allow_paid_broadcast_
,
int53
paid_message_star_count_
,
bool
update_order_of_installed_sticker_sets_
,
object_ptr<MessageSchedulingState>
&&
scheduling_state_
,
int64
effect_id_
,
int32
sending_id_
,
bool
only_preview_
);
41517
41519
static
const
std::int32_t
ID
= -939008805;
41520
41526
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41527
};
41528
41533
class
MessageSender
:
public
Object
{
41534
public
:
41535
};
41536
41540
class
messageSenderUser
final :
public
MessageSender
{
41545
std::int32_t get_id()
const
final
{
41546
return
ID
;
41547
}
41548
41549
public
:
41551
int53
user_id_
;
41552
41556
messageSenderUser
();
41557
41563
explicit
messageSenderUser
(
int53
user_id_
);
41564
41566
static
const
std::int32_t
ID
= -336109341;
41567
41573
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41574
};
41575
41579
class
messageSenderChat
final :
public
MessageSender
{
41584
std::int32_t get_id()
const
final
{
41585
return
ID
;
41586
}
41587
41588
public
:
41590
int53
chat_id_
;
41591
41595
messageSenderChat
();
41596
41602
explicit
messageSenderChat
(
int53
chat_id_
);
41603
41605
static
const
std::int32_t
ID
= -239660751;
41606
41612
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41613
};
41614
41615
class
MessageSender
;
41616
41620
class
messageSenders
final :
public
Object
{
41625
std::int32_t get_id()
const
final
{
41626
return
ID
;
41627
}
41628
41629
public
:
41631
int32
total_count_
;
41633
array<object_ptr<MessageSender>
>
senders_
;
41634
41638
messageSenders
();
41639
41646
messageSenders
(
int32
total_count_
,
array
<
object_ptr<MessageSender>
> &&
senders_
);
41647
41649
static
const
std::int32_t
ID
= -690158467;
41650
41656
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41657
};
41658
41659
class
error
;
41660
41665
class
MessageSendingState
:
public
Object
{
41666
public
:
41667
};
41668
41672
class
messageSendingStatePending
final :
public
MessageSendingState
{
41677
std::int32_t get_id()
const
final
{
41678
return
ID
;
41679
}
41680
41681
public
:
41683
int32
sending_id_
;
41684
41688
messageSendingStatePending
();
41689
41695
explicit
messageSendingStatePending
(
int32
sending_id_
);
41696
41698
static
const
std::int32_t
ID
= -215260236;
41699
41705
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41706
};
41707
41711
class
messageSendingStateFailed
final :
public
MessageSendingState
{
41716
std::int32_t get_id()
const
final
{
41717
return
ID
;
41718
}
41719
41720
public
:
41722
object_ptr<error>
error_
;
41724
bool
can_retry_
;
41726
bool
need_another_sender_
;
41728
bool
need_another_reply_quote_
;
41730
bool
need_drop_reply_
;
41732
int53
required_paid_message_star_count_
;
41734
double
retry_after_
;
41735
41739
messageSendingStateFailed
();
41740
41752
messageSendingStateFailed
(
object_ptr<error>
&&
error_
,
bool
can_retry_
,
bool
need_another_sender_
,
bool
need_another_reply_quote_
,
bool
need_drop_reply_
,
int53
required_paid_message_star_count_
,
double
retry_after_
);
41753
41755
static
const
std::int32_t
ID
= -777630522;
41756
41762
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41763
};
41764
41769
class
MessageSource
:
public
Object
{
41770
public
:
41771
};
41772
41776
class
messageSourceChatHistory
final :
public
MessageSource
{
41781
std::int32_t get_id()
const
final
{
41782
return
ID
;
41783
}
41784
41785
public
:
41786
41790
messageSourceChatHistory
();
41791
41793
static
const
std::int32_t
ID
= -1090386116;
41794
41800
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41801
};
41802
41806
class
messageSourceMessageThreadHistory
final :
public
MessageSource
{
41811
std::int32_t get_id()
const
final
{
41812
return
ID
;
41813
}
41814
41815
public
:
41816
41820
messageSourceMessageThreadHistory
();
41821
41823
static
const
std::int32_t
ID
= 290427142;
41824
41830
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41831
};
41832
41836
class
messageSourceForumTopicHistory
final :
public
MessageSource
{
41841
std::int32_t get_id()
const
final
{
41842
return
ID
;
41843
}
41844
41845
public
:
41846
41850
messageSourceForumTopicHistory
();
41851
41853
static
const
std::int32_t
ID
= -1518064457;
41854
41860
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41861
};
41862
41866
class
messageSourceDirectMessagesChatTopicHistory
final :
public
MessageSource
{
41871
std::int32_t get_id()
const
final
{
41872
return
ID
;
41873
}
41874
41875
public
:
41876
41880
messageSourceDirectMessagesChatTopicHistory
();
41881
41883
static
const
std::int32_t
ID
= 1869256503;
41884
41890
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41891
};
41892
41896
class
messageSourceHistoryPreview
final :
public
MessageSource
{
41901
std::int32_t get_id()
const
final
{
41902
return
ID
;
41903
}
41904
41905
public
:
41906
41910
messageSourceHistoryPreview
();
41911
41913
static
const
std::int32_t
ID
= 1024254993;
41914
41920
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41921
};
41922
41926
class
messageSourceChatList
final :
public
MessageSource
{
41931
std::int32_t get_id()
const
final
{
41932
return
ID
;
41933
}
41934
41935
public
:
41936
41940
messageSourceChatList
();
41941
41943
static
const
std::int32_t
ID
= -2047406102;
41944
41950
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41951
};
41952
41956
class
messageSourceSearch
final :
public
MessageSource
{
41961
std::int32_t get_id()
const
final
{
41962
return
ID
;
41963
}
41964
41965
public
:
41966
41970
messageSourceSearch
();
41971
41973
static
const
std::int32_t
ID
= 1921333105;
41974
41980
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41981
};
41982
41986
class
messageSourceChatEventLog
final :
public
MessageSource
{
41991
std::int32_t get_id()
const
final
{
41992
return
ID
;
41993
}
41994
41995
public
:
41996
42000
messageSourceChatEventLog
();
42001
42003
static
const
std::int32_t
ID
= -1028777540;
42004
42010
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42011
};
42012
42016
class
messageSourceNotification
final :
public
MessageSource
{
42021
std::int32_t get_id()
const
final
{
42022
return
ID
;
42023
}
42024
42025
public
:
42026
42030
messageSourceNotification
();
42031
42033
static
const
std::int32_t
ID
= -1046406163;
42034
42040
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42041
};
42042
42046
class
messageSourceScreenshot
final :
public
MessageSource
{
42051
std::int32_t get_id()
const
final
{
42052
return
ID
;
42053
}
42054
42055
public
:
42056
42060
messageSourceScreenshot
();
42061
42063
static
const
std::int32_t
ID
= 469982474;
42064
42070
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42071
};
42072
42076
class
messageSourceOther
final :
public
MessageSource
{
42081
std::int32_t get_id()
const
final
{
42082
return
ID
;
42083
}
42084
42085
public
:
42086
42090
messageSourceOther
();
42091
42093
static
const
std::int32_t
ID
= 901818114;
42094
42100
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42101
};
42102
42103
class
StatisticalGraph
;
42104
42108
class
messageStatistics
final :
public
Object
{
42113
std::int32_t get_id()
const
final
{
42114
return
ID
;
42115
}
42116
42117
public
:
42119
object_ptr<StatisticalGraph>
message_interaction_graph_
;
42121
object_ptr<StatisticalGraph>
message_reaction_graph_
;
42122
42126
messageStatistics
();
42127
42134
messageStatistics
(
object_ptr<StatisticalGraph>
&&
message_interaction_graph_
,
object_ptr<StatisticalGraph>
&&
message_reaction_graph_
);
42135
42137
static
const
std::int32_t
ID
= -1563537657;
42138
42144
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42145
};
42146
42147
class
draftMessage
;
42148
42149
class
message
;
42150
42151
class
messageReplyInfo
;
42152
42156
class
messageThreadInfo
final :
public
Object
{
42161
std::int32_t get_id()
const
final
{
42162
return
ID
;
42163
}
42164
42165
public
:
42167
int53
chat_id_
;
42169
int53
message_thread_id_
;
42171
object_ptr<messageReplyInfo>
reply_info_
;
42173
int32
unread_message_count_
;
42175
array<object_ptr<message>
>
messages_
;
42177
object_ptr<draftMessage>
draft_message_
;
42178
42182
messageThreadInfo
();
42183
42194
messageThreadInfo
(
int53
chat_id_
,
int53
message_thread_id_
,
object_ptr<messageReplyInfo>
&&
reply_info_
,
int32
unread_message_count_
,
array
<
object_ptr<message>
> &&
messages_
,
object_ptr<draftMessage>
&&
draft_message_
);
42195
42197
static
const
std::int32_t
ID
= -248536056;
42198
42204
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42205
};
42206
42211
class
MessageTopic
:
public
Object
{
42212
public
:
42213
};
42214
42218
class
messageTopicForum
final :
public
MessageTopic
{
42223
std::int32_t get_id()
const
final
{
42224
return
ID
;
42225
}
42226
42227
public
:
42229
int53
forum_topic_id_
;
42230
42234
messageTopicForum
();
42235
42241
explicit
messageTopicForum
(
int53
forum_topic_id_
);
42242
42244
static
const
std::int32_t
ID
= 1997025385;
42245
42251
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42252
};
42253
42257
class
messageTopicDirectMessages
final :
public
MessageTopic
{
42262
std::int32_t get_id()
const
final
{
42263
return
ID
;
42264
}
42265
42266
public
:
42268
int53
direct_messages_chat_topic_id_
;
42269
42273
messageTopicDirectMessages
();
42274
42280
explicit
messageTopicDirectMessages
(
int53
direct_messages_chat_topic_id_
);
42281
42283
static
const
std::int32_t
ID
= -1285378599;
42284
42290
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42291
};
42292
42296
class
messageTopicSavedMessages
final :
public
MessageTopic
{
42301
std::int32_t get_id()
const
final
{
42302
return
ID
;
42303
}
42304
42305
public
:
42307
int53
saved_messages_topic_id_
;
42308
42312
messageTopicSavedMessages
();
42313
42319
explicit
messageTopicSavedMessages
(
int53
saved_messages_topic_id_
);
42320
42322
static
const
std::int32_t
ID
= 588026991;
42323
42329
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42330
};
42331
42335
class
messageViewer
final :
public
Object
{
42340
std::int32_t get_id()
const
final
{
42341
return
ID
;
42342
}
42343
42344
public
:
42346
int53
user_id_
;
42348
int32
view_date_
;
42349
42353
messageViewer
();
42354
42361
messageViewer
(
int53
user_id_
,
int32
view_date_
);
42362
42364
static
const
std::int32_t
ID
= 1458639309;
42365
42371
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42372
};
42373
42374
class
messageViewer
;
42375
42379
class
messageViewers
final :
public
Object
{
42384
std::int32_t get_id()
const
final
{
42385
return
ID
;
42386
}
42387
42388
public
:
42390
array<object_ptr<messageViewer>
>
viewers_
;
42391
42395
messageViewers
();
42396
42402
explicit
messageViewers
(
array
<
object_ptr<messageViewer>
> &&
viewers_
);
42403
42405
static
const
std::int32_t
ID
= 2116480287;
42406
42412
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42413
};
42414
42415
class
message
;
42416
42420
class
messages
final :
public
Object
{
42425
std::int32_t get_id()
const
final
{
42426
return
ID
;
42427
}
42428
42429
public
:
42431
int32
total_count_
;
42433
array<object_ptr<message>
>
messages_
;
42434
42438
messages
();
42439
42446
messages
(
int32
total_count_
,
array
<
object_ptr<message>
> &&
messages_
);
42447
42449
static
const
std::int32_t
ID
= -16498159;
42450
42456
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42457
};
42458
42462
class
minithumbnail
final :
public
Object
{
42467
std::int32_t get_id()
const
final
{
42468
return
ID
;
42469
}
42470
42471
public
:
42473
int32
width_
;
42475
int32
height_
;
42477
bytes
data_
;
42478
42482
minithumbnail
();
42483
42491
minithumbnail
(
int32
width_
,
int32
height_
,
bytes
const
&
data_
);
42492
42494
static
const
std::int32_t
ID
= -328540758;
42495
42501
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42502
};
42503
42504
class
NetworkStatisticsEntry
;
42505
42509
class
networkStatistics
final :
public
Object
{
42514
std::int32_t get_id()
const
final
{
42515
return
ID
;
42516
}
42517
42518
public
:
42520
int32
since_date_
;
42522
array<object_ptr<NetworkStatisticsEntry>
>
entries_
;
42523
42527
networkStatistics
();
42528
42535
networkStatistics
(
int32
since_date_
,
array
<
object_ptr<NetworkStatisticsEntry>
> &&
entries_
);
42536
42538
static
const
std::int32_t
ID
= 1615554212;
42539
42545
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42546
};
42547
42548
class
FileType
;
42549
42550
class
NetworkType
;
42551
42556
class
NetworkStatisticsEntry
:
public
Object
{
42557
public
:
42558
};
42559
42563
class
networkStatisticsEntryFile
final :
public
NetworkStatisticsEntry
{
42568
std::int32_t get_id()
const
final
{
42569
return
ID
;
42570
}
42571
42572
public
:
42574
object_ptr<FileType>
file_type_
;
42576
object_ptr<NetworkType>
network_type_
;
42578
int53
sent_bytes_
;
42580
int53
received_bytes_
;
42581
42585
networkStatisticsEntryFile
();
42586
42595
networkStatisticsEntryFile
(
object_ptr<FileType>
&&
file_type_
,
object_ptr<NetworkType>
&&
network_type_
,
int53
sent_bytes_
,
int53
received_bytes_
);
42596
42598
static
const
std::int32_t
ID
= 188452706;
42599
42605
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42606
};
42607
42611
class
networkStatisticsEntryCall
final :
public
NetworkStatisticsEntry
{
42616
std::int32_t get_id()
const
final
{
42617
return
ID
;
42618
}
42619
42620
public
:
42622
object_ptr<NetworkType>
network_type_
;
42624
int53
sent_bytes_
;
42626
int53
received_bytes_
;
42628
double
duration_
;
42629
42633
networkStatisticsEntryCall
();
42634
42643
networkStatisticsEntryCall
(
object_ptr<NetworkType>
&&
network_type_
,
int53
sent_bytes_
,
int53
received_bytes_
,
double
duration_
);
42644
42646
static
const
std::int32_t
ID
= 737000365;
42647
42653
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42654
};
42655
42660
class
NetworkType
:
public
Object
{
42661
public
:
42662
};
42663
42667
class
networkTypeNone
final :
public
NetworkType
{
42672
std::int32_t get_id()
const
final
{
42673
return
ID
;
42674
}
42675
42676
public
:
42677
42681
networkTypeNone
();
42682
42684
static
const
std::int32_t
ID
= -1971691759;
42685
42691
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42692
};
42693
42697
class
networkTypeMobile
final :
public
NetworkType
{
42702
std::int32_t get_id()
const
final
{
42703
return
ID
;
42704
}
42705
42706
public
:
42707
42711
networkTypeMobile
();
42712
42714
static
const
std::int32_t
ID
= 819228239;
42715
42721
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42722
};
42723
42727
class
networkTypeMobileRoaming
final :
public
NetworkType
{
42732
std::int32_t get_id()
const
final
{
42733
return
ID
;
42734
}
42735
42736
public
:
42737
42741
networkTypeMobileRoaming
();
42742
42744
static
const
std::int32_t
ID
= -1435199760;
42745
42751
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42752
};
42753
42757
class
networkTypeWiFi
final :
public
NetworkType
{
42762
std::int32_t get_id()
const
final
{
42763
return
ID
;
42764
}
42765
42766
public
:
42767
42771
networkTypeWiFi
();
42772
42774
static
const
std::int32_t
ID
= -633872070;
42775
42781
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42782
};
42783
42787
class
networkTypeOther
final :
public
NetworkType
{
42792
std::int32_t get_id()
const
final
{
42793
return
ID
;
42794
}
42795
42796
public
:
42797
42801
networkTypeOther
();
42802
42804
static
const
std::int32_t
ID
= 1942128539;
42805
42811
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42812
};
42813
42817
class
newChatPrivacySettings
final :
public
Object
{
42822
std::int32_t get_id()
const
final
{
42823
return
ID
;
42824
}
42825
42826
public
:
42828
bool
allow_new_chats_from_unknown_users_
;
42830
int53
incoming_paid_message_star_count_
;
42831
42835
newChatPrivacySettings
();
42836
42843
newChatPrivacySettings
(
bool
allow_new_chats_from_unknown_users_
,
int53
incoming_paid_message_star_count_
);
42844
42846
static
const
std::int32_t
ID
= 123716192;
42847
42853
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42854
};
42855
42856
class
NotificationType
;
42857
42861
class
notification
final :
public
Object
{
42866
std::int32_t get_id()
const
final
{
42867
return
ID
;
42868
}
42869
42870
public
:
42872
int32
id_
;
42874
int32
date_
;
42876
bool
is_silent_
;
42878
object_ptr<NotificationType>
type_
;
42879
42883
notification
();
42884
42893
notification
(
int32
id_
,
int32
date_
,
bool
is_silent_
,
object_ptr<NotificationType>
&&
type_
);
42894
42896
static
const
std::int32_t
ID
= 788743120;
42897
42903
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42904
};
42905
42906
class
NotificationGroupType
;
42907
42908
class
notification
;
42909
42913
class
notificationGroup
final :
public
Object
{
42918
std::int32_t get_id()
const
final
{
42919
return
ID
;
42920
}
42921
42922
public
:
42924
int32
id_
;
42926
object_ptr<NotificationGroupType>
type_
;
42928
int53
chat_id_
;
42930
int32
total_count_
;
42932
array<object_ptr<notification>
>
notifications_
;
42933
42937
notificationGroup
();
42938
42948
notificationGroup
(
int32
id_
,
object_ptr<NotificationGroupType>
&&
type_
,
int53
chat_id_
,
int32
total_count_
,
array
<
object_ptr<notification>
> &&
notifications_
);
42949
42951
static
const
std::int32_t
ID
= 780691541;
42952
42958
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42959
};
42960
42965
class
NotificationGroupType
:
public
Object
{
42966
public
:
42967
};
42968
42972
class
notificationGroupTypeMessages
final :
public
NotificationGroupType
{
42977
std::int32_t get_id()
const
final
{
42978
return
ID
;
42979
}
42980
42981
public
:
42982
42986
notificationGroupTypeMessages
();
42987
42989
static
const
std::int32_t
ID
= -1702481123;
42990
42996
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42997
};
42998
43002
class
notificationGroupTypeMentions
final :
public
NotificationGroupType
{
43007
std::int32_t get_id()
const
final
{
43008
return
ID
;
43009
}
43010
43011
public
:
43012
43016
notificationGroupTypeMentions
();
43017
43019
static
const
std::int32_t
ID
= -2050324051;
43020
43026
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43027
};
43028
43032
class
notificationGroupTypeSecretChat
final :
public
NotificationGroupType
{
43037
std::int32_t get_id()
const
final
{
43038
return
ID
;
43039
}
43040
43041
public
:
43042
43046
notificationGroupTypeSecretChat
();
43047
43049
static
const
std::int32_t
ID
= 1390759476;
43050
43056
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43057
};
43058
43062
class
notificationGroupTypeCalls
final :
public
NotificationGroupType
{
43067
std::int32_t get_id()
const
final
{
43068
return
ID
;
43069
}
43070
43071
public
:
43072
43076
notificationGroupTypeCalls
();
43077
43079
static
const
std::int32_t
ID
= 1379123538;
43080
43086
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43087
};
43088
43093
class
NotificationSettingsScope
:
public
Object
{
43094
public
:
43095
};
43096
43100
class
notificationSettingsScopePrivateChats
final :
public
NotificationSettingsScope
{
43105
std::int32_t get_id()
const
final
{
43106
return
ID
;
43107
}
43108
43109
public
:
43110
43114
notificationSettingsScopePrivateChats
();
43115
43117
static
const
std::int32_t
ID
= 937446759;
43118
43124
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43125
};
43126
43130
class
notificationSettingsScopeGroupChats
final :
public
NotificationSettingsScope
{
43135
std::int32_t get_id()
const
final
{
43136
return
ID
;
43137
}
43138
43139
public
:
43140
43144
notificationSettingsScopeGroupChats
();
43145
43147
static
const
std::int32_t
ID
= 1212142067;
43148
43154
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43155
};
43156
43160
class
notificationSettingsScopeChannelChats
final :
public
NotificationSettingsScope
{
43165
std::int32_t get_id()
const
final
{
43166
return
ID
;
43167
}
43168
43169
public
:
43170
43174
notificationSettingsScopeChannelChats
();
43175
43177
static
const
std::int32_t
ID
= 548013448;
43178
43184
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43185
};
43186
43187
class
file
;
43188
43192
class
notificationSound
final :
public
Object
{
43197
std::int32_t get_id()
const
final
{
43198
return
ID
;
43199
}
43200
43201
public
:
43203
int64
id_
;
43205
int32
duration_
;
43207
int32
date_
;
43209
string
title_
;
43211
string
data_
;
43213
object_ptr<file>
sound_
;
43214
43218
notificationSound
();
43219
43230
notificationSound
(
int64
id_
,
int32
duration_
,
int32
date_
,
string
const
&
title_
,
string
const
&
data_
,
object_ptr<file>
&&
sound_
);
43231
43233
static
const
std::int32_t
ID
= -185638601;
43234
43240
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43241
};
43242
43243
class
notificationSound
;
43244
43248
class
notificationSounds
final :
public
Object
{
43253
std::int32_t get_id()
const
final
{
43254
return
ID
;
43255
}
43256
43257
public
:
43259
array<object_ptr<notificationSound>
>
notification_sounds_
;
43260
43264
notificationSounds
();
43265
43271
explicit
notificationSounds
(
array
<
object_ptr<notificationSound>
> &&
notification_sounds_
);
43272
43274
static
const
std::int32_t
ID
= -630813169;
43275
43281
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43282
};
43283
43284
class
MessageSender
;
43285
43286
class
PushMessageContent
;
43287
43288
class
message
;
43289
43294
class
NotificationType
:
public
Object
{
43295
public
:
43296
};
43297
43301
class
notificationTypeNewMessage
final :
public
NotificationType
{
43306
std::int32_t get_id()
const
final
{
43307
return
ID
;
43308
}
43309
43310
public
:
43312
object_ptr<message>
message_
;
43314
bool
show_preview_
;
43315
43319
notificationTypeNewMessage
();
43320
43327
notificationTypeNewMessage
(
object_ptr<message>
&&
message_
,
bool
show_preview_
);
43328
43330
static
const
std::int32_t
ID
= -254745614;
43331
43337
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43338
};
43339
43343
class
notificationTypeNewSecretChat
final :
public
NotificationType
{
43348
std::int32_t get_id()
const
final
{
43349
return
ID
;
43350
}
43351
43352
public
:
43353
43357
notificationTypeNewSecretChat
();
43358
43360
static
const
std::int32_t
ID
= 1198638768;
43361
43367
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43368
};
43369
43373
class
notificationTypeNewCall
final :
public
NotificationType
{
43378
std::int32_t get_id()
const
final
{
43379
return
ID
;
43380
}
43381
43382
public
:
43384
int32
call_id_
;
43385
43389
notificationTypeNewCall
();
43390
43396
explicit
notificationTypeNewCall
(
int32
call_id_
);
43397
43399
static
const
std::int32_t
ID
= 1712734585;
43400
43406
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43407
};
43408
43412
class
notificationTypeNewPushMessage
final :
public
NotificationType
{
43417
std::int32_t get_id()
const
final
{
43418
return
ID
;
43419
}
43420
43421
public
:
43423
int53
message_id_
;
43425
object_ptr<MessageSender>
sender_id_
;
43427
string
sender_name_
;
43429
bool
is_outgoing_
;
43431
object_ptr<PushMessageContent>
content_
;
43432
43436
notificationTypeNewPushMessage
();
43437
43447
notificationTypeNewPushMessage
(
int53
message_id_
,
object_ptr<MessageSender>
&&
sender_id_
,
string
const
&
sender_name_
,
bool
is_outgoing_
,
object_ptr<PushMessageContent>
&&
content_
);
43448
43450
static
const
std::int32_t
ID
= -711680462;
43451
43457
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43458
};
43459
43463
class
ok
final :
public
Object
{
43468
std::int32_t get_id()
const
final
{
43469
return
ID
;
43470
}
43471
43472
public
:
43473
43477
ok
();
43478
43480
static
const
std::int32_t
ID
= -722616727;
43481
43487
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43488
};
43489
43494
class
OptionValue
:
public
Object
{
43495
public
:
43496
};
43497
43501
class
optionValueBoolean
final :
public
OptionValue
{
43506
std::int32_t get_id()
const
final
{
43507
return
ID
;
43508
}
43509
43510
public
:
43512
bool
value_
;
43513
43517
optionValueBoolean
();
43518
43524
explicit
optionValueBoolean
(
bool
value_
);
43525
43527
static
const
std::int32_t
ID
= 63135518;
43528
43534
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43535
};
43536
43540
class
optionValueEmpty
final :
public
OptionValue
{
43545
std::int32_t get_id()
const
final
{
43546
return
ID
;
43547
}
43548
43549
public
:
43550
43554
optionValueEmpty
();
43555
43557
static
const
std::int32_t
ID
= 918955155;
43558
43564
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43565
};
43566
43570
class
optionValueInteger
final :
public
OptionValue
{
43575
std::int32_t get_id()
const
final
{
43576
return
ID
;
43577
}
43578
43579
public
:
43581
int64
value_
;
43582
43586
optionValueInteger
();
43587
43593
explicit
optionValueInteger
(
int64
value_
);
43594
43596
static
const
std::int32_t
ID
= -186858780;
43597
43603
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43604
};
43605
43609
class
optionValueString
final :
public
OptionValue
{
43614
std::int32_t get_id()
const
final
{
43615
return
ID
;
43616
}
43617
43618
public
:
43620
string
value_
;
43621
43625
optionValueString
();
43626
43632
explicit
optionValueString
(
string
const
&
value_
);
43633
43635
static
const
std::int32_t
ID
= 756248212;
43636
43642
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43643
};
43644
43645
class
address
;
43646
43650
class
orderInfo
final :
public
Object
{
43655
std::int32_t get_id()
const
final
{
43656
return
ID
;
43657
}
43658
43659
public
:
43661
string
name_
;
43663
string
phone_number_
;
43665
string
email_address_
;
43667
object_ptr<address>
shipping_address_
;
43668
43672
orderInfo
();
43673
43682
orderInfo
(
string
const
&
name_
,
string
const
&
phone_number_
,
string
const
&
email_address_
,
object_ptr<address>
&&
shipping_address_
);
43683
43685
static
const
std::int32_t
ID
= 783997294;
43686
43692
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43693
};
43694
43695
class
closedVectorPath
;
43696
43700
class
outline
final :
public
Object
{
43705
std::int32_t get_id()
const
final
{
43706
return
ID
;
43707
}
43708
43709
public
:
43711
array<object_ptr<closedVectorPath>
>
paths_
;
43712
43716
outline
();
43717
43723
explicit
outline
(
array
<
object_ptr<closedVectorPath>
> &&
paths_
);
43724
43726
static
const
std::int32_t
ID
= -161506702;
43727
43733
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43734
};
43735
43736
class
PageBlock
;
43737
43738
class
RichText
;
43739
43740
class
animation
;
43741
43742
class
audio
;
43743
43744
class
chatPhotoInfo
;
43745
43746
class
location
;
43747
43748
class
pageBlockCaption
;
43749
43750
class
pageBlockListItem
;
43751
43752
class
pageBlockRelatedArticle
;
43753
43754
class
pageBlockTableCell
;
43755
43756
class
photo
;
43757
43758
class
video
;
43759
43760
class
voiceNote
;
43761
43766
class
PageBlock
:
public
Object
{
43767
public
:
43768
};
43769
43773
class
pageBlockTitle
final :
public
PageBlock
{
43778
std::int32_t get_id()
const
final
{
43779
return
ID
;
43780
}
43781
43782
public
:
43784
object_ptr<RichText>
title_
;
43785
43789
pageBlockTitle
();
43790
43796
explicit
pageBlockTitle
(
object_ptr<RichText>
&&
title_
);
43797
43799
static
const
std::int32_t
ID
= 1629664784;
43800
43806
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43807
};
43808
43812
class
pageBlockSubtitle
final :
public
PageBlock
{
43817
std::int32_t get_id()
const
final
{
43818
return
ID
;
43819
}
43820
43821
public
:
43823
object_ptr<RichText>
subtitle_
;
43824
43828
pageBlockSubtitle
();
43829
43835
explicit
pageBlockSubtitle
(
object_ptr<RichText>
&&
subtitle_
);
43836
43838
static
const
std::int32_t
ID
= 264524263;
43839
43845
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43846
};
43847
43851
class
pageBlockAuthorDate
final :
public
PageBlock
{
43856
std::int32_t get_id()
const
final
{
43857
return
ID
;
43858
}
43859
43860
public
:
43862
object_ptr<RichText>
author_
;
43864
int32
publish_date_
;
43865
43869
pageBlockAuthorDate
();
43870
43877
pageBlockAuthorDate
(
object_ptr<RichText>
&&
author_
,
int32
publish_date_
);
43878
43880
static
const
std::int32_t
ID
= 1300231184;
43881
43887
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43888
};
43889
43893
class
pageBlockHeader
final :
public
PageBlock
{
43898
std::int32_t get_id()
const
final
{
43899
return
ID
;
43900
}
43901
43902
public
:
43904
object_ptr<RichText>
header_
;
43905
43909
pageBlockHeader
();
43910
43916
explicit
pageBlockHeader
(
object_ptr<RichText>
&&
header_
);
43917
43919
static
const
std::int32_t
ID
= 1402854811;
43920
43926
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43927
};
43928
43932
class
pageBlockSubheader
final :
public
PageBlock
{
43937
std::int32_t get_id()
const
final
{
43938
return
ID
;
43939
}
43940
43941
public
:
43943
object_ptr<RichText>
subheader_
;
43944
43948
pageBlockSubheader
();
43949
43955
explicit
pageBlockSubheader
(
object_ptr<RichText>
&&
subheader_
);
43956
43958
static
const
std::int32_t
ID
= 1263956774;
43959
43965
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43966
};
43967
43971
class
pageBlockKicker
final :
public
PageBlock
{
43976
std::int32_t get_id()
const
final
{
43977
return
ID
;
43978
}
43979
43980
public
:
43982
object_ptr<RichText>
kicker_
;
43983
43987
pageBlockKicker
();
43988
43994
explicit
pageBlockKicker
(
object_ptr<RichText>
&&
kicker_
);
43995
43997
static
const
std::int32_t
ID
= 1361282635;
43998
44004
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44005
};
44006
44010
class
pageBlockParagraph
final :
public
PageBlock
{
44015
std::int32_t get_id()
const
final
{
44016
return
ID
;
44017
}
44018
44019
public
:
44021
object_ptr<RichText>
text_
;
44022
44026
pageBlockParagraph
();
44027
44033
explicit
pageBlockParagraph
(
object_ptr<RichText>
&&
text_
);
44034
44036
static
const
std::int32_t
ID
= 1182402406;
44037
44043
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44044
};
44045
44049
class
pageBlockPreformatted
final :
public
PageBlock
{
44054
std::int32_t get_id()
const
final
{
44055
return
ID
;
44056
}
44057
44058
public
:
44060
object_ptr<RichText>
text_
;
44062
string
language_
;
44063
44067
pageBlockPreformatted
();
44068
44075
pageBlockPreformatted
(
object_ptr<RichText>
&&
text_
,
string
const
&
language_
);
44076
44078
static
const
std::int32_t
ID
= -1066346178;
44079
44085
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44086
};
44087
44091
class
pageBlockFooter
final :
public
PageBlock
{
44096
std::int32_t get_id()
const
final
{
44097
return
ID
;
44098
}
44099
44100
public
:
44102
object_ptr<RichText>
footer_
;
44103
44107
pageBlockFooter
();
44108
44114
explicit
pageBlockFooter
(
object_ptr<RichText>
&&
footer_
);
44115
44117
static
const
std::int32_t
ID
= 886429480;
44118
44124
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44125
};
44126
44130
class
pageBlockDivider
final :
public
PageBlock
{
44135
std::int32_t get_id()
const
final
{
44136
return
ID
;
44137
}
44138
44139
public
:
44140
44144
pageBlockDivider
();
44145
44147
static
const
std::int32_t
ID
= -618614392;
44148
44154
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44155
};
44156
44160
class
pageBlockAnchor
final :
public
PageBlock
{
44165
std::int32_t get_id()
const
final
{
44166
return
ID
;
44167
}
44168
44169
public
:
44171
string
name_
;
44172
44176
pageBlockAnchor
();
44177
44183
explicit
pageBlockAnchor
(
string
const
&
name_
);
44184
44186
static
const
std::int32_t
ID
= -837994576;
44187
44193
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44194
};
44195
44199
class
pageBlockList
final :
public
PageBlock
{
44204
std::int32_t get_id()
const
final
{
44205
return
ID
;
44206
}
44207
44208
public
:
44210
array<object_ptr<pageBlockListItem>
>
items_
;
44211
44215
pageBlockList
();
44216
44222
explicit
pageBlockList
(
array
<
object_ptr<pageBlockListItem>
> &&
items_
);
44223
44225
static
const
std::int32_t
ID
= -1037074852;
44226
44232
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44233
};
44234
44238
class
pageBlockBlockQuote
final :
public
PageBlock
{
44243
std::int32_t get_id()
const
final
{
44244
return
ID
;
44245
}
44246
44247
public
:
44249
object_ptr<RichText>
text_
;
44251
object_ptr<RichText>
credit_
;
44252
44256
pageBlockBlockQuote
();
44257
44264
pageBlockBlockQuote
(
object_ptr<RichText>
&&
text_
,
object_ptr<RichText>
&&
credit_
);
44265
44267
static
const
std::int32_t
ID
= 1657834142;
44268
44274
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44275
};
44276
44280
class
pageBlockPullQuote
final :
public
PageBlock
{
44285
std::int32_t get_id()
const
final
{
44286
return
ID
;
44287
}
44288
44289
public
:
44291
object_ptr<RichText>
text_
;
44293
object_ptr<RichText>
credit_
;
44294
44298
pageBlockPullQuote
();
44299
44306
pageBlockPullQuote
(
object_ptr<RichText>
&&
text_
,
object_ptr<RichText>
&&
credit_
);
44307
44309
static
const
std::int32_t
ID
= 490242317;
44310
44316
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44317
};
44318
44322
class
pageBlockAnimation
final :
public
PageBlock
{
44327
std::int32_t get_id()
const
final
{
44328
return
ID
;
44329
}
44330
44331
public
:
44333
object_ptr<animation>
animation_
;
44335
object_ptr<pageBlockCaption>
caption_
;
44337
bool
need_autoplay_
;
44338
44342
pageBlockAnimation
();
44343
44351
pageBlockAnimation
(
object_ptr<animation>
&&
animation_
,
object_ptr<pageBlockCaption>
&&
caption_
,
bool
need_autoplay_
);
44352
44354
static
const
std::int32_t
ID
= 1355669513;
44355
44361
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44362
};
44363
44367
class
pageBlockAudio
final :
public
PageBlock
{
44372
std::int32_t get_id()
const
final
{
44373
return
ID
;
44374
}
44375
44376
public
:
44378
object_ptr<audio>
audio_
;
44380
object_ptr<pageBlockCaption>
caption_
;
44381
44385
pageBlockAudio
();
44386
44393
pageBlockAudio
(
object_ptr<audio>
&&
audio_
,
object_ptr<pageBlockCaption>
&&
caption_
);
44394
44396
static
const
std::int32_t
ID
= -63371245;
44397
44403
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44404
};
44405
44409
class
pageBlockPhoto
final :
public
PageBlock
{
44414
std::int32_t get_id()
const
final
{
44415
return
ID
;
44416
}
44417
44418
public
:
44420
object_ptr<photo>
photo_
;
44422
object_ptr<pageBlockCaption>
caption_
;
44424
string
url_
;
44425
44429
pageBlockPhoto
();
44430
44438
pageBlockPhoto
(
object_ptr<photo>
&&
photo_
,
object_ptr<pageBlockCaption>
&&
caption_
,
string
const
&
url_
);
44439
44441
static
const
std::int32_t
ID
= 417601156;
44442
44448
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44449
};
44450
44454
class
pageBlockVideo
final :
public
PageBlock
{
44459
std::int32_t get_id()
const
final
{
44460
return
ID
;
44461
}
44462
44463
public
:
44465
object_ptr<video>
video_
;
44467
object_ptr<pageBlockCaption>
caption_
;
44469
bool
need_autoplay_
;
44471
bool
is_looped_
;
44472
44476
pageBlockVideo
();
44477
44486
pageBlockVideo
(
object_ptr<video>
&&
video_
,
object_ptr<pageBlockCaption>
&&
caption_
,
bool
need_autoplay_
,
bool
is_looped_
);
44487
44489
static
const
std::int32_t
ID
= 510041394;
44490
44496
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44497
};
44498
44502
class
pageBlockVoiceNote
final :
public
PageBlock
{
44507
std::int32_t get_id()
const
final
{
44508
return
ID
;
44509
}
44510
44511
public
:
44513
object_ptr<voiceNote>
voice_note_
;
44515
object_ptr<pageBlockCaption>
caption_
;
44516
44520
pageBlockVoiceNote
();
44521
44528
pageBlockVoiceNote
(
object_ptr<voiceNote>
&&
voice_note_
,
object_ptr<pageBlockCaption>
&&
caption_
);
44529
44531
static
const
std::int32_t
ID
= 1823310463;
44532
44538
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44539
};
44540
44544
class
pageBlockCover
final :
public
PageBlock
{
44549
std::int32_t get_id()
const
final
{
44550
return
ID
;
44551
}
44552
44553
public
:
44555
object_ptr<PageBlock>
cover_
;
44556
44560
pageBlockCover
();
44561
44567
explicit
pageBlockCover
(
object_ptr<PageBlock>
&&
cover_
);
44568
44570
static
const
std::int32_t
ID
= 972174080;
44571
44577
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44578
};
44579
44583
class
pageBlockEmbedded
final :
public
PageBlock
{
44588
std::int32_t get_id()
const
final
{
44589
return
ID
;
44590
}
44591
44592
public
:
44594
string
url_
;
44596
string
html_
;
44598
object_ptr<photo>
poster_photo_
;
44600
int32
width_
;
44602
int32
height_
;
44604
object_ptr<pageBlockCaption>
caption_
;
44606
bool
is_full_width_
;
44608
bool
allow_scrolling_
;
44609
44613
pageBlockEmbedded
();
44614
44627
pageBlockEmbedded
(
string
const
&
url_
,
string
const
&
html_
,
object_ptr<photo>
&&
poster_photo_
,
int32
width_
,
int32
height_
,
object_ptr<pageBlockCaption>
&&
caption_
,
bool
is_full_width_
,
bool
allow_scrolling_
);
44628
44630
static
const
std::int32_t
ID
= -1942577763;
44631
44637
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44638
};
44639
44643
class
pageBlockEmbeddedPost
final :
public
PageBlock
{
44648
std::int32_t get_id()
const
final
{
44649
return
ID
;
44650
}
44651
44652
public
:
44654
string
url_
;
44656
string
author_
;
44658
object_ptr<photo>
author_photo_
;
44660
int32
date_
;
44662
array<object_ptr<PageBlock>
>
page_blocks_
;
44664
object_ptr<pageBlockCaption>
caption_
;
44665
44669
pageBlockEmbeddedPost
();
44670
44681
pageBlockEmbeddedPost
(
string
const
&
url_
,
string
const
&
author_
,
object_ptr<photo>
&&
author_photo_
,
int32
date_
,
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
object_ptr<pageBlockCaption>
&&
caption_
);
44682
44684
static
const
std::int32_t
ID
= 397600949;
44685
44691
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44692
};
44693
44697
class
pageBlockCollage
final :
public
PageBlock
{
44702
std::int32_t get_id()
const
final
{
44703
return
ID
;
44704
}
44705
44706
public
:
44708
array<object_ptr<PageBlock>
>
page_blocks_
;
44710
object_ptr<pageBlockCaption>
caption_
;
44711
44715
pageBlockCollage
();
44716
44723
pageBlockCollage
(
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
object_ptr<pageBlockCaption>
&&
caption_
);
44724
44726
static
const
std::int32_t
ID
= 1163760110;
44727
44733
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44734
};
44735
44739
class
pageBlockSlideshow
final :
public
PageBlock
{
44744
std::int32_t get_id()
const
final
{
44745
return
ID
;
44746
}
44747
44748
public
:
44750
array<object_ptr<PageBlock>
>
page_blocks_
;
44752
object_ptr<pageBlockCaption>
caption_
;
44753
44757
pageBlockSlideshow
();
44758
44765
pageBlockSlideshow
(
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
object_ptr<pageBlockCaption>
&&
caption_
);
44766
44768
static
const
std::int32_t
ID
= 539217375;
44769
44775
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44776
};
44777
44781
class
pageBlockChatLink
final :
public
PageBlock
{
44786
std::int32_t get_id()
const
final
{
44787
return
ID
;
44788
}
44789
44790
public
:
44792
string
title_
;
44794
object_ptr<chatPhotoInfo>
photo_
;
44796
int32
accent_color_id_
;
44798
string
username_
;
44799
44803
pageBlockChatLink
();
44804
44813
pageBlockChatLink
(
string
const
&
title_
,
object_ptr<chatPhotoInfo>
&&
photo_
,
int32
accent_color_id_
,
string
const
&
username_
);
44814
44816
static
const
std::int32_t
ID
= 1646188731;
44817
44823
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44824
};
44825
44829
class
pageBlockTable
final :
public
PageBlock
{
44834
std::int32_t get_id()
const
final
{
44835
return
ID
;
44836
}
44837
44838
public
:
44840
object_ptr<RichText>
caption_
;
44842
array<array<object_ptr<pageBlockTableCell>
>>
cells_
;
44844
bool
is_bordered_
;
44846
bool
is_striped_
;
44847
44851
pageBlockTable
();
44852
44861
pageBlockTable
(
object_ptr<RichText>
&&
caption_
,
array
<
array
<
object_ptr<pageBlockTableCell>
>> &&
cells_
,
bool
is_bordered_
,
bool
is_striped_
);
44862
44864
static
const
std::int32_t
ID
= -942649288;
44865
44871
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44872
};
44873
44877
class
pageBlockDetails
final :
public
PageBlock
{
44882
std::int32_t get_id()
const
final
{
44883
return
ID
;
44884
}
44885
44886
public
:
44888
object_ptr<RichText>
header_
;
44890
array<object_ptr<PageBlock>
>
page_blocks_
;
44892
bool
is_open_
;
44893
44897
pageBlockDetails
();
44898
44906
pageBlockDetails
(
object_ptr<RichText>
&&
header_
,
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
bool
is_open_
);
44907
44909
static
const
std::int32_t
ID
= -1599869809;
44910
44916
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44917
};
44918
44922
class
pageBlockRelatedArticles
final :
public
PageBlock
{
44927
std::int32_t get_id()
const
final
{
44928
return
ID
;
44929
}
44930
44931
public
:
44933
object_ptr<RichText>
header_
;
44935
array<object_ptr<pageBlockRelatedArticle>
>
articles_
;
44936
44940
pageBlockRelatedArticles
();
44941
44948
pageBlockRelatedArticles
(
object_ptr<RichText>
&&
header_
,
array
<
object_ptr<pageBlockRelatedArticle>
> &&
articles_
);
44949
44951
static
const
std::int32_t
ID
= -1807324374;
44952
44958
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44959
};
44960
44964
class
pageBlockMap
final :
public
PageBlock
{
44969
std::int32_t get_id()
const
final
{
44970
return
ID
;
44971
}
44972
44973
public
:
44975
object_ptr<location>
location_
;
44977
int32
zoom_
;
44979
int32
width_
;
44981
int32
height_
;
44983
object_ptr<pageBlockCaption>
caption_
;
44984
44988
pageBlockMap
();
44989
44999
pageBlockMap
(
object_ptr<location>
&&
location_
,
int32
zoom_
,
int32
width_
,
int32
height_
,
object_ptr<pageBlockCaption>
&&
caption_
);
45000
45002
static
const
std::int32_t
ID
= 1510961171;
45003
45009
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45010
};
45011
45012
class
RichText
;
45013
45017
class
pageBlockCaption
final :
public
Object
{
45022
std::int32_t get_id()
const
final
{
45023
return
ID
;
45024
}
45025
45026
public
:
45028
object_ptr<RichText>
text_
;
45030
object_ptr<RichText>
credit_
;
45031
45035
pageBlockCaption
();
45036
45043
pageBlockCaption
(
object_ptr<RichText>
&&
text_
,
object_ptr<RichText>
&&
credit_
);
45044
45046
static
const
std::int32_t
ID
= -1180064650;
45047
45053
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45054
};
45055
45060
class
PageBlockHorizontalAlignment
:
public
Object
{
45061
public
:
45062
};
45063
45067
class
pageBlockHorizontalAlignmentLeft
final :
public
PageBlockHorizontalAlignment
{
45072
std::int32_t get_id()
const
final
{
45073
return
ID
;
45074
}
45075
45076
public
:
45077
45081
pageBlockHorizontalAlignmentLeft
();
45082
45084
static
const
std::int32_t
ID
= 848701417;
45085
45091
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45092
};
45093
45097
class
pageBlockHorizontalAlignmentCenter
final :
public
PageBlockHorizontalAlignment
{
45102
std::int32_t get_id()
const
final
{
45103
return
ID
;
45104
}
45105
45106
public
:
45107
45111
pageBlockHorizontalAlignmentCenter
();
45112
45114
static
const
std::int32_t
ID
= -1009203990;
45115
45121
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45122
};
45123
45127
class
pageBlockHorizontalAlignmentRight
final :
public
PageBlockHorizontalAlignment
{
45132
std::int32_t get_id()
const
final
{
45133
return
ID
;
45134
}
45135
45136
public
:
45137
45141
pageBlockHorizontalAlignmentRight
();
45142
45144
static
const
std::int32_t
ID
= 1371369214;
45145
45151
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45152
};
45153
45154
class
PageBlock
;
45155
45159
class
pageBlockListItem
final :
public
Object
{
45164
std::int32_t get_id()
const
final
{
45165
return
ID
;
45166
}
45167
45168
public
:
45170
string
label_
;
45172
array<object_ptr<PageBlock>
>
page_blocks_
;
45173
45177
pageBlockListItem
();
45178
45185
pageBlockListItem
(
string
const
&
label_
,
array
<
object_ptr<PageBlock>
> &&
page_blocks_
);
45186
45188
static
const
std::int32_t
ID
= 323186259;
45189
45195
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45196
};
45197
45198
class
photo
;
45199
45203
class
pageBlockRelatedArticle
final :
public
Object
{
45208
std::int32_t get_id()
const
final
{
45209
return
ID
;
45210
}
45211
45212
public
:
45214
string
url_
;
45216
string
title_
;
45218
string
description_
;
45220
object_ptr<photo>
photo_
;
45222
string
author_
;
45224
int32
publish_date_
;
45225
45229
pageBlockRelatedArticle
();
45230
45241
pageBlockRelatedArticle
(
string
const
&
url_
,
string
const
&
title_
,
string
const
&
description_
,
object_ptr<photo>
&&
photo_
,
string
const
&
author_
,
int32
publish_date_
);
45242
45244
static
const
std::int32_t
ID
= 481199251;
45245
45251
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45252
};
45253
45254
class
PageBlockHorizontalAlignment
;
45255
45256
class
PageBlockVerticalAlignment
;
45257
45258
class
RichText
;
45259
45263
class
pageBlockTableCell
final :
public
Object
{
45268
std::int32_t get_id()
const
final
{
45269
return
ID
;
45270
}
45271
45272
public
:
45274
object_ptr<RichText>
text_
;
45276
bool
is_header_
;
45278
int32
colspan_
;
45280
int32
rowspan_
;
45282
object_ptr<PageBlockHorizontalAlignment>
align_
;
45284
object_ptr<PageBlockVerticalAlignment>
valign_
;
45285
45289
pageBlockTableCell
();
45290
45301
pageBlockTableCell
(
object_ptr<RichText>
&&
text_
,
bool
is_header_
,
int32
colspan_
,
int32
rowspan_
,
object_ptr<PageBlockHorizontalAlignment>
&&
align_
,
object_ptr<PageBlockVerticalAlignment>
&&
valign_
);
45302
45304
static
const
std::int32_t
ID
= 1417658214;
45305
45311
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45312
};
45313
45318
class
PageBlockVerticalAlignment
:
public
Object
{
45319
public
:
45320
};
45321
45325
class
pageBlockVerticalAlignmentTop
final :
public
PageBlockVerticalAlignment
{
45330
std::int32_t get_id()
const
final
{
45331
return
ID
;
45332
}
45333
45334
public
:
45335
45339
pageBlockVerticalAlignmentTop
();
45340
45342
static
const
std::int32_t
ID
= 195500454;
45343
45349
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45350
};
45351
45355
class
pageBlockVerticalAlignmentMiddle
final :
public
PageBlockVerticalAlignment
{
45360
std::int32_t get_id()
const
final
{
45361
return
ID
;
45362
}
45363
45364
public
:
45365
45369
pageBlockVerticalAlignmentMiddle
();
45370
45372
static
const
std::int32_t
ID
= -2123096587;
45373
45379
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45380
};
45381
45385
class
pageBlockVerticalAlignmentBottom
final :
public
PageBlockVerticalAlignment
{
45390
std::int32_t get_id()
const
final
{
45391
return
ID
;
45392
}
45393
45394
public
:
45395
45399
pageBlockVerticalAlignmentBottom
();
45400
45402
static
const
std::int32_t
ID
= 2092531158;
45403
45409
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45410
};
45411
45412
class
minithumbnail
;
45413
45414
class
photo
;
45415
45416
class
video
;
45417
45422
class
PaidMedia
:
public
Object
{
45423
public
:
45424
};
45425
45429
class
paidMediaPreview
final :
public
PaidMedia
{
45434
std::int32_t get_id()
const
final
{
45435
return
ID
;
45436
}
45437
45438
public
:
45440
int32
width_
;
45442
int32
height_
;
45444
int32
duration_
;
45446
object_ptr<minithumbnail>
minithumbnail_
;
45447
45451
paidMediaPreview
();
45452
45461
paidMediaPreview
(
int32
width_
,
int32
height_
,
int32
duration_
,
object_ptr<minithumbnail>
&&
minithumbnail_
);
45462
45464
static
const
std::int32_t
ID
= -1128151948;
45465
45471
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45472
};
45473
45477
class
paidMediaPhoto
final :
public
PaidMedia
{
45482
std::int32_t get_id()
const
final
{
45483
return
ID
;
45484
}
45485
45486
public
:
45488
object_ptr<photo>
photo_
;
45489
45493
paidMediaPhoto
();
45494
45500
explicit
paidMediaPhoto
(
object_ptr<photo>
&&
photo_
);
45501
45503
static
const
std::int32_t
ID
= -1165863654;
45504
45510
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45511
};
45512
45516
class
paidMediaVideo
final :
public
PaidMedia
{
45521
std::int32_t get_id()
const
final
{
45522
return
ID
;
45523
}
45524
45525
public
:
45527
object_ptr<video>
video_
;
45529
object_ptr<photo>
cover_
;
45531
int32
start_timestamp_
;
45532
45536
paidMediaVideo
();
45537
45545
paidMediaVideo
(
object_ptr<video>
&&
video_
,
object_ptr<photo>
&&
cover_
,
int32
start_timestamp_
);
45546
45548
static
const
std::int32_t
ID
= 870838318;
45549
45555
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45556
};
45557
45561
class
paidMediaUnsupported
final :
public
PaidMedia
{
45566
std::int32_t get_id()
const
final
{
45567
return
ID
;
45568
}
45569
45570
public
:
45571
45575
paidMediaUnsupported
();
45576
45578
static
const
std::int32_t
ID
= 112999974;
45579
45585
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45586
};
45587
45592
class
PaidReactionType
:
public
Object
{
45593
public
:
45594
};
45595
45599
class
paidReactionTypeRegular
final :
public
PaidReactionType
{
45604
std::int32_t get_id()
const
final
{
45605
return
ID
;
45606
}
45607
45608
public
:
45609
45613
paidReactionTypeRegular
();
45614
45616
static
const
std::int32_t
ID
= -1199187333;
45617
45623
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45624
};
45625
45629
class
paidReactionTypeAnonymous
final :
public
PaidReactionType
{
45634
std::int32_t get_id()
const
final
{
45635
return
ID
;
45636
}
45637
45638
public
:
45639
45643
paidReactionTypeAnonymous
();
45644
45646
static
const
std::int32_t
ID
= 47892621;
45647
45653
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45654
};
45655
45659
class
paidReactionTypeChat
final :
public
PaidReactionType
{
45664
std::int32_t get_id()
const
final
{
45665
return
ID
;
45666
}
45667
45668
public
:
45670
int53
chat_id_
;
45671
45675
paidReactionTypeChat
();
45676
45682
explicit
paidReactionTypeChat
(
int53
chat_id_
);
45683
45685
static
const
std::int32_t
ID
= -675782044;
45686
45692
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45693
};
45694
45695
class
MessageSender
;
45696
45700
class
paidReactor
final :
public
Object
{
45705
std::int32_t get_id()
const
final
{
45706
return
ID
;
45707
}
45708
45709
public
:
45711
object_ptr<MessageSender>
sender_id_
;
45713
int32
star_count_
;
45715
bool
is_top_
;
45717
bool
is_me_
;
45719
bool
is_anonymous_
;
45720
45724
paidReactor
();
45725
45735
paidReactor
(
object_ptr<MessageSender>
&&
sender_id_
,
int32
star_count_
,
bool
is_top_
,
bool
is_me_
,
bool
is_anonymous_
);
45736
45738
static
const
std::int32_t
ID
= -1657303032;
45739
45745
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45746
};
45747
45748
class
passportRequiredElement
;
45749
45753
class
passportAuthorizationForm
final :
public
Object
{
45758
std::int32_t get_id()
const
final
{
45759
return
ID
;
45760
}
45761
45762
public
:
45764
int32
id_
;
45766
array<object_ptr<passportRequiredElement>
>
required_elements_
;
45768
string
privacy_policy_url_
;
45769
45773
passportAuthorizationForm
();
45774
45782
passportAuthorizationForm
(
int32
id_
,
array
<
object_ptr<passportRequiredElement>
> &&
required_elements_
,
string
const
&
privacy_policy_url_
);
45783
45785
static
const
std::int32_t
ID
= -1070673218;
45786
45792
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45793
};
45794
45795
class
address
;
45796
45797
class
identityDocument
;
45798
45799
class
personalDetails
;
45800
45801
class
personalDocument
;
45802
45807
class
PassportElement
:
public
Object
{
45808
public
:
45809
};
45810
45814
class
passportElementPersonalDetails
final :
public
PassportElement
{
45819
std::int32_t get_id()
const
final
{
45820
return
ID
;
45821
}
45822
45823
public
:
45825
object_ptr<personalDetails>
personal_details_
;
45826
45830
passportElementPersonalDetails
();
45831
45837
explicit
passportElementPersonalDetails
(
object_ptr<personalDetails>
&&
personal_details_
);
45838
45840
static
const
std::int32_t
ID
= 1217724035;
45841
45847
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45848
};
45849
45853
class
passportElementPassport
final :
public
PassportElement
{
45858
std::int32_t get_id()
const
final
{
45859
return
ID
;
45860
}
45861
45862
public
:
45864
object_ptr<identityDocument>
passport_
;
45865
45869
passportElementPassport
();
45870
45876
explicit
passportElementPassport
(
object_ptr<identityDocument>
&&
passport_
);
45877
45879
static
const
std::int32_t
ID
= -263985373;
45880
45886
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45887
};
45888
45892
class
passportElementDriverLicense
final :
public
PassportElement
{
45897
std::int32_t get_id()
const
final
{
45898
return
ID
;
45899
}
45900
45901
public
:
45903
object_ptr<identityDocument>
driver_license_
;
45904
45908
passportElementDriverLicense
();
45909
45915
explicit
passportElementDriverLicense
(
object_ptr<identityDocument>
&&
driver_license_
);
45916
45918
static
const
std::int32_t
ID
= 1643580589;
45919
45925
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45926
};
45927
45931
class
passportElementIdentityCard
final :
public
PassportElement
{
45936
std::int32_t get_id()
const
final
{
45937
return
ID
;
45938
}
45939
45940
public
:
45942
object_ptr<identityDocument>
identity_card_
;
45943
45947
passportElementIdentityCard
();
45948
45954
explicit
passportElementIdentityCard
(
object_ptr<identityDocument>
&&
identity_card_
);
45955
45957
static
const
std::int32_t
ID
= 2083775797;
45958
45964
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45965
};
45966
45970
class
passportElementInternalPassport
final :
public
PassportElement
{
45975
std::int32_t get_id()
const
final
{
45976
return
ID
;
45977
}
45978
45979
public
:
45981
object_ptr<identityDocument>
internal_passport_
;
45982
45986
passportElementInternalPassport
();
45987
45993
explicit
passportElementInternalPassport
(
object_ptr<identityDocument>
&&
internal_passport_
);
45994
45996
static
const
std::int32_t
ID
= 36220295;
45997
46003
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46004
};
46005
46009
class
passportElementAddress
final :
public
PassportElement
{
46014
std::int32_t get_id()
const
final
{
46015
return
ID
;
46016
}
46017
46018
public
:
46020
object_ptr<address>
address_
;
46021
46025
passportElementAddress
();
46026
46032
explicit
passportElementAddress
(
object_ptr<address>
&&
address_
);
46033
46035
static
const
std::int32_t
ID
= -782625232;
46036
46042
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46043
};
46044
46048
class
passportElementUtilityBill
final :
public
PassportElement
{
46053
std::int32_t get_id()
const
final
{
46054
return
ID
;
46055
}
46056
46057
public
:
46059
object_ptr<personalDocument>
utility_bill_
;
46060
46064
passportElementUtilityBill
();
46065
46071
explicit
passportElementUtilityBill
(
object_ptr<personalDocument>
&&
utility_bill_
);
46072
46074
static
const
std::int32_t
ID
= -234611246;
46075
46081
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46082
};
46083
46087
class
passportElementBankStatement
final :
public
PassportElement
{
46092
std::int32_t get_id()
const
final
{
46093
return
ID
;
46094
}
46095
46096
public
:
46098
object_ptr<personalDocument>
bank_statement_
;
46099
46103
passportElementBankStatement
();
46104
46110
explicit
passportElementBankStatement
(
object_ptr<personalDocument>
&&
bank_statement_
);
46111
46113
static
const
std::int32_t
ID
= -366464408;
46114
46120
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46121
};
46122
46126
class
passportElementRentalAgreement
final :
public
PassportElement
{
46131
std::int32_t get_id()
const
final
{
46132
return
ID
;
46133
}
46134
46135
public
:
46137
object_ptr<personalDocument>
rental_agreement_
;
46138
46142
passportElementRentalAgreement
();
46143
46149
explicit
passportElementRentalAgreement
(
object_ptr<personalDocument>
&&
rental_agreement_
);
46150
46152
static
const
std::int32_t
ID
= -290141400;
46153
46159
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46160
};
46161
46165
class
passportElementPassportRegistration
final :
public
PassportElement
{
46170
std::int32_t get_id()
const
final
{
46171
return
ID
;
46172
}
46173
46174
public
:
46176
object_ptr<personalDocument>
passport_registration_
;
46177
46181
passportElementPassportRegistration
();
46182
46188
explicit
passportElementPassportRegistration
(
object_ptr<personalDocument>
&&
passport_registration_
);
46189
46191
static
const
std::int32_t
ID
= 618323071;
46192
46198
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46199
};
46200
46204
class
passportElementTemporaryRegistration
final :
public
PassportElement
{
46209
std::int32_t get_id()
const
final
{
46210
return
ID
;
46211
}
46212
46213
public
:
46215
object_ptr<personalDocument>
temporary_registration_
;
46216
46220
passportElementTemporaryRegistration
();
46221
46227
explicit
passportElementTemporaryRegistration
(
object_ptr<personalDocument>
&&
temporary_registration_
);
46228
46230
static
const
std::int32_t
ID
= 1237626864;
46231
46237
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46238
};
46239
46243
class
passportElementPhoneNumber
final :
public
PassportElement
{
46248
std::int32_t get_id()
const
final
{
46249
return
ID
;
46250
}
46251
46252
public
:
46254
string
phone_number_
;
46255
46259
passportElementPhoneNumber
();
46260
46266
explicit
passportElementPhoneNumber
(
string
const
&
phone_number_
);
46267
46269
static
const
std::int32_t
ID
= -1320118375;
46270
46276
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46277
};
46278
46282
class
passportElementEmailAddress
final :
public
PassportElement
{
46287
std::int32_t get_id()
const
final
{
46288
return
ID
;
46289
}
46290
46291
public
:
46293
string
email_address_
;
46294
46298
passportElementEmailAddress
();
46299
46305
explicit
passportElementEmailAddress
(
string
const
&
email_address_
);
46306
46308
static
const
std::int32_t
ID
= -1528129531;
46309
46315
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46316
};
46317
46318
class
PassportElementErrorSource
;
46319
46320
class
PassportElementType
;
46321
46325
class
passportElementError
final :
public
Object
{
46330
std::int32_t get_id()
const
final
{
46331
return
ID
;
46332
}
46333
46334
public
:
46336
object_ptr<PassportElementType>
type_
;
46338
string
message_
;
46340
object_ptr<PassportElementErrorSource>
source_
;
46341
46345
passportElementError
();
46346
46354
passportElementError
(
object_ptr<PassportElementType>
&&
type_
,
string
const
&
message_
,
object_ptr<PassportElementErrorSource>
&&
source_
);
46355
46357
static
const
std::int32_t
ID
= -1861902395;
46358
46364
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46365
};
46366
46371
class
PassportElementErrorSource
:
public
Object
{
46372
public
:
46373
};
46374
46378
class
passportElementErrorSourceUnspecified
final :
public
PassportElementErrorSource
{
46383
std::int32_t get_id()
const
final
{
46384
return
ID
;
46385
}
46386
46387
public
:
46388
46392
passportElementErrorSourceUnspecified
();
46393
46395
static
const
std::int32_t
ID
= -378320830;
46396
46402
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46403
};
46404
46408
class
passportElementErrorSourceDataField
final :
public
PassportElementErrorSource
{
46413
std::int32_t get_id()
const
final
{
46414
return
ID
;
46415
}
46416
46417
public
:
46419
string
field_name_
;
46420
46424
passportElementErrorSourceDataField
();
46425
46431
explicit
passportElementErrorSourceDataField
(
string
const
&
field_name_
);
46432
46434
static
const
std::int32_t
ID
= -308650776;
46435
46441
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46442
};
46443
46447
class
passportElementErrorSourceFrontSide
final :
public
PassportElementErrorSource
{
46452
std::int32_t get_id()
const
final
{
46453
return
ID
;
46454
}
46455
46456
public
:
46457
46461
passportElementErrorSourceFrontSide
();
46462
46464
static
const
std::int32_t
ID
= 1895658292;
46465
46471
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46472
};
46473
46477
class
passportElementErrorSourceReverseSide
final :
public
PassportElementErrorSource
{
46482
std::int32_t get_id()
const
final
{
46483
return
ID
;
46484
}
46485
46486
public
:
46487
46491
passportElementErrorSourceReverseSide
();
46492
46494
static
const
std::int32_t
ID
= 1918630391;
46495
46501
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46502
};
46503
46507
class
passportElementErrorSourceSelfie
final :
public
PassportElementErrorSource
{
46512
std::int32_t get_id()
const
final
{
46513
return
ID
;
46514
}
46515
46516
public
:
46517
46521
passportElementErrorSourceSelfie
();
46522
46524
static
const
std::int32_t
ID
= -797043672;
46525
46531
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46532
};
46533
46537
class
passportElementErrorSourceTranslationFile
final :
public
PassportElementErrorSource
{
46542
std::int32_t get_id()
const
final
{
46543
return
ID
;
46544
}
46545
46546
public
:
46548
int32
file_index_
;
46549
46553
passportElementErrorSourceTranslationFile
();
46554
46560
explicit
passportElementErrorSourceTranslationFile
(
int32
file_index_
);
46561
46563
static
const
std::int32_t
ID
= -689621228;
46564
46570
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46571
};
46572
46576
class
passportElementErrorSourceTranslationFiles
final :
public
PassportElementErrorSource
{
46581
std::int32_t get_id()
const
final
{
46582
return
ID
;
46583
}
46584
46585
public
:
46586
46590
passportElementErrorSourceTranslationFiles
();
46591
46593
static
const
std::int32_t
ID
= 581280796;
46594
46600
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46601
};
46602
46606
class
passportElementErrorSourceFile
final :
public
PassportElementErrorSource
{
46611
std::int32_t get_id()
const
final
{
46612
return
ID
;
46613
}
46614
46615
public
:
46617
int32
file_index_
;
46618
46622
passportElementErrorSourceFile
();
46623
46629
explicit
passportElementErrorSourceFile
(
int32
file_index_
);
46630
46632
static
const
std::int32_t
ID
= 2020358960;
46633
46639
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46640
};
46641
46645
class
passportElementErrorSourceFiles
final :
public
PassportElementErrorSource
{
46650
std::int32_t get_id()
const
final
{
46651
return
ID
;
46652
}
46653
46654
public
:
46655
46659
passportElementErrorSourceFiles
();
46660
46662
static
const
std::int32_t
ID
= 1894164178;
46663
46669
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46670
};
46671
46676
class
PassportElementType
:
public
Object
{
46677
public
:
46678
};
46679
46683
class
passportElementTypePersonalDetails
final :
public
PassportElementType
{
46688
std::int32_t get_id()
const
final
{
46689
return
ID
;
46690
}
46691
46692
public
:
46693
46697
passportElementTypePersonalDetails
();
46698
46700
static
const
std::int32_t
ID
= -1032136365;
46701
46707
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46708
};
46709
46713
class
passportElementTypePassport
final :
public
PassportElementType
{
46718
std::int32_t get_id()
const
final
{
46719
return
ID
;
46720
}
46721
46722
public
:
46723
46727
passportElementTypePassport
();
46728
46730
static
const
std::int32_t
ID
= -436360376;
46731
46737
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46738
};
46739
46743
class
passportElementTypeDriverLicense
final :
public
PassportElementType
{
46748
std::int32_t get_id()
const
final
{
46749
return
ID
;
46750
}
46751
46752
public
:
46753
46757
passportElementTypeDriverLicense
();
46758
46760
static
const
std::int32_t
ID
= 1827298379;
46761
46767
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46768
};
46769
46773
class
passportElementTypeIdentityCard
final :
public
PassportElementType
{
46778
std::int32_t get_id()
const
final
{
46779
return
ID
;
46780
}
46781
46782
public
:
46783
46787
passportElementTypeIdentityCard
();
46788
46790
static
const
std::int32_t
ID
= -502356132;
46791
46797
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46798
};
46799
46803
class
passportElementTypeInternalPassport
final :
public
PassportElementType
{
46808
std::int32_t get_id()
const
final
{
46809
return
ID
;
46810
}
46811
46812
public
:
46813
46817
passportElementTypeInternalPassport
();
46818
46820
static
const
std::int32_t
ID
= -793781959;
46821
46827
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46828
};
46829
46833
class
passportElementTypeAddress
final :
public
PassportElementType
{
46838
std::int32_t get_id()
const
final
{
46839
return
ID
;
46840
}
46841
46842
public
:
46843
46847
passportElementTypeAddress
();
46848
46850
static
const
std::int32_t
ID
= 496327874;
46851
46857
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46858
};
46859
46863
class
passportElementTypeUtilityBill
final :
public
PassportElementType
{
46868
std::int32_t get_id()
const
final
{
46869
return
ID
;
46870
}
46871
46872
public
:
46873
46877
passportElementTypeUtilityBill
();
46878
46880
static
const
std::int32_t
ID
= 627084906;
46881
46887
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46888
};
46889
46893
class
passportElementTypeBankStatement
final :
public
PassportElementType
{
46898
std::int32_t get_id()
const
final
{
46899
return
ID
;
46900
}
46901
46902
public
:
46903
46907
passportElementTypeBankStatement
();
46908
46910
static
const
std::int32_t
ID
= 574095667;
46911
46917
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46918
};
46919
46923
class
passportElementTypeRentalAgreement
final :
public
PassportElementType
{
46928
std::int32_t get_id()
const
final
{
46929
return
ID
;
46930
}
46931
46932
public
:
46933
46937
passportElementTypeRentalAgreement
();
46938
46940
static
const
std::int32_t
ID
= -2060583280;
46941
46947
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46948
};
46949
46953
class
passportElementTypePassportRegistration
final :
public
PassportElementType
{
46958
std::int32_t get_id()
const
final
{
46959
return
ID
;
46960
}
46961
46962
public
:
46963
46967
passportElementTypePassportRegistration
();
46968
46970
static
const
std::int32_t
ID
= -159478209;
46971
46977
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46978
};
46979
46983
class
passportElementTypeTemporaryRegistration
final :
public
PassportElementType
{
46988
std::int32_t get_id()
const
final
{
46989
return
ID
;
46990
}
46991
46992
public
:
46993
46997
passportElementTypeTemporaryRegistration
();
46998
47000
static
const
std::int32_t
ID
= 1092498527;
47001
47007
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47008
};
47009
47013
class
passportElementTypePhoneNumber
final :
public
PassportElementType
{
47018
std::int32_t get_id()
const
final
{
47019
return
ID
;
47020
}
47021
47022
public
:
47023
47027
passportElementTypePhoneNumber
();
47028
47030
static
const
std::int32_t
ID
= -995361172;
47031
47037
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47038
};
47039
47043
class
passportElementTypeEmailAddress
final :
public
PassportElementType
{
47048
std::int32_t get_id()
const
final
{
47049
return
ID
;
47050
}
47051
47052
public
:
47053
47057
passportElementTypeEmailAddress
();
47058
47060
static
const
std::int32_t
ID
= -79321405;
47061
47067
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47068
};
47069
47070
class
PassportElement
;
47071
47075
class
passportElements
final :
public
Object
{
47080
std::int32_t get_id()
const
final
{
47081
return
ID
;
47082
}
47083
47084
public
:
47086
array<object_ptr<PassportElement>
>
elements_
;
47087
47091
passportElements
();
47092
47098
explicit
passportElements
(
array
<
object_ptr<PassportElement>
> &&
elements_
);
47099
47101
static
const
std::int32_t
ID
= 1264617556;
47102
47108
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47109
};
47110
47111
class
PassportElement
;
47112
47113
class
passportElementError
;
47114
47118
class
passportElementsWithErrors
final :
public
Object
{
47123
std::int32_t get_id()
const
final
{
47124
return
ID
;
47125
}
47126
47127
public
:
47129
array<object_ptr<PassportElement>
>
elements_
;
47131
array<object_ptr<passportElementError>
>
errors_
;
47132
47136
passportElementsWithErrors
();
47137
47144
passportElementsWithErrors
(
array
<
object_ptr<PassportElement>
> &&
elements_
,
array
<
object_ptr<passportElementError>
> &&
errors_
);
47145
47147
static
const
std::int32_t
ID
= 1308923044;
47148
47154
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47155
};
47156
47157
class
passportSuitableElement
;
47158
47162
class
passportRequiredElement
final :
public
Object
{
47167
std::int32_t get_id()
const
final
{
47168
return
ID
;
47169
}
47170
47171
public
:
47173
array<object_ptr<passportSuitableElement>
>
suitable_elements_
;
47174
47178
passportRequiredElement
();
47179
47185
explicit
passportRequiredElement
(
array
<
object_ptr<passportSuitableElement>
> &&
suitable_elements_
);
47186
47188
static
const
std::int32_t
ID
= -1983641651;
47189
47195
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47196
};
47197
47198
class
PassportElementType
;
47199
47203
class
passportSuitableElement
final :
public
Object
{
47208
std::int32_t get_id()
const
final
{
47209
return
ID
;
47210
}
47211
47212
public
:
47214
object_ptr<PassportElementType>
type_
;
47216
bool
is_selfie_required_
;
47218
bool
is_translation_required_
;
47220
bool
is_native_name_required_
;
47221
47225
passportSuitableElement
();
47226
47235
passportSuitableElement
(
object_ptr<PassportElementType>
&&
type_
,
bool
is_selfie_required_
,
bool
is_translation_required_
,
bool
is_native_name_required_
);
47236
47238
static
const
std::int32_t
ID
= -789019876;
47239
47245
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47246
};
47247
47248
class
emailAddressAuthenticationCodeInfo
;
47249
47253
class
passwordState
final :
public
Object
{
47258
std::int32_t get_id()
const
final
{
47259
return
ID
;
47260
}
47261
47262
public
:
47264
bool
has_password_
;
47266
string
password_hint_
;
47268
bool
has_recovery_email_address_
;
47270
bool
has_passport_data_
;
47272
object_ptr<emailAddressAuthenticationCodeInfo>
recovery_email_address_code_info_
;
47274
string
login_email_address_pattern_
;
47276
int32
pending_reset_date_
;
47277
47281
passwordState
();
47282
47294
passwordState
(
bool
has_password_
,
string
const
&
password_hint_
,
bool
has_recovery_email_address_
,
bool
has_passport_data_
,
object_ptr<emailAddressAuthenticationCodeInfo>
&&
recovery_email_address_code_info_
,
string
const
&
login_email_address_pattern_
,
int32
pending_reset_date_
);
47295
47297
static
const
std::int32_t
ID
= 483801128;
47298
47304
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47305
};
47306
47307
class
PaymentFormType
;
47308
47309
class
productInfo
;
47310
47314
class
paymentForm
final :
public
Object
{
47319
std::int32_t get_id()
const
final
{
47320
return
ID
;
47321
}
47322
47323
public
:
47325
int64
id_
;
47327
object_ptr<PaymentFormType>
type_
;
47329
int53
seller_bot_user_id_
;
47331
object_ptr<productInfo>
product_info_
;
47332
47336
paymentForm
();
47337
47346
paymentForm
(
int64
id_
,
object_ptr<PaymentFormType>
&&
type_
,
int53
seller_bot_user_id_
,
object_ptr<productInfo>
&&
product_info_
);
47347
47349
static
const
std::int32_t
ID
= 1998651315;
47350
47356
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47357
};
47358
47359
class
PaymentProvider
;
47360
47361
class
invoice
;
47362
47363
class
orderInfo
;
47364
47365
class
paymentOption
;
47366
47367
class
savedCredentials
;
47368
47369
class
starSubscriptionPricing
;
47370
47375
class
PaymentFormType
:
public
Object
{
47376
public
:
47377
};
47378
47382
class
paymentFormTypeRegular
final :
public
PaymentFormType
{
47387
std::int32_t get_id()
const
final
{
47388
return
ID
;
47389
}
47390
47391
public
:
47393
object_ptr<invoice>
invoice_
;
47395
int53
payment_provider_user_id_
;
47397
object_ptr<PaymentProvider>
payment_provider_
;
47399
array<object_ptr<paymentOption>
>
additional_payment_options_
;
47401
object_ptr<orderInfo>
saved_order_info_
;
47403
array<object_ptr<savedCredentials>
>
saved_credentials_
;
47405
bool
can_save_credentials_
;
47407
bool
need_password_
;
47408
47412
paymentFormTypeRegular
();
47413
47426
paymentFormTypeRegular
(
object_ptr<invoice>
&&
invoice_
,
int53
payment_provider_user_id_
,
object_ptr<PaymentProvider>
&&
payment_provider_
,
array
<
object_ptr<paymentOption>
> &&
additional_payment_options_
,
object_ptr<orderInfo>
&&
saved_order_info_
,
array
<
object_ptr<savedCredentials>
> &&
saved_credentials_
,
bool
can_save_credentials_
,
bool
need_password_
);
47427
47429
static
const
std::int32_t
ID
= -615089778;
47430
47436
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47437
};
47438
47442
class
paymentFormTypeStars
final :
public
PaymentFormType
{
47447
std::int32_t get_id()
const
final
{
47448
return
ID
;
47449
}
47450
47451
public
:
47453
int53
star_count_
;
47454
47458
paymentFormTypeStars
();
47459
47465
explicit
paymentFormTypeStars
(
int53
star_count_
);
47466
47468
static
const
std::int32_t
ID
= 90938685;
47469
47475
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47476
};
47477
47481
class
paymentFormTypeStarSubscription
final :
public
PaymentFormType
{
47486
std::int32_t get_id()
const
final
{
47487
return
ID
;
47488
}
47489
47490
public
:
47492
object_ptr<starSubscriptionPricing>
pricing_
;
47493
47497
paymentFormTypeStarSubscription
();
47498
47504
explicit
paymentFormTypeStarSubscription
(
object_ptr<starSubscriptionPricing>
&&
pricing_
);
47505
47507
static
const
std::int32_t
ID
= 271444827;
47508
47514
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47515
};
47516
47520
class
paymentOption
final :
public
Object
{
47525
std::int32_t get_id()
const
final
{
47526
return
ID
;
47527
}
47528
47529
public
:
47531
string
title_
;
47533
string
url_
;
47534
47538
paymentOption
();
47539
47546
paymentOption
(
string
const
&
title_
,
string
const
&
url_
);
47547
47549
static
const
std::int32_t
ID
= -294020965;
47550
47556
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47557
};
47558
47563
class
PaymentProvider
:
public
Object
{
47564
public
:
47565
};
47566
47570
class
paymentProviderSmartGlocal
final :
public
PaymentProvider
{
47575
std::int32_t get_id()
const
final
{
47576
return
ID
;
47577
}
47578
47579
public
:
47581
string
public_token_
;
47583
string
tokenize_url_
;
47584
47588
paymentProviderSmartGlocal
();
47589
47596
paymentProviderSmartGlocal
(
string
const
&
public_token_
,
string
const
&
tokenize_url_
);
47597
47599
static
const
std::int32_t
ID
= -1174112396;
47600
47606
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47607
};
47608
47612
class
paymentProviderStripe
final :
public
PaymentProvider
{
47617
std::int32_t get_id()
const
final
{
47618
return
ID
;
47619
}
47620
47621
public
:
47623
string
publishable_key_
;
47625
bool
need_country_
;
47627
bool
need_postal_code_
;
47629
bool
need_cardholder_name_
;
47630
47634
paymentProviderStripe
();
47635
47644
paymentProviderStripe
(
string
const
&
publishable_key_
,
bool
need_country_
,
bool
need_postal_code_
,
bool
need_cardholder_name_
);
47645
47647
static
const
std::int32_t
ID
= 370467227;
47648
47654
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47655
};
47656
47660
class
paymentProviderOther
final :
public
PaymentProvider
{
47665
std::int32_t get_id()
const
final
{
47666
return
ID
;
47667
}
47668
47669
public
:
47671
string
url_
;
47672
47676
paymentProviderOther
();
47677
47683
explicit
paymentProviderOther
(
string
const
&
url_
);
47684
47686
static
const
std::int32_t
ID
= -1336876828;
47687
47693
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47694
};
47695
47696
class
PaymentReceiptType
;
47697
47698
class
productInfo
;
47699
47703
class
paymentReceipt
final :
public
Object
{
47708
std::int32_t get_id()
const
final
{
47709
return
ID
;
47710
}
47711
47712
public
:
47714
object_ptr<productInfo>
product_info_
;
47716
int32
date_
;
47718
int53
seller_bot_user_id_
;
47720
object_ptr<PaymentReceiptType>
type_
;
47721
47725
paymentReceipt
();
47726
47735
paymentReceipt
(
object_ptr<productInfo>
&&
product_info_
,
int32
date_
,
int53
seller_bot_user_id_
,
object_ptr<PaymentReceiptType>
&&
type_
);
47736
47738
static
const
std::int32_t
ID
= 758199186;
47739
47745
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47746
};
47747
47748
class
invoice
;
47749
47750
class
orderInfo
;
47751
47752
class
shippingOption
;
47753
47758
class
PaymentReceiptType
:
public
Object
{
47759
public
:
47760
};
47761
47765
class
paymentReceiptTypeRegular
final :
public
PaymentReceiptType
{
47770
std::int32_t get_id()
const
final
{
47771
return
ID
;
47772
}
47773
47774
public
:
47776
int53
payment_provider_user_id_
;
47778
object_ptr<invoice>
invoice_
;
47780
object_ptr<orderInfo>
order_info_
;
47782
object_ptr<shippingOption>
shipping_option_
;
47784
string
credentials_title_
;
47786
int53
tip_amount_
;
47787
47791
paymentReceiptTypeRegular
();
47792
47803
paymentReceiptTypeRegular
(
int53
payment_provider_user_id_
,
object_ptr<invoice>
&&
invoice_
,
object_ptr<orderInfo>
&&
order_info_
,
object_ptr<shippingOption>
&&
shipping_option_
,
string
const
&
credentials_title_
,
int53
tip_amount_
);
47804
47806
static
const
std::int32_t
ID
= -1636362826;
47807
47813
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47814
};
47815
47819
class
paymentReceiptTypeStars
final :
public
PaymentReceiptType
{
47824
std::int32_t get_id()
const
final
{
47825
return
ID
;
47826
}
47827
47828
public
:
47830
int53
star_count_
;
47832
string
transaction_id_
;
47833
47837
paymentReceiptTypeStars
();
47838
47845
paymentReceiptTypeStars
(
int53
star_count_
,
string
const
&
transaction_id_
);
47846
47848
static
const
std::int32_t
ID
= 294913868;
47849
47855
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47856
};
47857
47861
class
paymentResult
final :
public
Object
{
47866
std::int32_t get_id()
const
final
{
47867
return
ID
;
47868
}
47869
47870
public
:
47872
bool
success_
;
47874
string
verification_url_
;
47875
47879
paymentResult
();
47880
47887
paymentResult
(
bool
success_
,
string
const
&
verification_url_
);
47888
47890
static
const
std::int32_t
ID
= -804263843;
47891
47897
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47898
};
47899
47900
class
date
;
47901
47905
class
personalDetails
final :
public
Object
{
47910
std::int32_t get_id()
const
final
{
47911
return
ID
;
47912
}
47913
47914
public
:
47916
string
first_name_
;
47918
string
middle_name_
;
47920
string
last_name_
;
47922
string
native_first_name_
;
47924
string
native_middle_name_
;
47926
string
native_last_name_
;
47928
object_ptr<date>
birthdate_
;
47930
string
gender_
;
47932
string
country_code_
;
47934
string
residence_country_code_
;
47935
47939
personalDetails
();
47940
47955
personalDetails
(
string
const
&
first_name_
,
string
const
&
middle_name_
,
string
const
&
last_name_
,
string
const
&
native_first_name_
,
string
const
&
native_middle_name_
,
string
const
&
native_last_name_
,
object_ptr<date>
&&
birthdate_
,
string
const
&
gender_
,
string
const
&
country_code_
,
string
const
&
residence_country_code_
);
47956
47958
static
const
std::int32_t
ID
= -1061656137;
47959
47965
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47966
};
47967
47968
class
datedFile
;
47969
47973
class
personalDocument
final :
public
Object
{
47978
std::int32_t get_id()
const
final
{
47979
return
ID
;
47980
}
47981
47982
public
:
47984
array<object_ptr<datedFile>
>
files_
;
47986
array<object_ptr<datedFile>
>
translation_
;
47987
47991
personalDocument
();
47992
47999
personalDocument
(
array
<
object_ptr<datedFile>
> &&
files_
,
array
<
object_ptr<datedFile>
> &&
translation_
);
48000
48002
static
const
std::int32_t
ID
= -1011634661;
48003
48009
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48010
};
48011
48012
class
FirebaseAuthenticationSettings
;
48013
48017
class
phoneNumberAuthenticationSettings
final :
public
Object
{
48022
std::int32_t get_id()
const
final
{
48023
return
ID
;
48024
}
48025
48026
public
:
48028
bool
allow_flash_call_
;
48030
bool
allow_missed_call_
;
48032
bool
is_current_phone_number_
;
48034
bool
has_unknown_phone_number_
;
48036
bool
allow_sms_retriever_api_
;
48038
object_ptr<FirebaseAuthenticationSettings>
firebase_authentication_settings_
;
48040
array<string>
authentication_tokens_
;
48041
48045
phoneNumberAuthenticationSettings
();
48046
48058
phoneNumberAuthenticationSettings
(
bool
allow_flash_call_
,
bool
allow_missed_call_
,
bool
is_current_phone_number_
,
bool
has_unknown_phone_number_
,
bool
allow_sms_retriever_api_
,
object_ptr<FirebaseAuthenticationSettings>
&&
firebase_authentication_settings_
,
array<string>
&&
authentication_tokens_
);
48059
48061
static
const
std::int32_t
ID
= 1881885547;
48062
48068
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48069
};
48070
48075
class
PhoneNumberCodeType
:
public
Object
{
48076
public
:
48077
};
48078
48082
class
phoneNumberCodeTypeChange
final :
public
PhoneNumberCodeType
{
48087
std::int32_t get_id()
const
final
{
48088
return
ID
;
48089
}
48090
48091
public
:
48092
48096
phoneNumberCodeTypeChange
();
48097
48099
static
const
std::int32_t
ID
= 87144986;
48100
48106
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48107
};
48108
48112
class
phoneNumberCodeTypeVerify
final :
public
PhoneNumberCodeType
{
48117
std::int32_t get_id()
const
final
{
48118
return
ID
;
48119
}
48120
48121
public
:
48122
48126
phoneNumberCodeTypeVerify
();
48127
48129
static
const
std::int32_t
ID
= -1029402661;
48130
48136
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48137
};
48138
48142
class
phoneNumberCodeTypeConfirmOwnership
final :
public
PhoneNumberCodeType
{
48147
std::int32_t get_id()
const
final
{
48148
return
ID
;
48149
}
48150
48151
public
:
48153
string
hash_
;
48154
48158
phoneNumberCodeTypeConfirmOwnership
();
48159
48165
explicit
phoneNumberCodeTypeConfirmOwnership
(
string
const
&
hash_
);
48166
48168
static
const
std::int32_t
ID
= -485404696;
48169
48175
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48176
};
48177
48178
class
countryInfo
;
48179
48183
class
phoneNumberInfo
final :
public
Object
{
48188
std::int32_t get_id()
const
final
{
48189
return
ID
;
48190
}
48191
48192
public
:
48194
object_ptr<countryInfo>
country_
;
48196
string
country_calling_code_
;
48198
string
formatted_phone_number_
;
48200
bool
is_anonymous_
;
48201
48205
phoneNumberInfo
();
48206
48215
phoneNumberInfo
(
object_ptr<countryInfo>
&&
country_
,
string
const
&
country_calling_code_
,
string
const
&
formatted_phone_number_
,
bool
is_anonymous_
);
48216
48218
static
const
std::int32_t
ID
= -758933343;
48219
48225
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48226
};
48227
48228
class
minithumbnail
;
48229
48230
class
photoSize
;
48231
48235
class
photo
final :
public
Object
{
48240
std::int32_t get_id()
const
final
{
48241
return
ID
;
48242
}
48243
48244
public
:
48246
bool
has_stickers_
;
48248
object_ptr<minithumbnail>
minithumbnail_
;
48250
array<object_ptr<photoSize>
>
sizes_
;
48251
48255
photo
();
48256
48264
photo
(
bool
has_stickers_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
array
<
object_ptr<photoSize>
> &&
sizes_
);
48265
48267
static
const
std::int32_t
ID
= -2022871583;
48268
48274
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48275
};
48276
48277
class
file
;
48278
48282
class
photoSize
final :
public
Object
{
48287
std::int32_t get_id()
const
final
{
48288
return
ID
;
48289
}
48290
48291
public
:
48293
string
type_
;
48295
object_ptr<file>
photo_
;
48297
int32
width_
;
48299
int32
height_
;
48301
array<int32>
progressive_sizes_
;
48302
48306
photoSize
();
48307
48317
photoSize
(
string
const
&
type_
,
object_ptr<file>
&&
photo_
,
int32
width_
,
int32
height_
,
array<int32>
&&
progressive_sizes_
);
48318
48320
static
const
std::int32_t
ID
= 1609182352;
48321
48327
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48328
};
48329
48333
class
point
final :
public
Object
{
48338
std::int32_t get_id()
const
final
{
48339
return
ID
;
48340
}
48341
48342
public
:
48344
double
x_
;
48346
double
y_
;
48347
48351
point
();
48352
48359
point
(
double
x_
,
double
y_
);
48360
48362
static
const
std::int32_t
ID
= 437515705;
48363
48369
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48370
};
48371
48372
class
MessageSender
;
48373
48374
class
PollType
;
48375
48376
class
formattedText
;
48377
48378
class
pollOption
;
48379
48383
class
poll
final :
public
Object
{
48388
std::int32_t get_id()
const
final
{
48389
return
ID
;
48390
}
48391
48392
public
:
48394
int64
id_
;
48396
object_ptr<formattedText>
question_
;
48398
array<object_ptr<pollOption>
>
options_
;
48400
int32
total_voter_count_
;
48402
array<object_ptr<MessageSender>
>
recent_voter_ids_
;
48404
bool
is_anonymous_
;
48406
object_ptr<PollType>
type_
;
48408
int32
open_period_
;
48410
int32
close_date_
;
48412
bool
is_closed_
;
48413
48417
poll
();
48418
48433
poll
(
int64
id_
,
object_ptr<formattedText>
&&
question_
,
array
<
object_ptr<pollOption>
> &&
options_
,
int32
total_voter_count_
,
array
<
object_ptr<MessageSender>
> &&
recent_voter_ids_
,
bool
is_anonymous_
,
object_ptr<PollType>
&&
type_
,
int32
open_period_
,
int32
close_date_
,
bool
is_closed_
);
48434
48436
static
const
std::int32_t
ID
= 1913016502;
48437
48443
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48444
};
48445
48446
class
formattedText
;
48447
48451
class
pollOption
final :
public
Object
{
48456
std::int32_t get_id()
const
final
{
48457
return
ID
;
48458
}
48459
48460
public
:
48462
object_ptr<formattedText>
text_
;
48464
int32
voter_count_
;
48466
int32
vote_percentage_
;
48468
bool
is_chosen_
;
48470
bool
is_being_chosen_
;
48471
48475
pollOption
();
48476
48486
pollOption
(
object_ptr<formattedText>
&&
text_
,
int32
voter_count_
,
int32
vote_percentage_
,
bool
is_chosen_
,
bool
is_being_chosen_
);
48487
48489
static
const
std::int32_t
ID
= 1676243088;
48490
48496
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48497
};
48498
48499
class
formattedText
;
48500
48505
class
PollType
:
public
Object
{
48506
public
:
48507
};
48508
48512
class
pollTypeRegular
final :
public
PollType
{
48517
std::int32_t get_id()
const
final
{
48518
return
ID
;
48519
}
48520
48521
public
:
48523
bool
allow_multiple_answers_
;
48524
48528
pollTypeRegular
();
48529
48535
explicit
pollTypeRegular
(
bool
allow_multiple_answers_
);
48536
48538
static
const
std::int32_t
ID
= 641265698;
48539
48545
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48546
};
48547
48551
class
pollTypeQuiz
final :
public
PollType
{
48556
std::int32_t get_id()
const
final
{
48557
return
ID
;
48558
}
48559
48560
public
:
48562
int32
correct_option_id_
;
48564
object_ptr<formattedText>
explanation_
;
48565
48569
pollTypeQuiz
();
48570
48577
pollTypeQuiz
(
int32
correct_option_id_
,
object_ptr<formattedText>
&&
explanation_
);
48578
48580
static
const
std::int32_t
ID
= 657013913;
48581
48587
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48588
};
48589
48594
class
PremiumFeature
:
public
Object
{
48595
public
:
48596
};
48597
48601
class
premiumFeatureIncreasedLimits
final :
public
PremiumFeature
{
48606
std::int32_t get_id()
const
final
{
48607
return
ID
;
48608
}
48609
48610
public
:
48611
48615
premiumFeatureIncreasedLimits
();
48616
48618
static
const
std::int32_t
ID
= 1785455031;
48619
48625
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48626
};
48627
48631
class
premiumFeatureIncreasedUploadFileSize
final :
public
PremiumFeature
{
48636
std::int32_t get_id()
const
final
{
48637
return
ID
;
48638
}
48639
48640
public
:
48641
48645
premiumFeatureIncreasedUploadFileSize
();
48646
48648
static
const
std::int32_t
ID
= 1825367155;
48649
48655
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48656
};
48657
48661
class
premiumFeatureImprovedDownloadSpeed
final :
public
PremiumFeature
{
48666
std::int32_t get_id()
const
final
{
48667
return
ID
;
48668
}
48669
48670
public
:
48671
48675
premiumFeatureImprovedDownloadSpeed
();
48676
48678
static
const
std::int32_t
ID
= -267695554;
48679
48685
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48686
};
48687
48691
class
premiumFeatureVoiceRecognition
final :
public
PremiumFeature
{
48696
std::int32_t get_id()
const
final
{
48697
return
ID
;
48698
}
48699
48700
public
:
48701
48705
premiumFeatureVoiceRecognition
();
48706
48708
static
const
std::int32_t
ID
= 1288216542;
48709
48715
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48716
};
48717
48721
class
premiumFeatureDisabledAds
final :
public
PremiumFeature
{
48726
std::int32_t get_id()
const
final
{
48727
return
ID
;
48728
}
48729
48730
public
:
48731
48735
premiumFeatureDisabledAds
();
48736
48738
static
const
std::int32_t
ID
= -2008587702;
48739
48745
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48746
};
48747
48751
class
premiumFeatureUniqueReactions
final :
public
PremiumFeature
{
48756
std::int32_t get_id()
const
final
{
48757
return
ID
;
48758
}
48759
48760
public
:
48761
48765
premiumFeatureUniqueReactions
();
48766
48768
static
const
std::int32_t
ID
= 766750743;
48769
48775
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48776
};
48777
48781
class
premiumFeatureUniqueStickers
final :
public
PremiumFeature
{
48786
std::int32_t get_id()
const
final
{
48787
return
ID
;
48788
}
48789
48790
public
:
48791
48795
premiumFeatureUniqueStickers
();
48796
48798
static
const
std::int32_t
ID
= -2101773312;
48799
48805
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48806
};
48807
48811
class
premiumFeatureCustomEmoji
final :
public
PremiumFeature
{
48816
std::int32_t get_id()
const
final
{
48817
return
ID
;
48818
}
48819
48820
public
:
48821
48825
premiumFeatureCustomEmoji
();
48826
48828
static
const
std::int32_t
ID
= 1332599628;
48829
48835
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48836
};
48837
48841
class
premiumFeatureAdvancedChatManagement
final :
public
PremiumFeature
{
48846
std::int32_t get_id()
const
final
{
48847
return
ID
;
48848
}
48849
48850
public
:
48851
48855
premiumFeatureAdvancedChatManagement
();
48856
48858
static
const
std::int32_t
ID
= 796347674;
48859
48865
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48866
};
48867
48871
class
premiumFeatureProfileBadge
final :
public
PremiumFeature
{
48876
std::int32_t get_id()
const
final
{
48877
return
ID
;
48878
}
48879
48880
public
:
48881
48885
premiumFeatureProfileBadge
();
48886
48888
static
const
std::int32_t
ID
= 233648322;
48889
48895
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48896
};
48897
48901
class
premiumFeatureEmojiStatus
final :
public
PremiumFeature
{
48906
std::int32_t get_id()
const
final
{
48907
return
ID
;
48908
}
48909
48910
public
:
48911
48915
premiumFeatureEmojiStatus
();
48916
48918
static
const
std::int32_t
ID
= -36516639;
48919
48925
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48926
};
48927
48931
class
premiumFeatureAnimatedProfilePhoto
final :
public
PremiumFeature
{
48936
std::int32_t get_id()
const
final
{
48937
return
ID
;
48938
}
48939
48940
public
:
48941
48945
premiumFeatureAnimatedProfilePhoto
();
48946
48948
static
const
std::int32_t
ID
= -100741914;
48949
48955
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48956
};
48957
48961
class
premiumFeatureForumTopicIcon
final :
public
PremiumFeature
{
48966
std::int32_t get_id()
const
final
{
48967
return
ID
;
48968
}
48969
48970
public
:
48971
48975
premiumFeatureForumTopicIcon
();
48976
48978
static
const
std::int32_t
ID
= -823172286;
48979
48985
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48986
};
48987
48991
class
premiumFeatureAppIcons
final :
public
PremiumFeature
{
48996
std::int32_t get_id()
const
final
{
48997
return
ID
;
48998
}
48999
49000
public
:
49001
49005
premiumFeatureAppIcons
();
49006
49008
static
const
std::int32_t
ID
= 1585050761;
49009
49015
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49016
};
49017
49021
class
premiumFeatureRealTimeChatTranslation
final :
public
PremiumFeature
{
49026
std::int32_t get_id()
const
final
{
49027
return
ID
;
49028
}
49029
49030
public
:
49031
49035
premiumFeatureRealTimeChatTranslation
();
49036
49038
static
const
std::int32_t
ID
= -1143471488;
49039
49045
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49046
};
49047
49051
class
premiumFeatureUpgradedStories
final :
public
PremiumFeature
{
49056
std::int32_t get_id()
const
final
{
49057
return
ID
;
49058
}
49059
49060
public
:
49061
49065
premiumFeatureUpgradedStories
();
49066
49068
static
const
std::int32_t
ID
= -1878522597;
49069
49075
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49076
};
49077
49081
class
premiumFeatureChatBoost
final :
public
PremiumFeature
{
49086
std::int32_t get_id()
const
final
{
49087
return
ID
;
49088
}
49089
49090
public
:
49091
49095
premiumFeatureChatBoost
();
49096
49098
static
const
std::int32_t
ID
= 1576574747;
49099
49105
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49106
};
49107
49111
class
premiumFeatureAccentColor
final :
public
PremiumFeature
{
49116
std::int32_t get_id()
const
final
{
49117
return
ID
;
49118
}
49119
49120
public
:
49121
49125
premiumFeatureAccentColor
();
49126
49128
static
const
std::int32_t
ID
= 907724190;
49129
49135
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49136
};
49137
49141
class
premiumFeatureBackgroundForBoth
final :
public
PremiumFeature
{
49146
std::int32_t get_id()
const
final
{
49147
return
ID
;
49148
}
49149
49150
public
:
49151
49155
premiumFeatureBackgroundForBoth
();
49156
49158
static
const
std::int32_t
ID
= 575074042;
49159
49165
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49166
};
49167
49171
class
premiumFeatureSavedMessagesTags
final :
public
PremiumFeature
{
49176
std::int32_t get_id()
const
final
{
49177
return
ID
;
49178
}
49179
49180
public
:
49181
49185
premiumFeatureSavedMessagesTags
();
49186
49188
static
const
std::int32_t
ID
= 1003219334;
49189
49195
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49196
};
49197
49201
class
premiumFeatureMessagePrivacy
final :
public
PremiumFeature
{
49206
std::int32_t get_id()
const
final
{
49207
return
ID
;
49208
}
49209
49210
public
:
49211
49215
premiumFeatureMessagePrivacy
();
49216
49218
static
const
std::int32_t
ID
= 802322678;
49219
49225
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49226
};
49227
49231
class
premiumFeatureLastSeenTimes
final :
public
PremiumFeature
{
49236
std::int32_t get_id()
const
final
{
49237
return
ID
;
49238
}
49239
49240
public
:
49241
49245
premiumFeatureLastSeenTimes
();
49246
49248
static
const
std::int32_t
ID
= -762230129;
49249
49255
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49256
};
49257
49261
class
premiumFeatureBusiness
final :
public
PremiumFeature
{
49266
std::int32_t get_id()
const
final
{
49267
return
ID
;
49268
}
49269
49270
public
:
49271
49275
premiumFeatureBusiness
();
49276
49278
static
const
std::int32_t
ID
= -1503619324;
49279
49285
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49286
};
49287
49291
class
premiumFeatureMessageEffects
final :
public
PremiumFeature
{
49296
std::int32_t get_id()
const
final
{
49297
return
ID
;
49298
}
49299
49300
public
:
49301
49305
premiumFeatureMessageEffects
();
49306
49308
static
const
std::int32_t
ID
= -723300255;
49309
49315
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49316
};
49317
49321
class
premiumFeatureChecklists
final :
public
PremiumFeature
{
49326
std::int32_t get_id()
const
final
{
49327
return
ID
;
49328
}
49329
49330
public
:
49331
49335
premiumFeatureChecklists
();
49336
49338
static
const
std::int32_t
ID
= -1128709251;
49339
49345
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49346
};
49347
49348
class
PremiumFeature
;
49349
49350
class
animation
;
49351
49355
class
premiumFeaturePromotionAnimation
final :
public
Object
{
49360
std::int32_t get_id()
const
final
{
49361
return
ID
;
49362
}
49363
49364
public
:
49366
object_ptr<PremiumFeature>
feature_
;
49368
object_ptr<animation>
animation_
;
49369
49373
premiumFeaturePromotionAnimation
();
49374
49381
premiumFeaturePromotionAnimation
(
object_ptr<PremiumFeature>
&&
feature_
,
object_ptr<animation>
&&
animation_
);
49382
49384
static
const
std::int32_t
ID
= -1986155748;
49385
49391
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49392
};
49393
49394
class
InternalLinkType
;
49395
49396
class
PremiumFeature
;
49397
49398
class
premiumLimit
;
49399
49403
class
premiumFeatures
final :
public
Object
{
49408
std::int32_t get_id()
const
final
{
49409
return
ID
;
49410
}
49411
49412
public
:
49414
array<object_ptr<PremiumFeature>
>
features_
;
49416
array<object_ptr<premiumLimit>
>
limits_
;
49418
object_ptr<InternalLinkType>
payment_link_
;
49419
49423
premiumFeatures
();
49424
49432
premiumFeatures
(
array
<
object_ptr<PremiumFeature>
> &&
features_
,
array
<
object_ptr<premiumLimit>
> &&
limits_
,
object_ptr<InternalLinkType>
&&
payment_link_
);
49433
49435
static
const
std::int32_t
ID
= 1875162172;
49436
49442
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49443
};
49444
49445
class
MessageSender
;
49446
49450
class
premiumGiftCodeInfo
final :
public
Object
{
49455
std::int32_t get_id()
const
final
{
49456
return
ID
;
49457
}
49458
49459
public
:
49461
object_ptr<MessageSender>
creator_id_
;
49463
int32
creation_date_
;
49465
bool
is_from_giveaway_
;
49467
int53
giveaway_message_id_
;
49469
int32
month_count_
;
49471
int53
user_id_
;
49473
int32
use_date_
;
49474
49478
premiumGiftCodeInfo
();
49479
49491
premiumGiftCodeInfo
(
object_ptr<MessageSender>
&&
creator_id_
,
int32
creation_date_
,
bool
is_from_giveaway_
,
int53
giveaway_message_id_
,
int32
month_count_
,
int53
user_id_
,
int32
use_date_
);
49492
49494
static
const
std::int32_t
ID
= -1198544674;
49495
49501
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49502
};
49503
49504
class
sticker
;
49505
49509
class
premiumGiftPaymentOption
final :
public
Object
{
49514
std::int32_t get_id()
const
final
{
49515
return
ID
;
49516
}
49517
49518
public
:
49520
string
currency_
;
49522
int53
amount_
;
49524
int53
star_count_
;
49526
int32
discount_percentage_
;
49528
int32
month_count_
;
49530
string
store_product_id_
;
49532
object_ptr<sticker>
sticker_
;
49533
49537
premiumGiftPaymentOption
();
49538
49550
premiumGiftPaymentOption
(
string
const
&
currency_
,
int53
amount_
,
int53
star_count_
,
int32
discount_percentage_
,
int32
month_count_
,
string
const
&
store_product_id_
,
object_ptr<sticker>
&&
sticker_
);
49551
49553
static
const
std::int32_t
ID
= -338085027;
49554
49560
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49561
};
49562
49563
class
premiumGiftPaymentOption
;
49564
49568
class
premiumGiftPaymentOptions
final :
public
Object
{
49573
std::int32_t get_id()
const
final
{
49574
return
ID
;
49575
}
49576
49577
public
:
49579
array<object_ptr<premiumGiftPaymentOption>
>
options_
;
49580
49584
premiumGiftPaymentOptions
();
49585
49591
explicit
premiumGiftPaymentOptions
(
array
<
object_ptr<premiumGiftPaymentOption>
> &&
options_
);
49592
49594
static
const
std::int32_t
ID
= -1347543032;
49595
49601
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49602
};
49603
49607
class
premiumGiveawayPaymentOption
final :
public
Object
{
49612
std::int32_t get_id()
const
final
{
49613
return
ID
;
49614
}
49615
49616
public
:
49618
string
currency_
;
49620
int53
amount_
;
49622
int32
winner_count_
;
49624
int32
month_count_
;
49626
string
store_product_id_
;
49628
int32
store_product_quantity_
;
49629
49633
premiumGiveawayPaymentOption
();
49634
49645
premiumGiveawayPaymentOption
(
string
const
&
currency_
,
int53
amount_
,
int32
winner_count_
,
int32
month_count_
,
string
const
&
store_product_id_
,
int32
store_product_quantity_
);
49646
49648
static
const
std::int32_t
ID
= 1099221896;
49649
49655
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49656
};
49657
49658
class
premiumGiveawayPaymentOption
;
49659
49663
class
premiumGiveawayPaymentOptions
final :
public
Object
{
49668
std::int32_t get_id()
const
final
{
49669
return
ID
;
49670
}
49671
49672
public
:
49674
array<object_ptr<premiumGiveawayPaymentOption>
>
options_
;
49675
49679
premiumGiveawayPaymentOptions
();
49680
49686
explicit
premiumGiveawayPaymentOptions
(
array
<
object_ptr<premiumGiveawayPaymentOption>
> &&
options_
);
49687
49689
static
const
std::int32_t
ID
= -1587397823;
49690
49696
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49697
};
49698
49699
class
PremiumLimitType
;
49700
49704
class
premiumLimit
final :
public
Object
{
49709
std::int32_t get_id()
const
final
{
49710
return
ID
;
49711
}
49712
49713
public
:
49715
object_ptr<PremiumLimitType>
type_
;
49717
int32
default_value_
;
49719
int32
premium_value_
;
49720
49724
premiumLimit
();
49725
49733
premiumLimit
(
object_ptr<PremiumLimitType>
&&
type_
,
int32
default_value_
,
int32
premium_value_
);
49734
49736
static
const
std::int32_t
ID
= 2127786726;
49737
49743
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49744
};
49745
49750
class
PremiumLimitType
:
public
Object
{
49751
public
:
49752
};
49753
49757
class
premiumLimitTypeSupergroupCount
final :
public
PremiumLimitType
{
49762
std::int32_t get_id()
const
final
{
49763
return
ID
;
49764
}
49765
49766
public
:
49767
49771
premiumLimitTypeSupergroupCount
();
49772
49774
static
const
std::int32_t
ID
= -247467131;
49775
49781
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49782
};
49783
49787
class
premiumLimitTypePinnedChatCount
final :
public
PremiumLimitType
{
49792
std::int32_t get_id()
const
final
{
49793
return
ID
;
49794
}
49795
49796
public
:
49797
49801
premiumLimitTypePinnedChatCount
();
49802
49804
static
const
std::int32_t
ID
= -998947871;
49805
49811
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49812
};
49813
49817
class
premiumLimitTypeCreatedPublicChatCount
final :
public
PremiumLimitType
{
49822
std::int32_t get_id()
const
final
{
49823
return
ID
;
49824
}
49825
49826
public
:
49827
49831
premiumLimitTypeCreatedPublicChatCount
();
49832
49834
static
const
std::int32_t
ID
= 446086841;
49835
49841
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49842
};
49843
49847
class
premiumLimitTypeSavedAnimationCount
final :
public
PremiumLimitType
{
49852
std::int32_t get_id()
const
final
{
49853
return
ID
;
49854
}
49855
49856
public
:
49857
49861
premiumLimitTypeSavedAnimationCount
();
49862
49864
static
const
std::int32_t
ID
= -19759735;
49865
49871
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49872
};
49873
49877
class
premiumLimitTypeFavoriteStickerCount
final :
public
PremiumLimitType
{
49882
std::int32_t get_id()
const
final
{
49883
return
ID
;
49884
}
49885
49886
public
:
49887
49891
premiumLimitTypeFavoriteStickerCount
();
49892
49894
static
const
std::int32_t
ID
= 639754787;
49895
49901
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49902
};
49903
49907
class
premiumLimitTypeChatFolderCount
final :
public
PremiumLimitType
{
49912
std::int32_t get_id()
const
final
{
49913
return
ID
;
49914
}
49915
49916
public
:
49917
49921
premiumLimitTypeChatFolderCount
();
49922
49924
static
const
std::int32_t
ID
= 377489774;
49925
49931
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49932
};
49933
49937
class
premiumLimitTypeChatFolderChosenChatCount
final :
public
PremiumLimitType
{
49942
std::int32_t get_id()
const
final
{
49943
return
ID
;
49944
}
49945
49946
public
:
49947
49951
premiumLimitTypeChatFolderChosenChatCount
();
49952
49954
static
const
std::int32_t
ID
= 1691435861;
49955
49961
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49962
};
49963
49967
class
premiumLimitTypePinnedArchivedChatCount
final :
public
PremiumLimitType
{
49972
std::int32_t get_id()
const
final
{
49973
return
ID
;
49974
}
49975
49976
public
:
49977
49981
premiumLimitTypePinnedArchivedChatCount
();
49982
49984
static
const
std::int32_t
ID
= 1485515276;
49985
49991
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49992
};
49993
49997
class
premiumLimitTypePinnedSavedMessagesTopicCount
final :
public
PremiumLimitType
{
50002
std::int32_t get_id()
const
final
{
50003
return
ID
;
50004
}
50005
50006
public
:
50007
50011
premiumLimitTypePinnedSavedMessagesTopicCount
();
50012
50014
static
const
std::int32_t
ID
= -1544854305;
50015
50021
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50022
};
50023
50027
class
premiumLimitTypeCaptionLength
final :
public
PremiumLimitType
{
50032
std::int32_t get_id()
const
final
{
50033
return
ID
;
50034
}
50035
50036
public
:
50037
50041
premiumLimitTypeCaptionLength
();
50042
50044
static
const
std::int32_t
ID
= 293984314;
50045
50051
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50052
};
50053
50057
class
premiumLimitTypeBioLength
final :
public
PremiumLimitType
{
50062
std::int32_t get_id()
const
final
{
50063
return
ID
;
50064
}
50065
50066
public
:
50067
50071
premiumLimitTypeBioLength
();
50072
50074
static
const
std::int32_t
ID
= -1146976765;
50075
50081
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50082
};
50083
50087
class
premiumLimitTypeChatFolderInviteLinkCount
final :
public
PremiumLimitType
{
50092
std::int32_t get_id()
const
final
{
50093
return
ID
;
50094
}
50095
50096
public
:
50097
50101
premiumLimitTypeChatFolderInviteLinkCount
();
50102
50104
static
const
std::int32_t
ID
= -128702950;
50105
50111
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50112
};
50113
50117
class
premiumLimitTypeShareableChatFolderCount
final :
public
PremiumLimitType
{
50122
std::int32_t get_id()
const
final
{
50123
return
ID
;
50124
}
50125
50126
public
:
50127
50131
premiumLimitTypeShareableChatFolderCount
();
50132
50134
static
const
std::int32_t
ID
= 1612625095;
50135
50141
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50142
};
50143
50147
class
premiumLimitTypeActiveStoryCount
final :
public
PremiumLimitType
{
50152
std::int32_t get_id()
const
final
{
50153
return
ID
;
50154
}
50155
50156
public
:
50157
50161
premiumLimitTypeActiveStoryCount
();
50162
50164
static
const
std::int32_t
ID
= -1926486372;
50165
50171
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50172
};
50173
50177
class
premiumLimitTypeWeeklyPostedStoryCount
final :
public
PremiumLimitType
{
50182
std::int32_t get_id()
const
final
{
50183
return
ID
;
50184
}
50185
50186
public
:
50187
50191
premiumLimitTypeWeeklyPostedStoryCount
();
50192
50194
static
const
std::int32_t
ID
= -506354313;
50195
50201
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50202
};
50203
50207
class
premiumLimitTypeMonthlyPostedStoryCount
final :
public
PremiumLimitType
{
50212
std::int32_t get_id()
const
final
{
50213
return
ID
;
50214
}
50215