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
starAmount
;
528
532
class
affiliateInfo
final :
public
Object
{
537
std::int32_t get_id()
const
final
{
538
return
ID
;
539
}
540
541
public
:
543
int32
commission_per_mille_
;
545
int53
affiliate_chat_id_
;
547
object_ptr<starAmount>
star_amount_
;
548
552
affiliateInfo
();
553
561
affiliateInfo
(
int32
commission_per_mille_
,
int53
affiliate_chat_id_
,
object_ptr<starAmount>
&&
star_amount_
);
562
564
static
const
std::int32_t
ID
= -1312695046;
565
571
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
572
};
573
574
class
affiliateProgramParameters
;
575
576
class
starAmount
;
577
581
class
affiliateProgramInfo
final :
public
Object
{
586
std::int32_t get_id()
const
final
{
587
return
ID
;
588
}
589
590
public
:
592
object_ptr<affiliateProgramParameters>
parameters_
;
594
int32
end_date_
;
596
object_ptr<starAmount>
daily_revenue_per_user_amount_
;
597
601
affiliateProgramInfo
();
602
610
affiliateProgramInfo
(
object_ptr<affiliateProgramParameters>
&&
parameters_
,
int32
end_date_
,
object_ptr<starAmount>
&&
daily_revenue_per_user_amount_
);
611
613
static
const
std::int32_t
ID
= -1761810251;
614
620
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
621
};
622
626
class
affiliateProgramParameters
final :
public
Object
{
631
std::int32_t get_id()
const
final
{
632
return
ID
;
633
}
634
635
public
:
637
int32
commission_per_mille_
;
639
int32
month_count_
;
640
644
affiliateProgramParameters
();
645
652
affiliateProgramParameters
(
int32
commission_per_mille_
,
int32
month_count_
);
653
655
static
const
std::int32_t
ID
= 1642662996;
656
662
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
663
};
664
669
class
AffiliateProgramSortOrder
:
public
Object
{
670
public
:
671
};
672
676
class
affiliateProgramSortOrderProfitability
final :
public
AffiliateProgramSortOrder
{
681
std::int32_t get_id()
const
final
{
682
return
ID
;
683
}
684
685
public
:
686
690
affiliateProgramSortOrderProfitability
();
691
693
static
const
std::int32_t
ID
= -1963282585;
694
700
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
701
};
702
706
class
affiliateProgramSortOrderCreationDate
final :
public
AffiliateProgramSortOrder
{
711
std::int32_t get_id()
const
final
{
712
return
ID
;
713
}
714
715
public
:
716
720
affiliateProgramSortOrderCreationDate
();
721
723
static
const
std::int32_t
ID
= -1558628083;
724
730
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
731
};
732
736
class
affiliateProgramSortOrderRevenue
final :
public
AffiliateProgramSortOrder
{
741
std::int32_t get_id()
const
final
{
742
return
ID
;
743
}
744
745
public
:
746
750
affiliateProgramSortOrderRevenue
();
751
753
static
const
std::int32_t
ID
= 1923269304;
754
760
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
761
};
762
767
class
AffiliateType
:
public
Object
{
768
public
:
769
};
770
774
class
affiliateTypeCurrentUser
final :
public
AffiliateType
{
779
std::int32_t get_id()
const
final
{
780
return
ID
;
781
}
782
783
public
:
784
788
affiliateTypeCurrentUser
();
789
791
static
const
std::int32_t
ID
= 1453785589;
792
798
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
799
};
800
804
class
affiliateTypeBot
final :
public
AffiliateType
{
809
std::int32_t get_id()
const
final
{
810
return
ID
;
811
}
812
813
public
:
815
int53
user_id_
;
816
820
affiliateTypeBot
();
821
827
explicit
affiliateTypeBot
(
int53
user_id_
);
828
830
static
const
std::int32_t
ID
= -1032587200;
831
837
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
838
};
839
843
class
affiliateTypeChannel
final :
public
AffiliateType
{
848
std::int32_t get_id()
const
final
{
849
return
ID
;
850
}
851
852
public
:
854
int53
chat_id_
;
855
859
affiliateTypeChannel
();
860
866
explicit
affiliateTypeChannel
(
int53
chat_id_
);
867
869
static
const
std::int32_t
ID
= -683939735;
870
876
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
877
};
878
879
class
file
;
880
884
class
alternativeVideo
final :
public
Object
{
889
std::int32_t get_id()
const
final
{
890
return
ID
;
891
}
892
893
public
:
895
int64
id_
;
897
int32
width_
;
899
int32
height_
;
901
string
codec_
;
903
object_ptr<file>
hls_file_
;
905
object_ptr<file>
video_
;
906
910
alternativeVideo
();
911
922
alternativeVideo
(
int64
id_
,
int32
width_
,
int32
height_
,
string
const
&
codec_
,
object_ptr<file>
&&
hls_file_
,
object_ptr<file>
&&
video_
);
923
925
static
const
std::int32_t
ID
= 483379470;
926
932
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
933
};
934
935
class
file
;
936
940
class
animatedChatPhoto
final :
public
Object
{
945
std::int32_t get_id()
const
final
{
946
return
ID
;
947
}
948
949
public
:
951
int32
length_
;
953
object_ptr<file>
file_
;
955
double
main_frame_timestamp_
;
956
960
animatedChatPhoto
();
961
969
animatedChatPhoto
(
int32
length_
,
object_ptr<file>
&&
file_
,
double
main_frame_timestamp_
);
970
972
static
const
std::int32_t
ID
= 191994926;
973
979
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
980
};
981
982
class
file
;
983
984
class
sticker
;
985
989
class
animatedEmoji
final :
public
Object
{
994
std::int32_t get_id()
const
final
{
995
return
ID
;
996
}
997
998
public
:
1000
object_ptr<sticker>
sticker_
;
1002
int32
sticker_width_
;
1004
int32
sticker_height_
;
1006
int32
fitzpatrick_type_
;
1008
object_ptr<file>
sound_
;
1009
1013
animatedEmoji
();
1014
1024
animatedEmoji
(
object_ptr<sticker>
&&
sticker_
,
int32
sticker_width_
,
int32
sticker_height_
,
int32
fitzpatrick_type_
,
object_ptr<file>
&&
sound_
);
1025
1027
static
const
std::int32_t
ID
= 1378918079;
1028
1034
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1035
};
1036
1037
class
file
;
1038
1039
class
minithumbnail
;
1040
1041
class
thumbnail
;
1042
1046
class
animation
final :
public
Object
{
1051
std::int32_t get_id()
const
final
{
1052
return
ID
;
1053
}
1054
1055
public
:
1057
int32
duration_
;
1059
int32
width_
;
1061
int32
height_
;
1063
string
file_name_
;
1065
string
mime_type_
;
1067
bool
has_stickers_
;
1069
object_ptr<minithumbnail>
minithumbnail_
;
1071
object_ptr<thumbnail>
thumbnail_
;
1073
object_ptr<file>
animation_
;
1074
1078
animation
();
1079
1093
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_
);
1094
1096
static
const
std::int32_t
ID
= -872359106;
1097
1103
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1104
};
1105
1106
class
animation
;
1107
1111
class
animations
final :
public
Object
{
1116
std::int32_t get_id()
const
final
{
1117
return
ID
;
1118
}
1119
1120
public
:
1122
array<object_ptr<animation>
>
animations_
;
1123
1127
animations
();
1128
1134
explicit
animations
(
array
<
object_ptr<animation>
> &&
animations_
);
1135
1137
static
const
std::int32_t
ID
= 344216945;
1138
1144
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1145
};
1146
1150
class
archiveChatListSettings
final :
public
Object
{
1155
std::int32_t get_id()
const
final
{
1156
return
ID
;
1157
}
1158
1159
public
:
1161
bool
archive_and_mute_new_chats_from_unknown_users_
;
1163
bool
keep_unmuted_chats_archived_
;
1165
bool
keep_chats_from_folders_archived_
;
1166
1170
archiveChatListSettings
();
1171
1179
archiveChatListSettings
(
bool
archive_and_mute_new_chats_from_unknown_users_
,
bool
keep_unmuted_chats_archived_
,
bool
keep_chats_from_folders_archived_
);
1180
1182
static
const
std::int32_t
ID
= 1058499236;
1183
1189
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1190
};
1191
1192
class
attachmentMenuBotColor
;
1193
1194
class
file
;
1195
1199
class
attachmentMenuBot
final :
public
Object
{
1204
std::int32_t get_id()
const
final
{
1205
return
ID
;
1206
}
1207
1208
public
:
1210
int53
bot_user_id_
;
1212
bool
supports_self_chat_
;
1214
bool
supports_user_chats_
;
1216
bool
supports_bot_chats_
;
1218
bool
supports_group_chats_
;
1220
bool
supports_channel_chats_
;
1222
bool
request_write_access_
;
1224
bool
is_added_
;
1226
bool
show_in_attachment_menu_
;
1228
bool
show_in_side_menu_
;
1230
bool
show_disclaimer_in_side_menu_
;
1232
string
name_
;
1234
object_ptr<attachmentMenuBotColor>
name_color_
;
1236
object_ptr<file>
default_icon_
;
1238
object_ptr<file>
ios_static_icon_
;
1240
object_ptr<file>
ios_animated_icon_
;
1242
object_ptr<file>
ios_side_menu_icon_
;
1244
object_ptr<file>
android_icon_
;
1246
object_ptr<file>
android_side_menu_icon_
;
1248
object_ptr<file>
macos_icon_
;
1250
object_ptr<file>
macos_side_menu_icon_
;
1252
object_ptr<attachmentMenuBotColor>
icon_color_
;
1254
object_ptr<file>
web_app_placeholder_
;
1255
1259
attachmentMenuBot
();
1260
1288
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_
);
1289
1291
static
const
std::int32_t
ID
= -1183966273;
1292
1298
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1299
};
1300
1304
class
attachmentMenuBotColor
final :
public
Object
{
1309
std::int32_t get_id()
const
final
{
1310
return
ID
;
1311
}
1312
1313
public
:
1315
int32
light_color_
;
1317
int32
dark_color_
;
1318
1322
attachmentMenuBotColor
();
1323
1330
attachmentMenuBotColor
(
int32
light_color_
,
int32
dark_color_
);
1331
1333
static
const
std::int32_t
ID
= 1680039612;
1334
1340
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1341
};
1342
1343
class
file
;
1344
1345
class
minithumbnail
;
1346
1347
class
thumbnail
;
1348
1352
class
audio
final :
public
Object
{
1357
std::int32_t get_id()
const
final
{
1358
return
ID
;
1359
}
1360
1361
public
:
1363
int32
duration_
;
1365
string
title_
;
1367
string
performer_
;
1369
string
file_name_
;
1371
string
mime_type_
;
1373
object_ptr<minithumbnail>
album_cover_minithumbnail_
;
1375
object_ptr<thumbnail>
album_cover_thumbnail_
;
1377
array<object_ptr<thumbnail>
>
external_album_covers_
;
1379
object_ptr<file>
audio_
;
1380
1384
audio
();
1385
1399
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_
);
1400
1402
static
const
std::int32_t
ID
= -166398841;
1403
1409
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1410
};
1411
1412
class
AuthenticationCodeType
;
1413
1417
class
authenticationCodeInfo
final :
public
Object
{
1422
std::int32_t get_id()
const
final
{
1423
return
ID
;
1424
}
1425
1426
public
:
1428
string
phone_number_
;
1430
object_ptr<AuthenticationCodeType>
type_
;
1432
object_ptr<AuthenticationCodeType>
next_type_
;
1434
int32
timeout_
;
1435
1439
authenticationCodeInfo
();
1440
1449
authenticationCodeInfo
(
string
const
&
phone_number_
,
object_ptr<AuthenticationCodeType>
&&
type_
,
object_ptr<AuthenticationCodeType>
&&
next_type_
,
int32
timeout_
);
1450
1452
static
const
std::int32_t
ID
= -860345416;
1453
1459
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1460
};
1461
1462
class
FirebaseDeviceVerificationParameters
;
1463
1468
class
AuthenticationCodeType
:
public
Object
{
1469
public
:
1470
};
1471
1475
class
authenticationCodeTypeTelegramMessage
final :
public
AuthenticationCodeType
{
1480
std::int32_t get_id()
const
final
{
1481
return
ID
;
1482
}
1483
1484
public
:
1486
int32
length_
;
1487
1491
authenticationCodeTypeTelegramMessage
();
1492
1498
explicit
authenticationCodeTypeTelegramMessage
(
int32
length_
);
1499
1501
static
const
std::int32_t
ID
= 2079628074;
1502
1508
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1509
};
1510
1514
class
authenticationCodeTypeSms
final :
public
AuthenticationCodeType
{
1519
std::int32_t get_id()
const
final
{
1520
return
ID
;
1521
}
1522
1523
public
:
1525
int32
length_
;
1526
1530
authenticationCodeTypeSms
();
1531
1537
explicit
authenticationCodeTypeSms
(
int32
length_
);
1538
1540
static
const
std::int32_t
ID
= 962650760;
1541
1547
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1548
};
1549
1553
class
authenticationCodeTypeSmsWord
final :
public
AuthenticationCodeType
{
1558
std::int32_t get_id()
const
final
{
1559
return
ID
;
1560
}
1561
1562
public
:
1564
string
first_letter_
;
1565
1569
authenticationCodeTypeSmsWord
();
1570
1576
explicit
authenticationCodeTypeSmsWord
(
string
const
&
first_letter_
);
1577
1579
static
const
std::int32_t
ID
= -1509540765;
1580
1586
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1587
};
1588
1592
class
authenticationCodeTypeSmsPhrase
final :
public
AuthenticationCodeType
{
1597
std::int32_t get_id()
const
final
{
1598
return
ID
;
1599
}
1600
1601
public
:
1603
string
first_word_
;
1604
1608
authenticationCodeTypeSmsPhrase
();
1609
1615
explicit
authenticationCodeTypeSmsPhrase
(
string
const
&
first_word_
);
1616
1618
static
const
std::int32_t
ID
= 784108753;
1619
1625
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1626
};
1627
1631
class
authenticationCodeTypeCall
final :
public
AuthenticationCodeType
{
1636
std::int32_t get_id()
const
final
{
1637
return
ID
;
1638
}
1639
1640
public
:
1642
int32
length_
;
1643
1647
authenticationCodeTypeCall
();
1648
1654
explicit
authenticationCodeTypeCall
(
int32
length_
);
1655
1657
static
const
std::int32_t
ID
= 1636265063;
1658
1664
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1665
};
1666
1670
class
authenticationCodeTypeFlashCall
final :
public
AuthenticationCodeType
{
1675
std::int32_t get_id()
const
final
{
1676
return
ID
;
1677
}
1678
1679
public
:
1681
string
pattern_
;
1682
1686
authenticationCodeTypeFlashCall
();
1687
1693
explicit
authenticationCodeTypeFlashCall
(
string
const
&
pattern_
);
1694
1696
static
const
std::int32_t
ID
= 1395882402;
1697
1703
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1704
};
1705
1709
class
authenticationCodeTypeMissedCall
final :
public
AuthenticationCodeType
{
1714
std::int32_t get_id()
const
final
{
1715
return
ID
;
1716
}
1717
1718
public
:
1720
string
phone_number_prefix_
;
1722
int32
length_
;
1723
1727
authenticationCodeTypeMissedCall
();
1728
1735
authenticationCodeTypeMissedCall
(
string
const
&
phone_number_prefix_
,
int32
length_
);
1736
1738
static
const
std::int32_t
ID
= 700123783;
1739
1745
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1746
};
1747
1751
class
authenticationCodeTypeFragment
final :
public
AuthenticationCodeType
{
1756
std::int32_t get_id()
const
final
{
1757
return
ID
;
1758
}
1759
1760
public
:
1762
string
url_
;
1764
int32
length_
;
1765
1769
authenticationCodeTypeFragment
();
1770
1777
authenticationCodeTypeFragment
(
string
const
&
url_
,
int32
length_
);
1778
1780
static
const
std::int32_t
ID
= -2129693491;
1781
1787
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1788
};
1789
1793
class
authenticationCodeTypeFirebaseAndroid
final :
public
AuthenticationCodeType
{
1798
std::int32_t get_id()
const
final
{
1799
return
ID
;
1800
}
1801
1802
public
:
1804
object_ptr<FirebaseDeviceVerificationParameters>
device_verification_parameters_
;
1806
int32
length_
;
1807
1811
authenticationCodeTypeFirebaseAndroid
();
1812
1819
authenticationCodeTypeFirebaseAndroid
(
object_ptr<FirebaseDeviceVerificationParameters>
&&
device_verification_parameters_
,
int32
length_
);
1820
1822
static
const
std::int32_t
ID
= 1872475422;
1823
1829
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1830
};
1831
1835
class
authenticationCodeTypeFirebaseIos
final :
public
AuthenticationCodeType
{
1840
std::int32_t get_id()
const
final
{
1841
return
ID
;
1842
}
1843
1844
public
:
1846
string
receipt_
;
1848
int32
push_timeout_
;
1850
int32
length_
;
1851
1855
authenticationCodeTypeFirebaseIos
();
1856
1864
authenticationCodeTypeFirebaseIos
(
string
const
&
receipt_
,
int32
push_timeout_
,
int32
length_
);
1865
1867
static
const
std::int32_t
ID
= -11162989;
1868
1874
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1875
};
1876
1877
class
EmailAddressResetState
;
1878
1879
class
authenticationCodeInfo
;
1880
1881
class
emailAddressAuthenticationCodeInfo
;
1882
1883
class
termsOfService
;
1884
1889
class
AuthorizationState
:
public
Object
{
1890
public
:
1891
};
1892
1896
class
authorizationStateWaitTdlibParameters
final :
public
AuthorizationState
{
1901
std::int32_t get_id()
const
final
{
1902
return
ID
;
1903
}
1904
1905
public
:
1906
1910
authorizationStateWaitTdlibParameters
();
1911
1913
static
const
std::int32_t
ID
= 904720988;
1914
1920
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1921
};
1922
1926
class
authorizationStateWaitPhoneNumber
final :
public
AuthorizationState
{
1931
std::int32_t get_id()
const
final
{
1932
return
ID
;
1933
}
1934
1935
public
:
1936
1940
authorizationStateWaitPhoneNumber
();
1941
1943
static
const
std::int32_t
ID
= 306402531;
1944
1950
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1951
};
1952
1956
class
authorizationStateWaitPremiumPurchase
final :
public
AuthorizationState
{
1961
std::int32_t get_id()
const
final
{
1962
return
ID
;
1963
}
1964
1965
public
:
1967
string
store_product_id_
;
1968
1972
authorizationStateWaitPremiumPurchase
();
1973
1979
explicit
authorizationStateWaitPremiumPurchase
(
string
const
&
store_product_id_
);
1980
1982
static
const
std::int32_t
ID
= -862487743;
1983
1989
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
1990
};
1991
1995
class
authorizationStateWaitEmailAddress
final :
public
AuthorizationState
{
2000
std::int32_t get_id()
const
final
{
2001
return
ID
;
2002
}
2003
2004
public
:
2006
bool
allow_apple_id_
;
2008
bool
allow_google_id_
;
2009
2013
authorizationStateWaitEmailAddress
();
2014
2021
authorizationStateWaitEmailAddress
(
bool
allow_apple_id_
,
bool
allow_google_id_
);
2022
2024
static
const
std::int32_t
ID
= 1040478663;
2025
2031
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2032
};
2033
2037
class
authorizationStateWaitEmailCode
final :
public
AuthorizationState
{
2042
std::int32_t get_id()
const
final
{
2043
return
ID
;
2044
}
2045
2046
public
:
2048
bool
allow_apple_id_
;
2050
bool
allow_google_id_
;
2052
object_ptr<emailAddressAuthenticationCodeInfo>
code_info_
;
2054
object_ptr<EmailAddressResetState>
email_address_reset_state_
;
2055
2059
authorizationStateWaitEmailCode
();
2060
2069
authorizationStateWaitEmailCode
(
bool
allow_apple_id_
,
bool
allow_google_id_
,
object_ptr<emailAddressAuthenticationCodeInfo>
&&
code_info_
,
object_ptr<EmailAddressResetState>
&&
email_address_reset_state_
);
2070
2072
static
const
std::int32_t
ID
= -1868627365;
2073
2079
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2080
};
2081
2085
class
authorizationStateWaitCode
final :
public
AuthorizationState
{
2090
std::int32_t get_id()
const
final
{
2091
return
ID
;
2092
}
2093
2094
public
:
2096
object_ptr<authenticationCodeInfo>
code_info_
;
2097
2101
authorizationStateWaitCode
();
2102
2108
explicit
authorizationStateWaitCode
(
object_ptr<authenticationCodeInfo>
&&
code_info_
);
2109
2111
static
const
std::int32_t
ID
= 52643073;
2112
2118
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2119
};
2120
2124
class
authorizationStateWaitOtherDeviceConfirmation
final :
public
AuthorizationState
{
2129
std::int32_t get_id()
const
final
{
2130
return
ID
;
2131
}
2132
2133
public
:
2135
string
link_
;
2136
2140
authorizationStateWaitOtherDeviceConfirmation
();
2141
2147
explicit
authorizationStateWaitOtherDeviceConfirmation
(
string
const
&
link_
);
2148
2150
static
const
std::int32_t
ID
= 860166378;
2151
2157
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2158
};
2159
2163
class
authorizationStateWaitRegistration
final :
public
AuthorizationState
{
2168
std::int32_t get_id()
const
final
{
2169
return
ID
;
2170
}
2171
2172
public
:
2174
object_ptr<termsOfService>
terms_of_service_
;
2175
2179
authorizationStateWaitRegistration
();
2180
2186
explicit
authorizationStateWaitRegistration
(
object_ptr<termsOfService>
&&
terms_of_service_
);
2187
2189
static
const
std::int32_t
ID
= 550350511;
2190
2196
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2197
};
2198
2202
class
authorizationStateWaitPassword
final :
public
AuthorizationState
{
2207
std::int32_t get_id()
const
final
{
2208
return
ID
;
2209
}
2210
2211
public
:
2213
string
password_hint_
;
2215
bool
has_recovery_email_address_
;
2217
bool
has_passport_data_
;
2219
string
recovery_email_address_pattern_
;
2220
2224
authorizationStateWaitPassword
();
2225
2234
authorizationStateWaitPassword
(
string
const
&
password_hint_
,
bool
has_recovery_email_address_
,
bool
has_passport_data_
,
string
const
&
recovery_email_address_pattern_
);
2235
2237
static
const
std::int32_t
ID
= 112238030;
2238
2244
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2245
};
2246
2250
class
authorizationStateReady
final :
public
AuthorizationState
{
2255
std::int32_t get_id()
const
final
{
2256
return
ID
;
2257
}
2258
2259
public
:
2260
2264
authorizationStateReady
();
2265
2267
static
const
std::int32_t
ID
= -1834871737;
2268
2274
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2275
};
2276
2280
class
authorizationStateLoggingOut
final :
public
AuthorizationState
{
2285
std::int32_t get_id()
const
final
{
2286
return
ID
;
2287
}
2288
2289
public
:
2290
2294
authorizationStateLoggingOut
();
2295
2297
static
const
std::int32_t
ID
= 154449270;
2298
2304
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2305
};
2306
2310
class
authorizationStateClosing
final :
public
AuthorizationState
{
2315
std::int32_t get_id()
const
final
{
2316
return
ID
;
2317
}
2318
2319
public
:
2320
2324
authorizationStateClosing
();
2325
2327
static
const
std::int32_t
ID
= 445855311;
2328
2334
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2335
};
2336
2340
class
authorizationStateClosed
final :
public
AuthorizationState
{
2345
std::int32_t get_id()
const
final
{
2346
return
ID
;
2347
}
2348
2349
public
:
2350
2354
authorizationStateClosed
();
2355
2357
static
const
std::int32_t
ID
= 1526047584;
2358
2364
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2365
};
2366
2370
class
autoDownloadSettings
final :
public
Object
{
2375
std::int32_t get_id()
const
final
{
2376
return
ID
;
2377
}
2378
2379
public
:
2381
bool
is_auto_download_enabled_
;
2383
int32
max_photo_file_size_
;
2385
int53
max_video_file_size_
;
2387
int53
max_other_file_size_
;
2389
int32
video_upload_bitrate_
;
2391
bool
preload_large_videos_
;
2393
bool
preload_next_audio_
;
2395
bool
preload_stories_
;
2397
bool
use_less_data_for_calls_
;
2398
2402
autoDownloadSettings
();
2403
2417
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_
);
2418
2420
static
const
std::int32_t
ID
= 991433696;
2421
2427
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2428
};
2429
2430
class
autoDownloadSettings
;
2431
2435
class
autoDownloadSettingsPresets
final :
public
Object
{
2440
std::int32_t get_id()
const
final
{
2441
return
ID
;
2442
}
2443
2444
public
:
2446
object_ptr<autoDownloadSettings>
low_
;
2448
object_ptr<autoDownloadSettings>
medium_
;
2450
object_ptr<autoDownloadSettings>
high_
;
2451
2455
autoDownloadSettingsPresets
();
2456
2464
autoDownloadSettingsPresets
(
object_ptr<autoDownloadSettings>
&&
low_
,
object_ptr<autoDownloadSettings>
&&
medium_
,
object_ptr<autoDownloadSettings>
&&
high_
);
2465
2467
static
const
std::int32_t
ID
= -782099166;
2468
2474
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2475
};
2476
2477
class
autosaveSettingsException
;
2478
2479
class
scopeAutosaveSettings
;
2480
2484
class
autosaveSettings
final :
public
Object
{
2489
std::int32_t get_id()
const
final
{
2490
return
ID
;
2491
}
2492
2493
public
:
2495
object_ptr<scopeAutosaveSettings>
private_chat_settings_
;
2497
object_ptr<scopeAutosaveSettings>
group_settings_
;
2499
object_ptr<scopeAutosaveSettings>
channel_settings_
;
2501
array<object_ptr<autosaveSettingsException>
>
exceptions_
;
2502
2506
autosaveSettings
();
2507
2516
autosaveSettings
(
object_ptr<scopeAutosaveSettings>
&&
private_chat_settings_
,
object_ptr<scopeAutosaveSettings>
&&
group_settings_
,
object_ptr<scopeAutosaveSettings>
&&
channel_settings_
,
array
<
object_ptr<autosaveSettingsException>
> &&
exceptions_
);
2517
2519
static
const
std::int32_t
ID
= 1629412502;
2520
2526
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2527
};
2528
2529
class
scopeAutosaveSettings
;
2530
2534
class
autosaveSettingsException
final :
public
Object
{
2539
std::int32_t get_id()
const
final
{
2540
return
ID
;
2541
}
2542
2543
public
:
2545
int53
chat_id_
;
2547
object_ptr<scopeAutosaveSettings>
settings_
;
2548
2552
autosaveSettingsException
();
2553
2560
autosaveSettingsException
(
int53
chat_id_
,
object_ptr<scopeAutosaveSettings>
&&
settings_
);
2561
2563
static
const
std::int32_t
ID
= 1483470280;
2564
2570
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2571
};
2572
2577
class
AutosaveSettingsScope
:
public
Object
{
2578
public
:
2579
};
2580
2584
class
autosaveSettingsScopePrivateChats
final :
public
AutosaveSettingsScope
{
2589
std::int32_t get_id()
const
final
{
2590
return
ID
;
2591
}
2592
2593
public
:
2594
2598
autosaveSettingsScopePrivateChats
();
2599
2601
static
const
std::int32_t
ID
= 1395227007;
2602
2608
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2609
};
2610
2614
class
autosaveSettingsScopeGroupChats
final :
public
AutosaveSettingsScope
{
2619
std::int32_t get_id()
const
final
{
2620
return
ID
;
2621
}
2622
2623
public
:
2624
2628
autosaveSettingsScopeGroupChats
();
2629
2631
static
const
std::int32_t
ID
= 853544526;
2632
2638
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2639
};
2640
2644
class
autosaveSettingsScopeChannelChats
final :
public
AutosaveSettingsScope
{
2649
std::int32_t get_id()
const
final
{
2650
return
ID
;
2651
}
2652
2653
public
:
2654
2658
autosaveSettingsScopeChannelChats
();
2659
2661
static
const
std::int32_t
ID
= -499572783;
2662
2668
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2669
};
2670
2674
class
autosaveSettingsScopeChat
final :
public
AutosaveSettingsScope
{
2679
std::int32_t get_id()
const
final
{
2680
return
ID
;
2681
}
2682
2683
public
:
2685
int53
chat_id_
;
2686
2690
autosaveSettingsScopeChat
();
2691
2697
explicit
autosaveSettingsScopeChat
(
int53
chat_id_
);
2698
2700
static
const
std::int32_t
ID
= -1632255255;
2701
2707
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2708
};
2709
2710
class
gift
;
2711
2715
class
availableGift
final :
public
Object
{
2720
std::int32_t get_id()
const
final
{
2721
return
ID
;
2722
}
2723
2724
public
:
2726
object_ptr<gift>
gift_
;
2728
int32
resale_count_
;
2730
int53
min_resale_star_count_
;
2732
string
title_
;
2733
2737
availableGift
();
2738
2747
availableGift
(
object_ptr<gift>
&&
gift_
,
int32
resale_count_
,
int53
min_resale_star_count_
,
string
const
&
title_
);
2748
2750
static
const
std::int32_t
ID
= 850530502;
2751
2757
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2758
};
2759
2760
class
availableGift
;
2761
2765
class
availableGifts
final :
public
Object
{
2770
std::int32_t get_id()
const
final
{
2771
return
ID
;
2772
}
2773
2774
public
:
2776
array<object_ptr<availableGift>
>
gifts_
;
2777
2781
availableGifts
();
2782
2788
explicit
availableGifts
(
array
<
object_ptr<availableGift>
> &&
gifts_
);
2789
2791
static
const
std::int32_t
ID
= -1450341886;
2792
2798
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2799
};
2800
2801
class
ReactionType
;
2802
2806
class
availableReaction
final :
public
Object
{
2811
std::int32_t get_id()
const
final
{
2812
return
ID
;
2813
}
2814
2815
public
:
2817
object_ptr<ReactionType>
type_
;
2819
bool
needs_premium_
;
2820
2824
availableReaction
();
2825
2832
availableReaction
(
object_ptr<ReactionType>
&&
type_
,
bool
needs_premium_
);
2833
2835
static
const
std::int32_t
ID
= -117292153;
2836
2842
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2843
};
2844
2845
class
ReactionUnavailabilityReason
;
2846
2847
class
availableReaction
;
2848
2852
class
availableReactions
final :
public
Object
{
2857
std::int32_t get_id()
const
final
{
2858
return
ID
;
2859
}
2860
2861
public
:
2863
array<object_ptr<availableReaction>
>
top_reactions_
;
2865
array<object_ptr<availableReaction>
>
recent_reactions_
;
2867
array<object_ptr<availableReaction>
>
popular_reactions_
;
2869
bool
allow_custom_emoji_
;
2871
bool
are_tags_
;
2873
object_ptr<ReactionUnavailabilityReason>
unavailability_reason_
;
2874
2878
availableReactions
();
2879
2890
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_
);
2891
2893
static
const
std::int32_t
ID
= 912529522;
2894
2900
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2901
};
2902
2903
class
BackgroundType
;
2904
2905
class
document
;
2906
2910
class
background
final :
public
Object
{
2915
std::int32_t get_id()
const
final
{
2916
return
ID
;
2917
}
2918
2919
public
:
2921
int64
id_
;
2923
bool
is_default_
;
2925
bool
is_dark_
;
2927
string
name_
;
2929
object_ptr<document>
document_
;
2931
object_ptr<BackgroundType>
type_
;
2932
2936
background
();
2937
2948
background
(
int64
id_
,
bool
is_default_
,
bool
is_dark_
,
string
const
&
name_
,
object_ptr<document>
&&
document_
,
object_ptr<BackgroundType>
&&
type_
);
2949
2951
static
const
std::int32_t
ID
= -429971172;
2952
2958
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
2959
};
2960
2965
class
BackgroundFill
:
public
Object
{
2966
public
:
2967
};
2968
2972
class
backgroundFillSolid
final :
public
BackgroundFill
{
2977
std::int32_t get_id()
const
final
{
2978
return
ID
;
2979
}
2980
2981
public
:
2983
int32
color_
;
2984
2988
backgroundFillSolid
();
2989
2995
explicit
backgroundFillSolid
(
int32
color_
);
2996
2998
static
const
std::int32_t
ID
= 1010678813;
2999
3005
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3006
};
3007
3011
class
backgroundFillGradient
final :
public
BackgroundFill
{
3016
std::int32_t get_id()
const
final
{
3017
return
ID
;
3018
}
3019
3020
public
:
3022
int32
top_color_
;
3024
int32
bottom_color_
;
3026
int32
rotation_angle_
;
3027
3031
backgroundFillGradient
();
3032
3040
backgroundFillGradient
(
int32
top_color_
,
int32
bottom_color_
,
int32
rotation_angle_
);
3041
3043
static
const
std::int32_t
ID
= -1839206017;
3044
3050
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3051
};
3052
3056
class
backgroundFillFreeformGradient
final :
public
BackgroundFill
{
3061
std::int32_t get_id()
const
final
{
3062
return
ID
;
3063
}
3064
3065
public
:
3067
array<int32>
colors_
;
3068
3072
backgroundFillFreeformGradient
();
3073
3079
explicit
backgroundFillFreeformGradient
(
array<int32>
&&
colors_
);
3080
3082
static
const
std::int32_t
ID
= -1145469255;
3083
3089
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3090
};
3091
3092
class
BackgroundFill
;
3093
3098
class
BackgroundType
:
public
Object
{
3099
public
:
3100
};
3101
3105
class
backgroundTypeWallpaper
final :
public
BackgroundType
{
3110
std::int32_t get_id()
const
final
{
3111
return
ID
;
3112
}
3113
3114
public
:
3116
bool
is_blurred_
;
3118
bool
is_moving_
;
3119
3123
backgroundTypeWallpaper
();
3124
3131
backgroundTypeWallpaper
(
bool
is_blurred_
,
bool
is_moving_
);
3132
3134
static
const
std::int32_t
ID
= 1972128891;
3135
3141
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3142
};
3143
3147
class
backgroundTypePattern
final :
public
BackgroundType
{
3152
std::int32_t get_id()
const
final
{
3153
return
ID
;
3154
}
3155
3156
public
:
3158
object_ptr<BackgroundFill>
fill_
;
3160
int32
intensity_
;
3162
bool
is_inverted_
;
3164
bool
is_moving_
;
3165
3169
backgroundTypePattern
();
3170
3179
backgroundTypePattern
(
object_ptr<BackgroundFill>
&&
fill_
,
int32
intensity_
,
bool
is_inverted_
,
bool
is_moving_
);
3180
3182
static
const
std::int32_t
ID
= 1290213117;
3183
3189
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3190
};
3191
3195
class
backgroundTypeFill
final :
public
BackgroundType
{
3200
std::int32_t get_id()
const
final
{
3201
return
ID
;
3202
}
3203
3204
public
:
3206
object_ptr<BackgroundFill>
fill_
;
3207
3211
backgroundTypeFill
();
3212
3218
explicit
backgroundTypeFill
(
object_ptr<BackgroundFill>
&&
fill_
);
3219
3221
static
const
std::int32_t
ID
= 993008684;
3222
3228
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3229
};
3230
3234
class
backgroundTypeChatTheme
final :
public
BackgroundType
{
3239
std::int32_t get_id()
const
final
{
3240
return
ID
;
3241
}
3242
3243
public
:
3245
string
theme_name_
;
3246
3250
backgroundTypeChatTheme
();
3251
3257
explicit
backgroundTypeChatTheme
(
string
const
&
theme_name_
);
3258
3260
static
const
std::int32_t
ID
= 1299879762;
3261
3267
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3268
};
3269
3270
class
background
;
3271
3275
class
backgrounds
final :
public
Object
{
3280
std::int32_t get_id()
const
final
{
3281
return
ID
;
3282
}
3283
3284
public
:
3286
array<object_ptr<background>
>
backgrounds_
;
3287
3291
backgrounds
();
3292
3298
explicit
backgrounds
(
array
<
object_ptr<background>
> &&
backgrounds_
);
3299
3301
static
const
std::int32_t
ID
= 724728704;
3302
3308
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3309
};
3310
3314
class
bankCardActionOpenUrl
final :
public
Object
{
3319
std::int32_t get_id()
const
final
{
3320
return
ID
;
3321
}
3322
3323
public
:
3325
string
text_
;
3327
string
url_
;
3328
3332
bankCardActionOpenUrl
();
3333
3340
bankCardActionOpenUrl
(
string
const
&
text_
,
string
const
&
url_
);
3341
3343
static
const
std::int32_t
ID
= -196454267;
3344
3350
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3351
};
3352
3353
class
bankCardActionOpenUrl
;
3354
3358
class
bankCardInfo
final :
public
Object
{
3363
std::int32_t get_id()
const
final
{
3364
return
ID
;
3365
}
3366
3367
public
:
3369
string
title_
;
3371
array<object_ptr<bankCardActionOpenUrl>
>
actions_
;
3372
3376
bankCardInfo
();
3377
3384
bankCardInfo
(
string
const
&
title_
,
array
<
object_ptr<bankCardActionOpenUrl>
> &&
actions_
);
3385
3387
static
const
std::int32_t
ID
= -2116647730;
3388
3394
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3395
};
3396
3397
class
ChatMemberStatus
;
3398
3402
class
basicGroup
final :
public
Object
{
3407
std::int32_t get_id()
const
final
{
3408
return
ID
;
3409
}
3410
3411
public
:
3413
int53
id_
;
3415
int32
member_count_
;
3417
object_ptr<ChatMemberStatus>
status_
;
3419
bool
is_active_
;
3421
int53
upgraded_to_supergroup_id_
;
3422
3426
basicGroup
();
3427
3437
basicGroup
(
int53
id_
,
int32
member_count_
,
object_ptr<ChatMemberStatus>
&&
status_
,
bool
is_active_
,
int53
upgraded_to_supergroup_id_
);
3438
3440
static
const
std::int32_t
ID
= -194767217;
3441
3447
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3448
};
3449
3450
class
botCommands
;
3451
3452
class
chatInviteLink
;
3453
3454
class
chatMember
;
3455
3456
class
chatPhoto
;
3457
3461
class
basicGroupFullInfo
final :
public
Object
{
3466
std::int32_t get_id()
const
final
{
3467
return
ID
;
3468
}
3469
3470
public
:
3472
object_ptr<chatPhoto>
photo_
;
3474
string
description_
;
3476
int53
creator_user_id_
;
3478
array<object_ptr<chatMember>
>
members_
;
3480
bool
can_hide_members_
;
3482
bool
can_toggle_aggressive_anti_spam_
;
3484
object_ptr<chatInviteLink>
invite_link_
;
3486
array<object_ptr<botCommands>
>
bot_commands_
;
3487
3491
basicGroupFullInfo
();
3492
3505
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_
);
3506
3508
static
const
std::int32_t
ID
= -1879035520;
3509
3515
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3516
};
3517
3521
class
birthdate
final :
public
Object
{
3526
std::int32_t get_id()
const
final
{
3527
return
ID
;
3528
}
3529
3530
public
:
3532
int32
day_
;
3534
int32
month_
;
3536
int32
year_
;
3537
3541
birthdate
();
3542
3550
birthdate
(
int32
day_
,
int32
month_
,
int32
year_
);
3551
3553
static
const
std::int32_t
ID
= 1644064030;
3554
3560
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3561
};
3562
3567
class
BlockList
:
public
Object
{
3568
public
:
3569
};
3570
3574
class
blockListMain
final :
public
BlockList
{
3579
std::int32_t get_id()
const
final
{
3580
return
ID
;
3581
}
3582
3583
public
:
3584
3588
blockListMain
();
3589
3591
static
const
std::int32_t
ID
= 1352930172;
3592
3598
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3599
};
3600
3604
class
blockListStories
final :
public
BlockList
{
3609
std::int32_t get_id()
const
final
{
3610
return
ID
;
3611
}
3612
3613
public
:
3614
3618
blockListStories
();
3619
3621
static
const
std::int32_t
ID
= 103323228;
3622
3628
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3629
};
3630
3634
class
botCommand
final :
public
Object
{
3639
std::int32_t get_id()
const
final
{
3640
return
ID
;
3641
}
3642
3643
public
:
3645
string
command_
;
3647
string
description_
;
3648
3652
botCommand
();
3653
3660
botCommand
(
string
const
&
command_
,
string
const
&
description_
);
3661
3663
static
const
std::int32_t
ID
= -1032140601;
3664
3670
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3671
};
3672
3677
class
BotCommandScope
:
public
Object
{
3678
public
:
3679
};
3680
3684
class
botCommandScopeDefault
final :
public
BotCommandScope
{
3689
std::int32_t get_id()
const
final
{
3690
return
ID
;
3691
}
3692
3693
public
:
3694
3698
botCommandScopeDefault
();
3699
3701
static
const
std::int32_t
ID
= 795652779;
3702
3708
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3709
};
3710
3714
class
botCommandScopeAllPrivateChats
final :
public
BotCommandScope
{
3719
std::int32_t get_id()
const
final
{
3720
return
ID
;
3721
}
3722
3723
public
:
3724
3728
botCommandScopeAllPrivateChats
();
3729
3731
static
const
std::int32_t
ID
= -344889543;
3732
3738
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3739
};
3740
3744
class
botCommandScopeAllGroupChats
final :
public
BotCommandScope
{
3749
std::int32_t get_id()
const
final
{
3750
return
ID
;
3751
}
3752
3753
public
:
3754
3758
botCommandScopeAllGroupChats
();
3759
3761
static
const
std::int32_t
ID
= -981088162;
3762
3768
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3769
};
3770
3774
class
botCommandScopeAllChatAdministrators
final :
public
BotCommandScope
{
3779
std::int32_t get_id()
const
final
{
3780
return
ID
;
3781
}
3782
3783
public
:
3784
3788
botCommandScopeAllChatAdministrators
();
3789
3791
static
const
std::int32_t
ID
= 1998329169;
3792
3798
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3799
};
3800
3804
class
botCommandScopeChat
final :
public
BotCommandScope
{
3809
std::int32_t get_id()
const
final
{
3810
return
ID
;
3811
}
3812
3813
public
:
3815
int53
chat_id_
;
3816
3820
botCommandScopeChat
();
3821
3827
explicit
botCommandScopeChat
(
int53
chat_id_
);
3828
3830
static
const
std::int32_t
ID
= -430234971;
3831
3837
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3838
};
3839
3843
class
botCommandScopeChatAdministrators
final :
public
BotCommandScope
{
3848
std::int32_t get_id()
const
final
{
3849
return
ID
;
3850
}
3851
3852
public
:
3854
int53
chat_id_
;
3855
3859
botCommandScopeChatAdministrators
();
3860
3866
explicit
botCommandScopeChatAdministrators
(
int53
chat_id_
);
3867
3869
static
const
std::int32_t
ID
= 1119682126;
3870
3876
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3877
};
3878
3882
class
botCommandScopeChatMember
final :
public
BotCommandScope
{
3887
std::int32_t get_id()
const
final
{
3888
return
ID
;
3889
}
3890
3891
public
:
3893
int53
chat_id_
;
3895
int53
user_id_
;
3896
3900
botCommandScopeChatMember
();
3901
3908
botCommandScopeChatMember
(
int53
chat_id_
,
int53
user_id_
);
3909
3911
static
const
std::int32_t
ID
= -211380494;
3912
3918
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3919
};
3920
3921
class
botCommand
;
3922
3926
class
botCommands
final :
public
Object
{
3931
std::int32_t get_id()
const
final
{
3932
return
ID
;
3933
}
3934
3935
public
:
3937
int53
bot_user_id_
;
3939
array<object_ptr<botCommand>
>
commands_
;
3940
3944
botCommands
();
3945
3952
botCommands
(
int53
bot_user_id_
,
array
<
object_ptr<botCommand>
> &&
commands_
);
3953
3955
static
const
std::int32_t
ID
= 1741364468;
3956
3962
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
3963
};
3964
3965
class
InternalLinkType
;
3966
3967
class
affiliateProgramInfo
;
3968
3969
class
animation
;
3970
3971
class
botCommand
;
3972
3973
class
botMenuButton
;
3974
3975
class
botVerificationParameters
;
3976
3977
class
chatAdministratorRights
;
3978
3979
class
photo
;
3980
3984
class
botInfo
final :
public
Object
{
3989
std::int32_t get_id()
const
final
{
3990
return
ID
;
3991
}
3992
3993
public
:
3995
string
short_description_
;
3997
string
description_
;
3999
object_ptr<photo>
photo_
;
4001
object_ptr<animation>
animation_
;
4003
object_ptr<botMenuButton>
menu_button_
;
4005
array<object_ptr<botCommand>
>
commands_
;
4007
string
privacy_policy_url_
;
4009
object_ptr<chatAdministratorRights>
default_group_administrator_rights_
;
4011
object_ptr<chatAdministratorRights>
default_channel_administrator_rights_
;
4013
object_ptr<affiliateProgramInfo>
affiliate_program_
;
4015
int32
web_app_background_light_color_
;
4017
int32
web_app_background_dark_color_
;
4019
int32
web_app_header_light_color_
;
4021
int32
web_app_header_dark_color_
;
4023
object_ptr<botVerificationParameters>
verification_parameters_
;
4025
bool
can_get_revenue_statistics_
;
4027
bool
can_manage_emoji_status_
;
4029
bool
has_media_previews_
;
4031
object_ptr<InternalLinkType>
edit_commands_link_
;
4033
object_ptr<InternalLinkType>
edit_description_link_
;
4035
object_ptr<InternalLinkType>
edit_description_media_link_
;
4037
object_ptr<InternalLinkType>
edit_settings_link_
;
4038
4042
botInfo
();
4043
4070
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_
);
4071
4073
static
const
std::int32_t
ID
= 1771886272;
4074
4080
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4081
};
4082
4083
class
StoryContent
;
4084
4088
class
botMediaPreview
final :
public
Object
{
4093
std::int32_t get_id()
const
final
{
4094
return
ID
;
4095
}
4096
4097
public
:
4099
int32
date_
;
4101
object_ptr<StoryContent>
content_
;
4102
4106
botMediaPreview
();
4107
4114
botMediaPreview
(
int32
date_
,
object_ptr<StoryContent>
&&
content_
);
4115
4117
static
const
std::int32_t
ID
= -1632264984;
4118
4124
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4125
};
4126
4127
class
botMediaPreview
;
4128
4132
class
botMediaPreviewInfo
final :
public
Object
{
4137
std::int32_t get_id()
const
final
{
4138
return
ID
;
4139
}
4140
4141
public
:
4143
array<object_ptr<botMediaPreview>
>
previews_
;
4145
array<string>
language_codes_
;
4146
4150
botMediaPreviewInfo
();
4151
4158
botMediaPreviewInfo
(
array
<
object_ptr<botMediaPreview>
> &&
previews_
,
array<string>
&&
language_codes_
);
4159
4161
static
const
std::int32_t
ID
= -284783012;
4162
4168
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4169
};
4170
4171
class
botMediaPreview
;
4172
4176
class
botMediaPreviews
final :
public
Object
{
4181
std::int32_t get_id()
const
final
{
4182
return
ID
;
4183
}
4184
4185
public
:
4187
array<object_ptr<botMediaPreview>
>
previews_
;
4188
4192
botMediaPreviews
();
4193
4199
explicit
botMediaPreviews
(
array
<
object_ptr<botMediaPreview>
> &&
previews_
);
4200
4202
static
const
std::int32_t
ID
= -1787720586;
4203
4209
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4210
};
4211
4215
class
botMenuButton
final :
public
Object
{
4220
std::int32_t get_id()
const
final
{
4221
return
ID
;
4222
}
4223
4224
public
:
4226
string
text_
;
4228
string
url_
;
4229
4233
botMenuButton
();
4234
4241
botMenuButton
(
string
const
&
text_
,
string
const
&
url_
);
4242
4244
static
const
std::int32_t
ID
= -944407322;
4245
4251
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4252
};
4253
4254
class
formattedText
;
4255
4259
class
botVerification
final :
public
Object
{
4264
std::int32_t get_id()
const
final
{
4265
return
ID
;
4266
}
4267
4268
public
:
4270
int53
bot_user_id_
;
4272
int64
icon_custom_emoji_id_
;
4274
object_ptr<formattedText>
custom_description_
;
4275
4279
botVerification
();
4280
4288
botVerification
(
int53
bot_user_id_
,
int64
icon_custom_emoji_id_
,
object_ptr<formattedText>
&&
custom_description_
);
4289
4291
static
const
std::int32_t
ID
= -1319061774;
4292
4298
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4299
};
4300
4301
class
formattedText
;
4302
4306
class
botVerificationParameters
final :
public
Object
{
4311
std::int32_t get_id()
const
final
{
4312
return
ID
;
4313
}
4314
4315
public
:
4317
int64
icon_custom_emoji_id_
;
4319
string
organization_name_
;
4321
object_ptr<formattedText>
default_custom_description_
;
4323
bool
can_set_custom_description_
;
4324
4328
botVerificationParameters
();
4329
4338
botVerificationParameters
(
int64
icon_custom_emoji_id_
,
string
const
&
organization_name_
,
object_ptr<formattedText>
&&
default_custom_description_
,
bool
can_set_custom_description_
);
4339
4341
static
const
std::int32_t
ID
= -723737249;
4342
4348
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4349
};
4350
4351
class
webApp
;
4352
4357
class
BotWriteAccessAllowReason
:
public
Object
{
4358
public
:
4359
};
4360
4364
class
botWriteAccessAllowReasonConnectedWebsite
final :
public
BotWriteAccessAllowReason
{
4369
std::int32_t get_id()
const
final
{
4370
return
ID
;
4371
}
4372
4373
public
:
4375
string
domain_name_
;
4376
4380
botWriteAccessAllowReasonConnectedWebsite
();
4381
4387
explicit
botWriteAccessAllowReasonConnectedWebsite
(
string
const
&
domain_name_
);
4388
4390
static
const
std::int32_t
ID
= 2016325603;
4391
4397
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4398
};
4399
4403
class
botWriteAccessAllowReasonAddedToAttachmentMenu
final :
public
BotWriteAccessAllowReason
{
4408
std::int32_t get_id()
const
final
{
4409
return
ID
;
4410
}
4411
4412
public
:
4413
4417
botWriteAccessAllowReasonAddedToAttachmentMenu
();
4418
4420
static
const
std::int32_t
ID
= -2104795235;
4421
4427
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4428
};
4429
4433
class
botWriteAccessAllowReasonLaunchedWebApp
final :
public
BotWriteAccessAllowReason
{
4438
std::int32_t get_id()
const
final
{
4439
return
ID
;
4440
}
4441
4442
public
:
4444
object_ptr<webApp>
web_app_
;
4445
4449
botWriteAccessAllowReasonLaunchedWebApp
();
4450
4456
explicit
botWriteAccessAllowReasonLaunchedWebApp
(
object_ptr<webApp>
&&
web_app_
);
4457
4459
static
const
std::int32_t
ID
= -240843561;
4460
4466
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4467
};
4468
4472
class
botWriteAccessAllowReasonAcceptedRequest
final :
public
BotWriteAccessAllowReason
{
4477
std::int32_t get_id()
const
final
{
4478
return
ID
;
4479
}
4480
4481
public
:
4482
4486
botWriteAccessAllowReasonAcceptedRequest
();
4487
4489
static
const
std::int32_t
ID
= -1983497220;
4490
4496
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4497
};
4498
4503
class
BusinessAwayMessageSchedule
:
public
Object
{
4504
public
:
4505
};
4506
4510
class
businessAwayMessageScheduleAlways
final :
public
BusinessAwayMessageSchedule
{
4515
std::int32_t get_id()
const
final
{
4516
return
ID
;
4517
}
4518
4519
public
:
4520
4524
businessAwayMessageScheduleAlways
();
4525
4527
static
const
std::int32_t
ID
= -910564679;
4528
4534
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4535
};
4536
4540
class
businessAwayMessageScheduleOutsideOfOpeningHours
final :
public
BusinessAwayMessageSchedule
{
4545
std::int32_t get_id()
const
final
{
4546
return
ID
;
4547
}
4548
4549
public
:
4550
4554
businessAwayMessageScheduleOutsideOfOpeningHours
();
4555
4557
static
const
std::int32_t
ID
= -968630506;
4558
4564
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4565
};
4566
4570
class
businessAwayMessageScheduleCustom
final :
public
BusinessAwayMessageSchedule
{
4575
std::int32_t get_id()
const
final
{
4576
return
ID
;
4577
}
4578
4579
public
:
4581
int32
start_date_
;
4583
int32
end_date_
;
4584
4588
businessAwayMessageScheduleCustom
();
4589
4596
businessAwayMessageScheduleCustom
(
int32
start_date_
,
int32
end_date_
);
4597
4599
static
const
std::int32_t
ID
= -1967108654;
4600
4606
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4607
};
4608
4609
class
BusinessAwayMessageSchedule
;
4610
4611
class
businessRecipients
;
4612
4616
class
businessAwayMessageSettings
final :
public
Object
{
4621
std::int32_t get_id()
const
final
{
4622
return
ID
;
4623
}
4624
4625
public
:
4627
int32
shortcut_id_
;
4629
object_ptr<businessRecipients>
recipients_
;
4631
object_ptr<BusinessAwayMessageSchedule>
schedule_
;
4633
bool
offline_only_
;
4634
4638
businessAwayMessageSettings
();
4639
4648
businessAwayMessageSettings
(
int32
shortcut_id_
,
object_ptr<businessRecipients>
&&
recipients_
,
object_ptr<BusinessAwayMessageSchedule>
&&
schedule_
,
bool
offline_only_
);
4649
4651
static
const
std::int32_t
ID
= 353084137;
4652
4658
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4659
};
4660
4664
class
businessBotManageBar
final :
public
Object
{
4669
std::int32_t get_id()
const
final
{
4670
return
ID
;
4671
}
4672
4673
public
:
4675
int53
bot_user_id_
;
4677
string
manage_url_
;
4679
bool
is_bot_paused_
;
4681
bool
can_bot_reply_
;
4682
4686
businessBotManageBar
();
4687
4696
businessBotManageBar
(
int53
bot_user_id_
,
string
const
&
manage_url_
,
bool
is_bot_paused_
,
bool
can_bot_reply_
);
4697
4699
static
const
std::int32_t
ID
= -311399806;
4700
4706
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4707
};
4708
4712
class
businessBotRights
final :
public
Object
{
4717
std::int32_t get_id()
const
final
{
4718
return
ID
;
4719
}
4720
4721
public
:
4723
bool
can_reply_
;
4725
bool
can_read_messages_
;
4727
bool
can_delete_sent_messages_
;
4729
bool
can_delete_all_messages_
;
4731
bool
can_edit_name_
;
4733
bool
can_edit_bio_
;
4735
bool
can_edit_profile_photo_
;
4737
bool
can_edit_username_
;
4739
bool
can_view_gifts_and_stars_
;
4741
bool
can_sell_gifts_
;
4743
bool
can_change_gift_settings_
;
4745
bool
can_transfer_and_upgrade_gifts_
;
4747
bool
can_transfer_stars_
;
4749
bool
can_manage_stories_
;
4750
4754
businessBotRights
();
4755
4774
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_
);
4775
4777
static
const
std::int32_t
ID
= 1224839038;
4778
4784
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4785
};
4786
4787
class
formattedText
;
4788
4792
class
businessChatLink
final :
public
Object
{
4797
std::int32_t get_id()
const
final
{
4798
return
ID
;
4799
}
4800
4801
public
:
4803
string
link_
;
4805
object_ptr<formattedText>
text_
;
4807
string
title_
;
4809
int32
view_count_
;
4810
4814
businessChatLink
();
4815
4824
businessChatLink
(
string
const
&
link_
,
object_ptr<formattedText>
&&
text_
,
string
const
&
title_
,
int32
view_count_
);
4825
4827
static
const
std::int32_t
ID
= -1902539901;
4828
4834
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4835
};
4836
4837
class
formattedText
;
4838
4842
class
businessChatLinkInfo
final :
public
Object
{
4847
std::int32_t get_id()
const
final
{
4848
return
ID
;
4849
}
4850
4851
public
:
4853
int53
chat_id_
;
4855
object_ptr<formattedText>
text_
;
4856
4860
businessChatLinkInfo
();
4861
4868
businessChatLinkInfo
(
int53
chat_id_
,
object_ptr<formattedText>
&&
text_
);
4869
4871
static
const
std::int32_t
ID
= -864865105;
4872
4878
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4879
};
4880
4881
class
businessChatLink
;
4882
4886
class
businessChatLinks
final :
public
Object
{
4891
std::int32_t get_id()
const
final
{
4892
return
ID
;
4893
}
4894
4895
public
:
4897
array<object_ptr<businessChatLink>
>
links_
;
4898
4902
businessChatLinks
();
4903
4909
explicit
businessChatLinks
(
array
<
object_ptr<businessChatLink>
> &&
links_
);
4910
4912
static
const
std::int32_t
ID
= 79067036;
4913
4919
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4920
};
4921
4922
class
businessBotRights
;
4923
4924
class
businessRecipients
;
4925
4929
class
businessConnectedBot
final :
public
Object
{
4934
std::int32_t get_id()
const
final
{
4935
return
ID
;
4936
}
4937
4938
public
:
4940
int53
bot_user_id_
;
4942
object_ptr<businessRecipients>
recipients_
;
4944
object_ptr<businessBotRights>
rights_
;
4945
4949
businessConnectedBot
();
4950
4958
businessConnectedBot
(
int53
bot_user_id_
,
object_ptr<businessRecipients>
&&
recipients_
,
object_ptr<businessBotRights>
&&
rights_
);
4959
4961
static
const
std::int32_t
ID
= -1815439021;
4962
4968
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
4969
};
4970
4971
class
businessBotRights
;
4972
4976
class
businessConnection
final :
public
Object
{
4981
std::int32_t get_id()
const
final
{
4982
return
ID
;
4983
}
4984
4985
public
:
4987
string
id_
;
4989
int53
user_id_
;
4991
int53
user_chat_id_
;
4993
int32
date_
;
4995
object_ptr<businessBotRights>
rights_
;
4997
bool
is_enabled_
;
4998
5002
businessConnection
();
5003
5014
businessConnection
(
string
const
&
id_
,
int53
user_id_
,
int53
user_chat_id_
,
int32
date_
,
object_ptr<businessBotRights>
&&
rights_
,
bool
is_enabled_
);
5015
5017
static
const
std::int32_t
ID
= -995703933;
5018
5024
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5025
};
5026
5031
class
BusinessFeature
:
public
Object
{
5032
public
:
5033
};
5034
5038
class
businessFeatureLocation
final :
public
BusinessFeature
{
5043
std::int32_t get_id()
const
final
{
5044
return
ID
;
5045
}
5046
5047
public
:
5048
5052
businessFeatureLocation
();
5053
5055
static
const
std::int32_t
ID
= -1064304004;
5056
5062
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5063
};
5064
5068
class
businessFeatureOpeningHours
final :
public
BusinessFeature
{
5073
std::int32_t get_id()
const
final
{
5074
return
ID
;
5075
}
5076
5077
public
:
5078
5082
businessFeatureOpeningHours
();
5083
5085
static
const
std::int32_t
ID
= 461054701;
5086
5092
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5093
};
5094
5098
class
businessFeatureQuickReplies
final :
public
BusinessFeature
{
5103
std::int32_t get_id()
const
final
{
5104
return
ID
;
5105
}
5106
5107
public
:
5108
5112
businessFeatureQuickReplies
();
5113
5115
static
const
std::int32_t
ID
= -1674048894;
5116
5122
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5123
};
5124
5128
class
businessFeatureGreetingMessage
final :
public
BusinessFeature
{
5133
std::int32_t get_id()
const
final
{
5134
return
ID
;
5135
}
5136
5137
public
:
5138
5142
businessFeatureGreetingMessage
();
5143
5145
static
const
std::int32_t
ID
= 1789424756;
5146
5152
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5153
};
5154
5158
class
businessFeatureAwayMessage
final :
public
BusinessFeature
{
5163
std::int32_t get_id()
const
final
{
5164
return
ID
;
5165
}
5166
5167
public
:
5168
5172
businessFeatureAwayMessage
();
5173
5175
static
const
std::int32_t
ID
= 1090119901;
5176
5182
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5183
};
5184
5188
class
businessFeatureAccountLinks
final :
public
BusinessFeature
{
5193
std::int32_t get_id()
const
final
{
5194
return
ID
;
5195
}
5196
5197
public
:
5198
5202
businessFeatureAccountLinks
();
5203
5205
static
const
std::int32_t
ID
= 1878693646;
5206
5212
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5213
};
5214
5218
class
businessFeatureStartPage
final :
public
BusinessFeature
{
5223
std::int32_t get_id()
const
final
{
5224
return
ID
;
5225
}
5226
5227
public
:
5228
5232
businessFeatureStartPage
();
5233
5235
static
const
std::int32_t
ID
= 401471457;
5236
5242
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5243
};
5244
5248
class
businessFeatureBots
final :
public
BusinessFeature
{
5253
std::int32_t get_id()
const
final
{
5254
return
ID
;
5255
}
5256
5257
public
:
5258
5262
businessFeatureBots
();
5263
5265
static
const
std::int32_t
ID
= 275084773;
5266
5272
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5273
};
5274
5278
class
businessFeatureEmojiStatus
final :
public
BusinessFeature
{
5283
std::int32_t get_id()
const
final
{
5284
return
ID
;
5285
}
5286
5287
public
:
5288
5292
businessFeatureEmojiStatus
();
5293
5295
static
const
std::int32_t
ID
= -846282523;
5296
5302
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5303
};
5304
5308
class
businessFeatureChatFolderTags
final :
public
BusinessFeature
{
5313
std::int32_t get_id()
const
final
{
5314
return
ID
;
5315
}
5316
5317
public
:
5318
5322
businessFeatureChatFolderTags
();
5323
5325
static
const
std::int32_t
ID
= -543880918;
5326
5332
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5333
};
5334
5338
class
businessFeatureUpgradedStories
final :
public
BusinessFeature
{
5343
std::int32_t get_id()
const
final
{
5344
return
ID
;
5345
}
5346
5347
public
:
5348
5352
businessFeatureUpgradedStories
();
5353
5355
static
const
std::int32_t
ID
= -1812245550;
5356
5362
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5363
};
5364
5365
class
BusinessFeature
;
5366
5367
class
animation
;
5368
5372
class
businessFeaturePromotionAnimation
final :
public
Object
{
5377
std::int32_t get_id()
const
final
{
5378
return
ID
;
5379
}
5380
5381
public
:
5383
object_ptr<BusinessFeature>
feature_
;
5385
object_ptr<animation>
animation_
;
5386
5390
businessFeaturePromotionAnimation
();
5391
5398
businessFeaturePromotionAnimation
(
object_ptr<BusinessFeature>
&&
feature_
,
object_ptr<animation>
&&
animation_
);
5399
5401
static
const
std::int32_t
ID
= 2047174666;
5402
5408
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5409
};
5410
5411
class
BusinessFeature
;
5412
5416
class
businessFeatures
final :
public
Object
{
5421
std::int32_t get_id()
const
final
{
5422
return
ID
;
5423
}
5424
5425
public
:
5427
array<object_ptr<BusinessFeature>
>
features_
;
5428
5432
businessFeatures
();
5433
5439
explicit
businessFeatures
(
array
<
object_ptr<BusinessFeature>
> &&
features_
);
5440
5442
static
const
std::int32_t
ID
= -1532468184;
5443
5449
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5450
};
5451
5452
class
businessRecipients
;
5453
5457
class
businessGreetingMessageSettings
final :
public
Object
{
5462
std::int32_t get_id()
const
final
{
5463
return
ID
;
5464
}
5465
5466
public
:
5468
int32
shortcut_id_
;
5470
object_ptr<businessRecipients>
recipients_
;
5472
int32
inactivity_days_
;
5473
5477
businessGreetingMessageSettings
();
5478
5486
businessGreetingMessageSettings
(
int32
shortcut_id_
,
object_ptr<businessRecipients>
&&
recipients_
,
int32
inactivity_days_
);
5487
5489
static
const
std::int32_t
ID
= 1689140754;
5490
5496
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5497
};
5498
5499
class
businessAwayMessageSettings
;
5500
5501
class
businessGreetingMessageSettings
;
5502
5503
class
businessLocation
;
5504
5505
class
businessOpeningHours
;
5506
5507
class
businessStartPage
;
5508
5512
class
businessInfo
final :
public
Object
{
5517
std::int32_t get_id()
const
final
{
5518
return
ID
;
5519
}
5520
5521
public
:
5523
object_ptr<businessLocation>
location_
;
5525
object_ptr<businessOpeningHours>
opening_hours_
;
5527
object_ptr<businessOpeningHours>
local_opening_hours_
;
5529
int32
next_open_in_
;
5531
int32
next_close_in_
;
5533
object_ptr<businessGreetingMessageSettings>
greeting_message_settings_
;
5535
object_ptr<businessAwayMessageSettings>
away_message_settings_
;
5537
object_ptr<businessStartPage>
start_page_
;
5538
5542
businessInfo
();
5543
5556
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_
);
5557
5559
static
const
std::int32_t
ID
= 1428179342;
5560
5566
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5567
};
5568
5569
class
location
;
5570
5574
class
businessLocation
final :
public
Object
{
5579
std::int32_t get_id()
const
final
{
5580
return
ID
;
5581
}
5582
5583
public
:
5585
object_ptr<location>
location_
;
5587
string
address_
;
5588
5592
businessLocation
();
5593
5600
businessLocation
(
object_ptr<location>
&&
location_
,
string
const
&
address_
);
5601
5603
static
const
std::int32_t
ID
= -1084969126;
5604
5610
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5611
};
5612
5613
class
message
;
5614
5618
class
businessMessage
final :
public
Object
{
5623
std::int32_t get_id()
const
final
{
5624
return
ID
;
5625
}
5626
5627
public
:
5629
object_ptr<message>
message_
;
5631
object_ptr<message>
reply_to_message_
;
5632
5636
businessMessage
();
5637
5644
businessMessage
(
object_ptr<message>
&&
message_
,
object_ptr<message>
&&
reply_to_message_
);
5645
5647
static
const
std::int32_t
ID
= -94353850;
5648
5654
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5655
};
5656
5657
class
businessMessage
;
5658
5662
class
businessMessages
final :
public
Object
{
5667
std::int32_t get_id()
const
final
{
5668
return
ID
;
5669
}
5670
5671
public
:
5673
array<object_ptr<businessMessage>
>
messages_
;
5674
5678
businessMessages
();
5679
5685
explicit
businessMessages
(
array
<
object_ptr<businessMessage>
> &&
messages_
);
5686
5688
static
const
std::int32_t
ID
= -764562473;
5689
5695
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5696
};
5697
5698
class
businessOpeningHoursInterval
;
5699
5703
class
businessOpeningHours
final :
public
Object
{
5708
std::int32_t get_id()
const
final
{
5709
return
ID
;
5710
}
5711
5712
public
:
5714
string
time_zone_id_
;
5716
array<object_ptr<businessOpeningHoursInterval>
>
opening_hours_
;
5717
5721
businessOpeningHours
();
5722
5729
businessOpeningHours
(
string
const
&
time_zone_id_
,
array
<
object_ptr<businessOpeningHoursInterval>
> &&
opening_hours_
);
5730
5732
static
const
std::int32_t
ID
= 816603700;
5733
5739
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5740
};
5741
5745
class
businessOpeningHoursInterval
final :
public
Object
{
5750
std::int32_t get_id()
const
final
{
5751
return
ID
;
5752
}
5753
5754
public
:
5756
int32
start_minute_
;
5758
int32
end_minute_
;
5759
5763
businessOpeningHoursInterval
();
5764
5771
businessOpeningHoursInterval
(
int32
start_minute_
,
int32
end_minute_
);
5772
5774
static
const
std::int32_t
ID
= -1108322732;
5775
5781
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5782
};
5783
5787
class
businessRecipients
final :
public
Object
{
5792
std::int32_t get_id()
const
final
{
5793
return
ID
;
5794
}
5795
5796
public
:
5798
array<int53>
chat_ids_
;
5800
array<int53>
excluded_chat_ids_
;
5802
bool
select_existing_chats_
;
5804
bool
select_new_chats_
;
5806
bool
select_contacts_
;
5808
bool
select_non_contacts_
;
5810
bool
exclude_selected_
;
5811
5815
businessRecipients
();
5816
5828
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_
);
5829
5831
static
const
std::int32_t
ID
= 868656909;
5832
5838
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5839
};
5840
5841
class
sticker
;
5842
5846
class
businessStartPage
final :
public
Object
{
5851
std::int32_t get_id()
const
final
{
5852
return
ID
;
5853
}
5854
5855
public
:
5857
string
title_
;
5859
string
message_
;
5861
object_ptr<sticker>
sticker_
;
5862
5866
businessStartPage
();
5867
5875
businessStartPage
(
string
const
&
title_
,
string
const
&
message_
,
object_ptr<sticker>
&&
sticker_
);
5876
5878
static
const
std::int32_t
ID
= -1616709681;
5879
5885
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5886
};
5887
5888
class
CallState
;
5889
5893
class
call
final :
public
Object
{
5898
std::int32_t get_id()
const
final
{
5899
return
ID
;
5900
}
5901
5902
public
:
5904
int32
id_
;
5906
int53
user_id_
;
5908
bool
is_outgoing_
;
5910
bool
is_video_
;
5912
object_ptr<CallState>
state_
;
5913
5917
call
();
5918
5928
call
(
int32
id_
,
int53
user_id_
,
bool
is_outgoing_
,
bool
is_video_
,
object_ptr<CallState>
&&
state_
);
5929
5931
static
const
std::int32_t
ID
= 920360804;
5932
5938
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5939
};
5940
5945
class
CallDiscardReason
:
public
Object
{
5946
public
:
5947
};
5948
5952
class
callDiscardReasonEmpty
final :
public
CallDiscardReason
{
5957
std::int32_t get_id()
const
final
{
5958
return
ID
;
5959
}
5960
5961
public
:
5962
5966
callDiscardReasonEmpty
();
5967
5969
static
const
std::int32_t
ID
= -1258917949;
5970
5976
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
5977
};
5978
5982
class
callDiscardReasonMissed
final :
public
CallDiscardReason
{
5987
std::int32_t get_id()
const
final
{
5988
return
ID
;
5989
}
5990
5991
public
:
5992
5996
callDiscardReasonMissed
();
5997
5999
static
const
std::int32_t
ID
= 1680358012;
6000
6006
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6007
};
6008
6012
class
callDiscardReasonDeclined
final :
public
CallDiscardReason
{
6017
std::int32_t get_id()
const
final
{
6018
return
ID
;
6019
}
6020
6021
public
:
6022
6026
callDiscardReasonDeclined
();
6027
6029
static
const
std::int32_t
ID
= -1729926094;
6030
6036
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6037
};
6038
6042
class
callDiscardReasonDisconnected
final :
public
CallDiscardReason
{
6047
std::int32_t get_id()
const
final
{
6048
return
ID
;
6049
}
6050
6051
public
:
6052
6056
callDiscardReasonDisconnected
();
6057
6059
static
const
std::int32_t
ID
= -1342872670;
6060
6066
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6067
};
6068
6072
class
callDiscardReasonHungUp
final :
public
CallDiscardReason
{
6077
std::int32_t get_id()
const
final
{
6078
return
ID
;
6079
}
6080
6081
public
:
6082
6086
callDiscardReasonHungUp
();
6087
6089
static
const
std::int32_t
ID
= 438216166;
6090
6096
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6097
};
6098
6102
class
callDiscardReasonUpgradeToGroupCall
final :
public
CallDiscardReason
{
6107
std::int32_t get_id()
const
final
{
6108
return
ID
;
6109
}
6110
6111
public
:
6113
string
invite_link_
;
6114
6118
callDiscardReasonUpgradeToGroupCall
();
6119
6125
explicit
callDiscardReasonUpgradeToGroupCall
(
string
const
&
invite_link_
);
6126
6128
static
const
std::int32_t
ID
= 1254509319;
6129
6135
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6136
};
6137
6141
class
callId
final :
public
Object
{
6146
std::int32_t get_id()
const
final
{
6147
return
ID
;
6148
}
6149
6150
public
:
6152
int32
id_
;
6153
6157
callId
();
6158
6164
explicit
callId
(
int32
id_
);
6165
6167
static
const
std::int32_t
ID
= 65717769;
6168
6174
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6175
};
6176
6181
class
CallProblem
:
public
Object
{
6182
public
:
6183
};
6184
6188
class
callProblemEcho
final :
public
CallProblem
{
6193
std::int32_t get_id()
const
final
{
6194
return
ID
;
6195
}
6196
6197
public
:
6198
6202
callProblemEcho
();
6203
6205
static
const
std::int32_t
ID
= 801116548;
6206
6212
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6213
};
6214
6218
class
callProblemNoise
final :
public
CallProblem
{
6223
std::int32_t get_id()
const
final
{
6224
return
ID
;
6225
}
6226
6227
public
:
6228
6232
callProblemNoise
();
6233
6235
static
const
std::int32_t
ID
= 1053065359;
6236
6242
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6243
};
6244
6248
class
callProblemInterruptions
final :
public
CallProblem
{
6253
std::int32_t get_id()
const
final
{
6254
return
ID
;
6255
}
6256
6257
public
:
6258
6262
callProblemInterruptions
();
6263
6265
static
const
std::int32_t
ID
= 1119493218;
6266
6272
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6273
};
6274
6278
class
callProblemDistortedSpeech
final :
public
CallProblem
{
6283
std::int32_t get_id()
const
final
{
6284
return
ID
;
6285
}
6286
6287
public
:
6288
6292
callProblemDistortedSpeech
();
6293
6295
static
const
std::int32_t
ID
= 379960581;
6296
6302
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6303
};
6304
6308
class
callProblemSilentLocal
final :
public
CallProblem
{
6313
std::int32_t get_id()
const
final
{
6314
return
ID
;
6315
}
6316
6317
public
:
6318
6322
callProblemSilentLocal
();
6323
6325
static
const
std::int32_t
ID
= 253652790;
6326
6332
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6333
};
6334
6338
class
callProblemSilentRemote
final :
public
CallProblem
{
6343
std::int32_t get_id()
const
final
{
6344
return
ID
;
6345
}
6346
6347
public
:
6348
6352
callProblemSilentRemote
();
6353
6355
static
const
std::int32_t
ID
= 573634714;
6356
6362
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6363
};
6364
6368
class
callProblemDropped
final :
public
CallProblem
{
6373
std::int32_t get_id()
const
final
{
6374
return
ID
;
6375
}
6376
6377
public
:
6378
6382
callProblemDropped
();
6383
6385
static
const
std::int32_t
ID
= -1207311487;
6386
6392
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6393
};
6394
6398
class
callProblemDistortedVideo
final :
public
CallProblem
{
6403
std::int32_t get_id()
const
final
{
6404
return
ID
;
6405
}
6406
6407
public
:
6408
6412
callProblemDistortedVideo
();
6413
6415
static
const
std::int32_t
ID
= 385245706;
6416
6422
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6423
};
6424
6428
class
callProblemPixelatedVideo
final :
public
CallProblem
{
6433
std::int32_t get_id()
const
final
{
6434
return
ID
;
6435
}
6436
6437
public
:
6438
6442
callProblemPixelatedVideo
();
6443
6445
static
const
std::int32_t
ID
= 2115315411;
6446
6452
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6453
};
6454
6458
class
callProtocol
final :
public
Object
{
6463
std::int32_t get_id()
const
final
{
6464
return
ID
;
6465
}
6466
6467
public
:
6469
bool
udp_p2p_
;
6471
bool
udp_reflector_
;
6473
int32
min_layer_
;
6475
int32
max_layer_
;
6477
array<string>
library_versions_
;
6478
6482
callProtocol
();
6483
6493
callProtocol
(
bool
udp_p2p_
,
bool
udp_reflector_
,
int32
min_layer_
,
int32
max_layer_
,
array<string>
&&
library_versions_
);
6494
6496
static
const
std::int32_t
ID
= -1075562897;
6497
6503
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6504
};
6505
6506
class
CallServerType
;
6507
6511
class
callServer
final :
public
Object
{
6516
std::int32_t get_id()
const
final
{
6517
return
ID
;
6518
}
6519
6520
public
:
6522
int64
id_
;
6524
string
ip_address_
;
6526
string
ipv6_address_
;
6528
int32
port_
;
6530
object_ptr<CallServerType>
type_
;
6531
6535
callServer
();
6536
6546
callServer
(
int64
id_
,
string
const
&
ip_address_
,
string
const
&
ipv6_address_
,
int32
port_
,
object_ptr<CallServerType>
&&
type_
);
6547
6549
static
const
std::int32_t
ID
= 1865932695;
6550
6556
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6557
};
6558
6563
class
CallServerType
:
public
Object
{
6564
public
:
6565
};
6566
6570
class
callServerTypeTelegramReflector
final :
public
CallServerType
{
6575
std::int32_t get_id()
const
final
{
6576
return
ID
;
6577
}
6578
6579
public
:
6581
bytes
peer_tag_
;
6583
bool
is_tcp_
;
6584
6588
callServerTypeTelegramReflector
();
6589
6596
callServerTypeTelegramReflector
(
bytes
const
&
peer_tag_
,
bool
is_tcp_
);
6597
6599
static
const
std::int32_t
ID
= 850343189;
6600
6606
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6607
};
6608
6612
class
callServerTypeWebrtc
final :
public
CallServerType
{
6617
std::int32_t get_id()
const
final
{
6618
return
ID
;
6619
}
6620
6621
public
:
6623
string
username_
;
6625
string
password_
;
6627
bool
supports_turn_
;
6629
bool
supports_stun_
;
6630
6634
callServerTypeWebrtc
();
6635
6644
callServerTypeWebrtc
(
string
const
&
username_
,
string
const
&
password_
,
bool
supports_turn_
,
bool
supports_stun_
);
6645
6647
static
const
std::int32_t
ID
= 1250622821;
6648
6654
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6655
};
6656
6657
class
CallDiscardReason
;
6658
6659
class
callProtocol
;
6660
6661
class
callServer
;
6662
6663
class
error
;
6664
6669
class
CallState
:
public
Object
{
6670
public
:
6671
};
6672
6676
class
callStatePending
final :
public
CallState
{
6681
std::int32_t get_id()
const
final
{
6682
return
ID
;
6683
}
6684
6685
public
:
6687
bool
is_created_
;
6689
bool
is_received_
;
6690
6694
callStatePending
();
6695
6702
callStatePending
(
bool
is_created_
,
bool
is_received_
);
6703
6705
static
const
std::int32_t
ID
= 1073048620;
6706
6712
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6713
};
6714
6718
class
callStateExchangingKeys
final :
public
CallState
{
6723
std::int32_t get_id()
const
final
{
6724
return
ID
;
6725
}
6726
6727
public
:
6728
6732
callStateExchangingKeys
();
6733
6735
static
const
std::int32_t
ID
= -1848149403;
6736
6742
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6743
};
6744
6748
class
callStateReady
final :
public
CallState
{
6753
std::int32_t get_id()
const
final
{
6754
return
ID
;
6755
}
6756
6757
public
:
6759
object_ptr<callProtocol>
protocol_
;
6761
array<object_ptr<callServer>
>
servers_
;
6763
string
config_
;
6765
bytes
encryption_key_
;
6767
array<string>
emojis_
;
6769
bool
allow_p2p_
;
6771
bool
is_group_call_supported_
;
6773
string
custom_parameters_
;
6774
6778
callStateReady
();
6779
6792
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_
);
6793
6795
static
const
std::int32_t
ID
= -281776921;
6796
6802
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6803
};
6804
6808
class
callStateHangingUp
final :
public
CallState
{
6813
std::int32_t get_id()
const
final
{
6814
return
ID
;
6815
}
6816
6817
public
:
6818
6822
callStateHangingUp
();
6823
6825
static
const
std::int32_t
ID
= -2133790038;
6826
6832
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6833
};
6834
6838
class
callStateDiscarded
final :
public
CallState
{
6843
std::int32_t get_id()
const
final
{
6844
return
ID
;
6845
}
6846
6847
public
:
6849
object_ptr<CallDiscardReason>
reason_
;
6851
bool
need_rating_
;
6853
bool
need_debug_information_
;
6855
bool
need_log_
;
6856
6860
callStateDiscarded
();
6861
6870
callStateDiscarded
(
object_ptr<CallDiscardReason>
&&
reason_
,
bool
need_rating_
,
bool
need_debug_information_
,
bool
need_log_
);
6871
6873
static
const
std::int32_t
ID
= 1394310213;
6874
6880
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6881
};
6882
6886
class
callStateError
final :
public
CallState
{
6891
std::int32_t get_id()
const
final
{
6892
return
ID
;
6893
}
6894
6895
public
:
6897
object_ptr<error>
error_
;
6898
6902
callStateError
();
6903
6909
explicit
callStateError
(
object_ptr<error>
&&
error_
);
6910
6912
static
const
std::int32_t
ID
= -975215467;
6913
6919
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6920
};
6921
6925
class
callbackQueryAnswer
final :
public
Object
{
6930
std::int32_t get_id()
const
final
{
6931
return
ID
;
6932
}
6933
6934
public
:
6936
string
text_
;
6938
bool
show_alert_
;
6940
string
url_
;
6941
6945
callbackQueryAnswer
();
6946
6954
callbackQueryAnswer
(
string
const
&
text_
,
bool
show_alert_
,
string
const
&
url_
);
6955
6957
static
const
std::int32_t
ID
= 360867933;
6958
6964
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
6965
};
6966
6971
class
CallbackQueryPayload
:
public
Object
{
6972
public
:
6973
};
6974
6978
class
callbackQueryPayloadData
final :
public
CallbackQueryPayload
{
6983
std::int32_t get_id()
const
final
{
6984
return
ID
;
6985
}
6986
6987
public
:
6989
bytes
data_
;
6990
6994
callbackQueryPayloadData
();
6995
7001
explicit
callbackQueryPayloadData
(
bytes
const
&
data_
);
7002
7004
static
const
std::int32_t
ID
= -1977729946;
7005
7011
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7012
};
7013
7017
class
callbackQueryPayloadDataWithPassword
final :
public
CallbackQueryPayload
{
7022
std::int32_t get_id()
const
final
{
7023
return
ID
;
7024
}
7025
7026
public
:
7028
string
password_
;
7030
bytes
data_
;
7031
7035
callbackQueryPayloadDataWithPassword
();
7036
7043
callbackQueryPayloadDataWithPassword
(
string
const
&
password_
,
bytes
const
&
data_
);
7044
7046
static
const
std::int32_t
ID
= 1340266738;
7047
7053
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7054
};
7055
7059
class
callbackQueryPayloadGame
final :
public
CallbackQueryPayload
{
7064
std::int32_t get_id()
const
final
{
7065
return
ID
;
7066
}
7067
7068
public
:
7070
string
game_short_name_
;
7071
7075
callbackQueryPayloadGame
();
7076
7082
explicit
callbackQueryPayloadGame
(
string
const
&
game_short_name_
);
7083
7085
static
const
std::int32_t
ID
= 1303571512;
7086
7092
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7093
};
7094
7099
class
CanPostStoryResult
:
public
Object
{
7100
public
:
7101
};
7102
7106
class
canPostStoryResultOk
final :
public
CanPostStoryResult
{
7111
std::int32_t get_id()
const
final
{
7112
return
ID
;
7113
}
7114
7115
public
:
7117
int32
story_count_
;
7118
7122
canPostStoryResultOk
();
7123
7129
explicit
canPostStoryResultOk
(
int32
story_count_
);
7130
7132
static
const
std::int32_t
ID
= 2083205610;
7133
7139
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7140
};
7141
7145
class
canPostStoryResultPremiumNeeded
final :
public
CanPostStoryResult
{
7150
std::int32_t get_id()
const
final
{
7151
return
ID
;
7152
}
7153
7154
public
:
7155
7159
canPostStoryResultPremiumNeeded
();
7160
7162
static
const
std::int32_t
ID
= 935130501;
7163
7169
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7170
};
7171
7175
class
canPostStoryResultBoostNeeded
final :
public
CanPostStoryResult
{
7180
std::int32_t get_id()
const
final
{
7181
return
ID
;
7182
}
7183
7184
public
:
7185
7189
canPostStoryResultBoostNeeded
();
7190
7192
static
const
std::int32_t
ID
= 80246195;
7193
7199
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7200
};
7201
7205
class
canPostStoryResultActiveStoryLimitExceeded
final :
public
CanPostStoryResult
{
7210
std::int32_t get_id()
const
final
{
7211
return
ID
;
7212
}
7213
7214
public
:
7215
7219
canPostStoryResultActiveStoryLimitExceeded
();
7220
7222
static
const
std::int32_t
ID
= -1640759002;
7223
7229
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7230
};
7231
7235
class
canPostStoryResultWeeklyLimitExceeded
final :
public
CanPostStoryResult
{
7240
std::int32_t get_id()
const
final
{
7241
return
ID
;
7242
}
7243
7244
public
:
7246
int32
retry_after_
;
7247
7251
canPostStoryResultWeeklyLimitExceeded
();
7252
7258
explicit
canPostStoryResultWeeklyLimitExceeded
(
int32
retry_after_
);
7259
7261
static
const
std::int32_t
ID
= 552858605;
7262
7268
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7269
};
7270
7274
class
canPostStoryResultMonthlyLimitExceeded
final :
public
CanPostStoryResult
{
7279
std::int32_t get_id()
const
final
{
7280
return
ID
;
7281
}
7282
7283
public
:
7285
int32
retry_after_
;
7286
7290
canPostStoryResultMonthlyLimitExceeded
();
7291
7297
explicit
canPostStoryResultMonthlyLimitExceeded
(
int32
retry_after_
);
7298
7300
static
const
std::int32_t
ID
= -784208562;
7301
7307
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7308
};
7309
7314
class
CanSendMessageToUserResult
:
public
Object
{
7315
public
:
7316
};
7317
7321
class
canSendMessageToUserResultOk
final :
public
CanSendMessageToUserResult
{
7326
std::int32_t get_id()
const
final
{
7327
return
ID
;
7328
}
7329
7330
public
:
7331
7335
canSendMessageToUserResultOk
();
7336
7338
static
const
std::int32_t
ID
= 1530583042;
7339
7345
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7346
};
7347
7351
class
canSendMessageToUserResultUserHasPaidMessages
final :
public
CanSendMessageToUserResult
{
7356
std::int32_t get_id()
const
final
{
7357
return
ID
;
7358
}
7359
7360
public
:
7362
int53
outgoing_paid_message_star_count_
;
7363
7367
canSendMessageToUserResultUserHasPaidMessages
();
7368
7374
explicit
canSendMessageToUserResultUserHasPaidMessages
(
int53
outgoing_paid_message_star_count_
);
7375
7377
static
const
std::int32_t
ID
= -1346487602;
7378
7384
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7385
};
7386
7390
class
canSendMessageToUserResultUserIsDeleted
final :
public
CanSendMessageToUserResult
{
7395
std::int32_t get_id()
const
final
{
7396
return
ID
;
7397
}
7398
7399
public
:
7400
7404
canSendMessageToUserResultUserIsDeleted
();
7405
7407
static
const
std::int32_t
ID
= -1944639903;
7408
7414
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7415
};
7416
7420
class
canSendMessageToUserResultUserRestrictsNewChats
final :
public
CanSendMessageToUserResult
{
7425
std::int32_t get_id()
const
final
{
7426
return
ID
;
7427
}
7428
7429
public
:
7430
7434
canSendMessageToUserResultUserRestrictsNewChats
();
7435
7437
static
const
std::int32_t
ID
= 1929699797;
7438
7444
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7445
};
7446
7451
class
CanTransferOwnershipResult
:
public
Object
{
7452
public
:
7453
};
7454
7458
class
canTransferOwnershipResultOk
final :
public
CanTransferOwnershipResult
{
7463
std::int32_t get_id()
const
final
{
7464
return
ID
;
7465
}
7466
7467
public
:
7468
7472
canTransferOwnershipResultOk
();
7473
7475
static
const
std::int32_t
ID
= -89881021;
7476
7482
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7483
};
7484
7488
class
canTransferOwnershipResultPasswordNeeded
final :
public
CanTransferOwnershipResult
{
7493
std::int32_t get_id()
const
final
{
7494
return
ID
;
7495
}
7496
7497
public
:
7498
7502
canTransferOwnershipResultPasswordNeeded
();
7503
7505
static
const
std::int32_t
ID
= 1548372703;
7506
7512
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7513
};
7514
7518
class
canTransferOwnershipResultPasswordTooFresh
final :
public
CanTransferOwnershipResult
{
7523
std::int32_t get_id()
const
final
{
7524
return
ID
;
7525
}
7526
7527
public
:
7529
int32
retry_after_
;
7530
7534
canTransferOwnershipResultPasswordTooFresh
();
7535
7541
explicit
canTransferOwnershipResultPasswordTooFresh
(
int32
retry_after_
);
7542
7544
static
const
std::int32_t
ID
= 811440913;
7545
7551
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7552
};
7553
7557
class
canTransferOwnershipResultSessionTooFresh
final :
public
CanTransferOwnershipResult
{
7562
std::int32_t get_id()
const
final
{
7563
return
ID
;
7564
}
7565
7566
public
:
7568
int32
retry_after_
;
7569
7573
canTransferOwnershipResultSessionTooFresh
();
7574
7580
explicit
canTransferOwnershipResultSessionTooFresh
(
int32
retry_after_
);
7581
7583
static
const
std::int32_t
ID
= 984664289;
7584
7590
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7591
};
7592
7593
class
BlockList
;
7594
7595
class
ChatActionBar
;
7596
7597
class
ChatAvailableReactions
;
7598
7599
class
ChatList
;
7600
7601
class
ChatType
;
7602
7603
class
MessageSender
;
7604
7605
class
businessBotManageBar
;
7606
7607
class
chatBackground
;
7608
7609
class
chatJoinRequestsInfo
;
7610
7611
class
chatNotificationSettings
;
7612
7613
class
chatPermissions
;
7614
7615
class
chatPhotoInfo
;
7616
7617
class
chatPosition
;
7618
7619
class
draftMessage
;
7620
7621
class
emojiStatus
;
7622
7623
class
message
;
7624
7625
class
videoChat
;
7626
7630
class
chat
final :
public
Object
{
7635
std::int32_t get_id()
const
final
{
7636
return
ID
;
7637
}
7638
7639
public
:
7641
int53
id_
;
7643
object_ptr<ChatType>
type_
;
7645
string
title_
;
7647
object_ptr<chatPhotoInfo>
photo_
;
7649
int32
accent_color_id_
;
7651
int64
background_custom_emoji_id_
;
7653
int32
profile_accent_color_id_
;
7655
int64
profile_background_custom_emoji_id_
;
7657
object_ptr<chatPermissions>
permissions_
;
7659
object_ptr<message>
last_message_
;
7661
array<object_ptr<chatPosition>
>
positions_
;
7663
array<object_ptr<ChatList>
>
chat_lists_
;
7665
object_ptr<MessageSender>
message_sender_id_
;
7667
object_ptr<BlockList>
block_list_
;
7669
bool
has_protected_content_
;
7671
bool
is_translatable_
;
7673
bool
is_marked_as_unread_
;
7675
bool
view_as_topics_
;
7677
bool
has_scheduled_messages_
;
7679
bool
can_be_deleted_only_for_self_
;
7681
bool
can_be_deleted_for_all_users_
;
7683
bool
can_be_reported_
;
7685
bool
default_disable_notification_
;
7687
int32
unread_count_
;
7689
int53
last_read_inbox_message_id_
;
7691
int53
last_read_outbox_message_id_
;
7693
int32
unread_mention_count_
;
7695
int32
unread_reaction_count_
;
7697
object_ptr<chatNotificationSettings>
notification_settings_
;
7699
object_ptr<ChatAvailableReactions>
available_reactions_
;
7701
int32
message_auto_delete_time_
;
7703
object_ptr<emojiStatus>
emoji_status_
;
7705
object_ptr<chatBackground>
background_
;
7707
string
theme_name_
;
7709
object_ptr<ChatActionBar>
action_bar_
;
7711
object_ptr<businessBotManageBar>
business_bot_manage_bar_
;
7713
object_ptr<videoChat>
video_chat_
;
7715
object_ptr<chatJoinRequestsInfo>
pending_join_requests_
;
7717
int53
reply_markup_message_id_
;
7719
object_ptr<draftMessage>
draft_message_
;
7721
string
client_data_
;
7722
7726
chat
();
7727
7773
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_
,
string
const
&
theme_name_
,
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_
);
7774
7776
static
const
std::int32_t
ID
= 830601369;
7777
7783
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7784
};
7785
7790
class
ChatAction
:
public
Object
{
7791
public
:
7792
};
7793
7797
class
chatActionTyping
final :
public
ChatAction
{
7802
std::int32_t get_id()
const
final
{
7803
return
ID
;
7804
}
7805
7806
public
:
7807
7811
chatActionTyping
();
7812
7814
static
const
std::int32_t
ID
= 380122167;
7815
7821
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7822
};
7823
7827
class
chatActionRecordingVideo
final :
public
ChatAction
{
7832
std::int32_t get_id()
const
final
{
7833
return
ID
;
7834
}
7835
7836
public
:
7837
7841
chatActionRecordingVideo
();
7842
7844
static
const
std::int32_t
ID
= 216553362;
7845
7851
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7852
};
7853
7857
class
chatActionUploadingVideo
final :
public
ChatAction
{
7862
std::int32_t get_id()
const
final
{
7863
return
ID
;
7864
}
7865
7866
public
:
7868
int32
progress_
;
7869
7873
chatActionUploadingVideo
();
7874
7880
explicit
chatActionUploadingVideo
(
int32
progress_
);
7881
7883
static
const
std::int32_t
ID
= 1234185270;
7884
7890
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7891
};
7892
7896
class
chatActionRecordingVoiceNote
final :
public
ChatAction
{
7901
std::int32_t get_id()
const
final
{
7902
return
ID
;
7903
}
7904
7905
public
:
7906
7910
chatActionRecordingVoiceNote
();
7911
7913
static
const
std::int32_t
ID
= -808850058;
7914
7920
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7921
};
7922
7926
class
chatActionUploadingVoiceNote
final :
public
ChatAction
{
7931
std::int32_t get_id()
const
final
{
7932
return
ID
;
7933
}
7934
7935
public
:
7937
int32
progress_
;
7938
7942
chatActionUploadingVoiceNote
();
7943
7949
explicit
chatActionUploadingVoiceNote
(
int32
progress_
);
7950
7952
static
const
std::int32_t
ID
= -613643666;
7953
7959
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7960
};
7961
7965
class
chatActionUploadingPhoto
final :
public
ChatAction
{
7970
std::int32_t get_id()
const
final
{
7971
return
ID
;
7972
}
7973
7974
public
:
7976
int32
progress_
;
7977
7981
chatActionUploadingPhoto
();
7982
7988
explicit
chatActionUploadingPhoto
(
int32
progress_
);
7989
7991
static
const
std::int32_t
ID
= 654240583;
7992
7998
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
7999
};
8000
8004
class
chatActionUploadingDocument
final :
public
ChatAction
{
8009
std::int32_t get_id()
const
final
{
8010
return
ID
;
8011
}
8012
8013
public
:
8015
int32
progress_
;
8016
8020
chatActionUploadingDocument
();
8021
8027
explicit
chatActionUploadingDocument
(
int32
progress_
);
8028
8030
static
const
std::int32_t
ID
= 167884362;
8031
8037
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8038
};
8039
8043
class
chatActionChoosingSticker
final :
public
ChatAction
{
8048
std::int32_t get_id()
const
final
{
8049
return
ID
;
8050
}
8051
8052
public
:
8053
8057
chatActionChoosingSticker
();
8058
8060
static
const
std::int32_t
ID
= 372753697;
8061
8067
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8068
};
8069
8073
class
chatActionChoosingLocation
final :
public
ChatAction
{
8078
std::int32_t get_id()
const
final
{
8079
return
ID
;
8080
}
8081
8082
public
:
8083
8087
chatActionChoosingLocation
();
8088
8090
static
const
std::int32_t
ID
= -2017893596;
8091
8097
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8098
};
8099
8103
class
chatActionChoosingContact
final :
public
ChatAction
{
8108
std::int32_t get_id()
const
final
{
8109
return
ID
;
8110
}
8111
8112
public
:
8113
8117
chatActionChoosingContact
();
8118
8120
static
const
std::int32_t
ID
= -1222507496;
8121
8127
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8128
};
8129
8133
class
chatActionStartPlayingGame
final :
public
ChatAction
{
8138
std::int32_t get_id()
const
final
{
8139
return
ID
;
8140
}
8141
8142
public
:
8143
8147
chatActionStartPlayingGame
();
8148
8150
static
const
std::int32_t
ID
= -865884164;
8151
8157
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8158
};
8159
8163
class
chatActionRecordingVideoNote
final :
public
ChatAction
{
8168
std::int32_t get_id()
const
final
{
8169
return
ID
;
8170
}
8171
8172
public
:
8173
8177
chatActionRecordingVideoNote
();
8178
8180
static
const
std::int32_t
ID
= 16523393;
8181
8187
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8188
};
8189
8193
class
chatActionUploadingVideoNote
final :
public
ChatAction
{
8198
std::int32_t get_id()
const
final
{
8199
return
ID
;
8200
}
8201
8202
public
:
8204
int32
progress_
;
8205
8209
chatActionUploadingVideoNote
();
8210
8216
explicit
chatActionUploadingVideoNote
(
int32
progress_
);
8217
8219
static
const
std::int32_t
ID
= 1172364918;
8220
8226
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8227
};
8228
8232
class
chatActionWatchingAnimations
final :
public
ChatAction
{
8237
std::int32_t get_id()
const
final
{
8238
return
ID
;
8239
}
8240
8241
public
:
8243
string
emoji_
;
8244
8248
chatActionWatchingAnimations
();
8249
8255
explicit
chatActionWatchingAnimations
(
string
const
&
emoji_
);
8256
8258
static
const
std::int32_t
ID
= 2052990641;
8259
8265
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8266
};
8267
8271
class
chatActionCancel
final :
public
ChatAction
{
8276
std::int32_t get_id()
const
final
{
8277
return
ID
;
8278
}
8279
8280
public
:
8281
8285
chatActionCancel
();
8286
8288
static
const
std::int32_t
ID
= 1160523958;
8289
8295
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8296
};
8297
8298
class
accountInfo
;
8299
8304
class
ChatActionBar
:
public
Object
{
8305
public
:
8306
};
8307
8311
class
chatActionBarReportSpam
final :
public
ChatActionBar
{
8316
std::int32_t get_id()
const
final
{
8317
return
ID
;
8318
}
8319
8320
public
:
8322
bool
can_unarchive_
;
8323
8327
chatActionBarReportSpam
();
8328
8334
explicit
chatActionBarReportSpam
(
bool
can_unarchive_
);
8335
8337
static
const
std::int32_t
ID
= -1312758246;
8338
8344
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8345
};
8346
8350
class
chatActionBarInviteMembers
final :
public
ChatActionBar
{
8355
std::int32_t get_id()
const
final
{
8356
return
ID
;
8357
}
8358
8359
public
:
8360
8364
chatActionBarInviteMembers
();
8365
8367
static
const
std::int32_t
ID
= 1985313904;
8368
8374
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8375
};
8376
8380
class
chatActionBarReportAddBlock
final :
public
ChatActionBar
{
8385
std::int32_t get_id()
const
final
{
8386
return
ID
;
8387
}
8388
8389
public
:
8391
bool
can_unarchive_
;
8393
object_ptr<accountInfo>
account_info_
;
8394
8398
chatActionBarReportAddBlock
();
8399
8406
chatActionBarReportAddBlock
(
bool
can_unarchive_
,
object_ptr<accountInfo>
&&
account_info_
);
8407
8409
static
const
std::int32_t
ID
= -1476817269;
8410
8416
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8417
};
8418
8422
class
chatActionBarAddContact
final :
public
ChatActionBar
{
8427
std::int32_t get_id()
const
final
{
8428
return
ID
;
8429
}
8430
8431
public
:
8432
8436
chatActionBarAddContact
();
8437
8439
static
const
std::int32_t
ID
= -733325295;
8440
8446
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8447
};
8448
8452
class
chatActionBarSharePhoneNumber
final :
public
ChatActionBar
{
8457
std::int32_t get_id()
const
final
{
8458
return
ID
;
8459
}
8460
8461
public
:
8462
8466
chatActionBarSharePhoneNumber
();
8467
8469
static
const
std::int32_t
ID
= 35188697;
8470
8476
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8477
};
8478
8482
class
chatActionBarJoinRequest
final :
public
ChatActionBar
{
8487
std::int32_t get_id()
const
final
{
8488
return
ID
;
8489
}
8490
8491
public
:
8493
string
title_
;
8495
bool
is_channel_
;
8497
int32
request_date_
;
8498
8502
chatActionBarJoinRequest
();
8503
8511
chatActionBarJoinRequest
(
string
const
&
title_
,
bool
is_channel_
,
int32
request_date_
);
8512
8514
static
const
std::int32_t
ID
= 1037140744;
8515
8521
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8522
};
8523
8524
class
StoryList
;
8525
8526
class
storyInfo
;
8527
8531
class
chatActiveStories
final :
public
Object
{
8536
std::int32_t get_id()
const
final
{
8537
return
ID
;
8538
}
8539
8540
public
:
8542
int53
chat_id_
;
8544
object_ptr<StoryList>
list_
;
8546
int53
order_
;
8548
int32
max_read_story_id_
;
8550
array<object_ptr<storyInfo>
>
stories_
;
8551
8555
chatActiveStories
();
8556
8566
chatActiveStories
(
int53
chat_id_
,
object_ptr<StoryList>
&&
list_
,
int53
order_
,
int32
max_read_story_id_
,
array
<
object_ptr<storyInfo>
> &&
stories_
);
8567
8569
static
const
std::int32_t
ID
= -1398869529;
8570
8576
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8577
};
8578
8582
class
chatAdministrator
final :
public
Object
{
8587
std::int32_t get_id()
const
final
{
8588
return
ID
;
8589
}
8590
8591
public
:
8593
int53
user_id_
;
8595
string
custom_title_
;
8597
bool
is_owner_
;
8598
8602
chatAdministrator
();
8603
8611
chatAdministrator
(
int53
user_id_
,
string
const
&
custom_title_
,
bool
is_owner_
);
8612
8614
static
const
std::int32_t
ID
= 1920449836;
8615
8621
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8622
};
8623
8627
class
chatAdministratorRights
final :
public
Object
{
8632
std::int32_t get_id()
const
final
{
8633
return
ID
;
8634
}
8635
8636
public
:
8638
bool
can_manage_chat_
;
8640
bool
can_change_info_
;
8642
bool
can_post_messages_
;
8644
bool
can_edit_messages_
;
8646
bool
can_delete_messages_
;
8648
bool
can_invite_users_
;
8650
bool
can_restrict_members_
;
8652
bool
can_pin_messages_
;
8654
bool
can_manage_topics_
;
8656
bool
can_promote_members_
;
8658
bool
can_manage_video_chats_
;
8660
bool
can_post_stories_
;
8662
bool
can_edit_stories_
;
8664
bool
can_delete_stories_
;
8666
bool
is_anonymous_
;
8667
8671
chatAdministratorRights
();
8672
8692
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
is_anonymous_
);
8693
8695
static
const
std::int32_t
ID
= 1599049796;
8696
8702
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8703
};
8704
8705
class
chatAdministrator
;
8706
8710
class
chatAdministrators
final :
public
Object
{
8715
std::int32_t get_id()
const
final
{
8716
return
ID
;
8717
}
8718
8719
public
:
8721
array<object_ptr<chatAdministrator>
>
administrators_
;
8722
8726
chatAdministrators
();
8727
8733
explicit
chatAdministrators
(
array
<
object_ptr<chatAdministrator>
> &&
administrators_
);
8734
8736
static
const
std::int32_t
ID
= -2126186435;
8737
8743
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8744
};
8745
8746
class
ReactionType
;
8747
8752
class
ChatAvailableReactions
:
public
Object
{
8753
public
:
8754
};
8755
8759
class
chatAvailableReactionsAll
final :
public
ChatAvailableReactions
{
8764
std::int32_t get_id()
const
final
{
8765
return
ID
;
8766
}
8767
8768
public
:
8770
int32
max_reaction_count_
;
8771
8775
chatAvailableReactionsAll
();
8776
8782
explicit
chatAvailableReactionsAll
(
int32
max_reaction_count_
);
8783
8785
static
const
std::int32_t
ID
= 694160279;
8786
8792
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8793
};
8794
8798
class
chatAvailableReactionsSome
final :
public
ChatAvailableReactions
{
8803
std::int32_t get_id()
const
final
{
8804
return
ID
;
8805
}
8806
8807
public
:
8809
array<object_ptr<ReactionType>
>
reactions_
;
8811
int32
max_reaction_count_
;
8812
8816
chatAvailableReactionsSome
();
8817
8824
chatAvailableReactionsSome
(
array
<
object_ptr<ReactionType>
> &&
reactions_
,
int32
max_reaction_count_
);
8825
8827
static
const
std::int32_t
ID
= 152513153;
8828
8834
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8835
};
8836
8837
class
background
;
8838
8842
class
chatBackground
final :
public
Object
{
8847
std::int32_t get_id()
const
final
{
8848
return
ID
;
8849
}
8850
8851
public
:
8853
object_ptr<background>
background_
;
8855
int32
dark_theme_dimming_
;
8856
8860
chatBackground
();
8861
8868
chatBackground
(
object_ptr<background>
&&
background_
,
int32
dark_theme_dimming_
);
8869
8871
static
const
std::int32_t
ID
= 1653152104;
8872
8878
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8879
};
8880
8881
class
ChatBoostSource
;
8882
8886
class
chatBoost
final :
public
Object
{
8891
std::int32_t get_id()
const
final
{
8892
return
ID
;
8893
}
8894
8895
public
:
8897
string
id_
;
8899
int32
count_
;
8901
object_ptr<ChatBoostSource>
source_
;
8903
int32
start_date_
;
8905
int32
expiration_date_
;
8906
8910
chatBoost
();
8911
8921
chatBoost
(
string
const
&
id_
,
int32
count_
,
object_ptr<ChatBoostSource>
&&
source_
,
int32
start_date_
,
int32
expiration_date_
);
8922
8924
static
const
std::int32_t
ID
= -1765815118;
8925
8931
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
8932
};
8933
8934
class
chatBoostLevelFeatures
;
8935
8939
class
chatBoostFeatures
final :
public
Object
{
8944
std::int32_t get_id()
const
final
{
8945
return
ID
;
8946
}
8947
8948
public
:
8950
array<object_ptr<chatBoostLevelFeatures>
>
features_
;
8952
int32
min_profile_background_custom_emoji_boost_level_
;
8954
int32
min_background_custom_emoji_boost_level_
;
8956
int32
min_emoji_status_boost_level_
;
8958
int32
min_chat_theme_background_boost_level_
;
8960
int32
min_custom_background_boost_level_
;
8962
int32
min_custom_emoji_sticker_set_boost_level_
;
8964
int32
min_automatic_translation_boost_level_
;
8966
int32
min_speech_recognition_boost_level_
;
8968
int32
min_sponsored_message_disable_boost_level_
;
8969
8973
chatBoostFeatures
();
8974
8989
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_
);
8990
8992
static
const
std::int32_t
ID
= -940531367;
8993
8999
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9000
};
9001
9005
class
chatBoostLevelFeatures
final :
public
Object
{
9010
std::int32_t get_id()
const
final
{
9011
return
ID
;
9012
}
9013
9014
public
:
9016
int32
level_
;
9018
int32
story_per_day_count_
;
9020
int32
custom_emoji_reaction_count_
;
9022
int32
title_color_count_
;
9024
int32
profile_accent_color_count_
;
9026
bool
can_set_profile_background_custom_emoji_
;
9028
int32
accent_color_count_
;
9030
bool
can_set_background_custom_emoji_
;
9032
bool
can_set_emoji_status_
;
9034
int32
chat_theme_background_count_
;
9036
bool
can_set_custom_background_
;
9038
bool
can_set_custom_emoji_sticker_set_
;
9040
bool
can_enable_automatic_translation_
;
9042
bool
can_recognize_speech_
;
9044
bool
can_disable_sponsored_messages_
;
9045
9049
chatBoostLevelFeatures
();
9050
9070
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_
);
9071
9073
static
const
std::int32_t
ID
= 975439470;
9074
9080
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9081
};
9082
9086
class
chatBoostLink
final :
public
Object
{
9091
std::int32_t get_id()
const
final
{
9092
return
ID
;
9093
}
9094
9095
public
:
9097
string
link_
;
9099
bool
is_public_
;
9100
9104
chatBoostLink
();
9105
9112
chatBoostLink
(
string
const
&
link_
,
bool
is_public_
);
9113
9115
static
const
std::int32_t
ID
= -1253999503;
9116
9122
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9123
};
9124
9128
class
chatBoostLinkInfo
final :
public
Object
{
9133
std::int32_t get_id()
const
final
{
9134
return
ID
;
9135
}
9136
9137
public
:
9139
bool
is_public_
;
9141
int53
chat_id_
;
9142
9146
chatBoostLinkInfo
();
9147
9154
chatBoostLinkInfo
(
bool
is_public_
,
int53
chat_id_
);
9155
9157
static
const
std::int32_t
ID
= -602785660;
9158
9164
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9165
};
9166
9170
class
chatBoostSlot
final :
public
Object
{
9175
std::int32_t get_id()
const
final
{
9176
return
ID
;
9177
}
9178
9179
public
:
9181
int32
slot_id_
;
9183
int53
currently_boosted_chat_id_
;
9185
int32
start_date_
;
9187
int32
expiration_date_
;
9189
int32
cooldown_until_date_
;
9190
9194
chatBoostSlot
();
9195
9205
chatBoostSlot
(
int32
slot_id_
,
int53
currently_boosted_chat_id_
,
int32
start_date_
,
int32
expiration_date_
,
int32
cooldown_until_date_
);
9206
9208
static
const
std::int32_t
ID
= 123206343;
9209
9215
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9216
};
9217
9218
class
chatBoostSlot
;
9219
9223
class
chatBoostSlots
final :
public
Object
{
9228
std::int32_t get_id()
const
final
{
9229
return
ID
;
9230
}
9231
9232
public
:
9234
array<object_ptr<chatBoostSlot>
>
slots_
;
9235
9239
chatBoostSlots
();
9240
9246
explicit
chatBoostSlots
(
array
<
object_ptr<chatBoostSlot>
> &&
slots_
);
9247
9249
static
const
std::int32_t
ID
= 1014966293;
9250
9256
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9257
};
9258
9263
class
ChatBoostSource
:
public
Object
{
9264
public
:
9265
};
9266
9270
class
chatBoostSourceGiftCode
final :
public
ChatBoostSource
{
9275
std::int32_t get_id()
const
final
{
9276
return
ID
;
9277
}
9278
9279
public
:
9281
int53
user_id_
;
9283
string
gift_code_
;
9284
9288
chatBoostSourceGiftCode
();
9289
9296
chatBoostSourceGiftCode
(
int53
user_id_
,
string
const
&
gift_code_
);
9297
9299
static
const
std::int32_t
ID
= -98299206;
9300
9306
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9307
};
9308
9312
class
chatBoostSourceGiveaway
final :
public
ChatBoostSource
{
9317
std::int32_t get_id()
const
final
{
9318
return
ID
;
9319
}
9320
9321
public
:
9323
int53
user_id_
;
9325
string
gift_code_
;
9327
int53
star_count_
;
9329
int53
giveaway_message_id_
;
9331
bool
is_unclaimed_
;
9332
9336
chatBoostSourceGiveaway
();
9337
9347
chatBoostSourceGiveaway
(
int53
user_id_
,
string
const
&
gift_code_
,
int53
star_count_
,
int53
giveaway_message_id_
,
bool
is_unclaimed_
);
9348
9350
static
const
std::int32_t
ID
= 1918145690;
9351
9357
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9358
};
9359
9363
class
chatBoostSourcePremium
final :
public
ChatBoostSource
{
9368
std::int32_t get_id()
const
final
{
9369
return
ID
;
9370
}
9371
9372
public
:
9374
int53
user_id_
;
9375
9379
chatBoostSourcePremium
();
9380
9386
explicit
chatBoostSourcePremium
(
int53
user_id_
);
9387
9389
static
const
std::int32_t
ID
= 972011;
9390
9396
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9397
};
9398
9399
class
prepaidGiveaway
;
9400
9404
class
chatBoostStatus
final :
public
Object
{
9409
std::int32_t get_id()
const
final
{
9410
return
ID
;
9411
}
9412
9413
public
:
9415
string
boost_url_
;
9417
array<int32>
applied_slot_ids_
;
9419
int32
level_
;
9421
int32
gift_code_boost_count_
;
9423
int32
boost_count_
;
9425
int32
current_level_boost_count_
;
9427
int32
next_level_boost_count_
;
9429
int32
premium_member_count_
;
9431
double
premium_member_percentage_
;
9433
array<object_ptr<prepaidGiveaway>
>
prepaid_giveaways_
;
9434
9438
chatBoostStatus
();
9439
9454
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_
);
9455
9457
static
const
std::int32_t
ID
= -1050332618;
9458
9464
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9465
};
9466
9467
class
ChatEventAction
;
9468
9469
class
MessageSender
;
9470
9474
class
chatEvent
final :
public
Object
{
9479
std::int32_t get_id()
const
final
{
9480
return
ID
;
9481
}
9482
9483
public
:
9485
int64
id_
;
9487
int32
date_
;
9489
object_ptr<MessageSender>
member_id_
;
9491
object_ptr<ChatEventAction>
action_
;
9492
9496
chatEvent
();
9497
9506
chatEvent
(
int64
id_
,
int32
date_
,
object_ptr<MessageSender>
&&
member_id_
,
object_ptr<ChatEventAction>
&&
action_
);
9507
9509
static
const
std::int32_t
ID
= -652102704;
9510
9516
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9517
};
9518
9519
class
ChatAvailableReactions
;
9520
9521
class
ChatMemberStatus
;
9522
9523
class
MessageSender
;
9524
9525
class
chatBackground
;
9526
9527
class
chatInviteLink
;
9528
9529
class
chatLocation
;
9530
9531
class
chatPermissions
;
9532
9533
class
chatPhoto
;
9534
9535
class
emojiStatus
;
9536
9537
class
forumTopicInfo
;
9538
9539
class
message
;
9540
9545
class
ChatEventAction
:
public
Object
{
9546
public
:
9547
};
9548
9552
class
chatEventMessageEdited
final :
public
ChatEventAction
{
9557
std::int32_t get_id()
const
final
{
9558
return
ID
;
9559
}
9560
9561
public
:
9563
object_ptr<message>
old_message_
;
9565
object_ptr<message>
new_message_
;
9566
9570
chatEventMessageEdited
();
9571
9578
chatEventMessageEdited
(
object_ptr<message>
&&
old_message_
,
object_ptr<message>
&&
new_message_
);
9579
9581
static
const
std::int32_t
ID
= -430967304;
9582
9588
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9589
};
9590
9594
class
chatEventMessageDeleted
final :
public
ChatEventAction
{
9599
std::int32_t get_id()
const
final
{
9600
return
ID
;
9601
}
9602
9603
public
:
9605
object_ptr<message>
message_
;
9607
bool
can_report_anti_spam_false_positive_
;
9608
9612
chatEventMessageDeleted
();
9613
9620
chatEventMessageDeleted
(
object_ptr<message>
&&
message_
,
bool
can_report_anti_spam_false_positive_
);
9621
9623
static
const
std::int32_t
ID
= 935316851;
9624
9630
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9631
};
9632
9636
class
chatEventMessagePinned
final :
public
ChatEventAction
{
9641
std::int32_t get_id()
const
final
{
9642
return
ID
;
9643
}
9644
9645
public
:
9647
object_ptr<message>
message_
;
9648
9652
chatEventMessagePinned
();
9653
9659
explicit
chatEventMessagePinned
(
object_ptr<message>
&&
message_
);
9660
9662
static
const
std::int32_t
ID
= 438742298;
9663
9669
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9670
};
9671
9675
class
chatEventMessageUnpinned
final :
public
ChatEventAction
{
9680
std::int32_t get_id()
const
final
{
9681
return
ID
;
9682
}
9683
9684
public
:
9686
object_ptr<message>
message_
;
9687
9691
chatEventMessageUnpinned
();
9692
9698
explicit
chatEventMessageUnpinned
(
object_ptr<message>
&&
message_
);
9699
9701
static
const
std::int32_t
ID
= -376161513;
9702
9708
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9709
};
9710
9714
class
chatEventPollStopped
final :
public
ChatEventAction
{
9719
std::int32_t get_id()
const
final
{
9720
return
ID
;
9721
}
9722
9723
public
:
9725
object_ptr<message>
message_
;
9726
9730
chatEventPollStopped
();
9731
9737
explicit
chatEventPollStopped
(
object_ptr<message>
&&
message_
);
9738
9740
static
const
std::int32_t
ID
= 2009893861;
9741
9747
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9748
};
9749
9753
class
chatEventMemberJoined
final :
public
ChatEventAction
{
9758
std::int32_t get_id()
const
final
{
9759
return
ID
;
9760
}
9761
9762
public
:
9763
9767
chatEventMemberJoined
();
9768
9770
static
const
std::int32_t
ID
= -235468508;
9771
9777
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9778
};
9779
9783
class
chatEventMemberJoinedByInviteLink
final :
public
ChatEventAction
{
9788
std::int32_t get_id()
const
final
{
9789
return
ID
;
9790
}
9791
9792
public
:
9794
object_ptr<chatInviteLink>
invite_link_
;
9796
bool
via_chat_folder_invite_link_
;
9797
9801
chatEventMemberJoinedByInviteLink
();
9802
9809
chatEventMemberJoinedByInviteLink
(
object_ptr<chatInviteLink>
&&
invite_link_
,
bool
via_chat_folder_invite_link_
);
9810
9812
static
const
std::int32_t
ID
= -1445536390;
9813
9819
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9820
};
9821
9825
class
chatEventMemberJoinedByRequest
final :
public
ChatEventAction
{
9830
std::int32_t get_id()
const
final
{
9831
return
ID
;
9832
}
9833
9834
public
:
9836
int53
approver_user_id_
;
9838
object_ptr<chatInviteLink>
invite_link_
;
9839
9843
chatEventMemberJoinedByRequest
();
9844
9851
chatEventMemberJoinedByRequest
(
int53
approver_user_id_
,
object_ptr<chatInviteLink>
&&
invite_link_
);
9852
9854
static
const
std::int32_t
ID
= -1647804865;
9855
9861
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9862
};
9863
9867
class
chatEventMemberInvited
final :
public
ChatEventAction
{
9872
std::int32_t get_id()
const
final
{
9873
return
ID
;
9874
}
9875
9876
public
:
9878
int53
user_id_
;
9880
object_ptr<ChatMemberStatus>
status_
;
9881
9885
chatEventMemberInvited
();
9886
9893
chatEventMemberInvited
(
int53
user_id_
,
object_ptr<ChatMemberStatus>
&&
status_
);
9894
9896
static
const
std::int32_t
ID
= 953663433;
9897
9903
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9904
};
9905
9909
class
chatEventMemberLeft
final :
public
ChatEventAction
{
9914
std::int32_t get_id()
const
final
{
9915
return
ID
;
9916
}
9917
9918
public
:
9919
9923
chatEventMemberLeft
();
9924
9926
static
const
std::int32_t
ID
= -948420593;
9927
9933
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9934
};
9935
9939
class
chatEventMemberPromoted
final :
public
ChatEventAction
{
9944
std::int32_t get_id()
const
final
{
9945
return
ID
;
9946
}
9947
9948
public
:
9950
int53
user_id_
;
9952
object_ptr<ChatMemberStatus>
old_status_
;
9954
object_ptr<ChatMemberStatus>
new_status_
;
9955
9959
chatEventMemberPromoted
();
9960
9968
chatEventMemberPromoted
(
int53
user_id_
,
object_ptr<ChatMemberStatus>
&&
old_status_
,
object_ptr<ChatMemberStatus>
&&
new_status_
);
9969
9971
static
const
std::int32_t
ID
= 525297761;
9972
9978
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
9979
};
9980
9984
class
chatEventMemberRestricted
final :
public
ChatEventAction
{
9989
std::int32_t get_id()
const
final
{
9990
return
ID
;
9991
}
9992
9993
public
:
9995
object_ptr<MessageSender>
member_id_
;
9997
object_ptr<ChatMemberStatus>
old_status_
;
9999
object_ptr<ChatMemberStatus>
new_status_
;
10000
10004
chatEventMemberRestricted
();
10005
10013
chatEventMemberRestricted
(
object_ptr<MessageSender>
&&
member_id_
,
object_ptr<ChatMemberStatus>
&&
old_status_
,
object_ptr<ChatMemberStatus>
&&
new_status_
);
10014
10016
static
const
std::int32_t
ID
= 1603608069;
10017
10023
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10024
};
10025
10029
class
chatEventMemberSubscriptionExtended
final :
public
ChatEventAction
{
10034
std::int32_t get_id()
const
final
{
10035
return
ID
;
10036
}
10037
10038
public
:
10040
int53
user_id_
;
10042
object_ptr<ChatMemberStatus>
old_status_
;
10044
object_ptr<ChatMemberStatus>
new_status_
;
10045
10049
chatEventMemberSubscriptionExtended
();
10050
10058
chatEventMemberSubscriptionExtended
(
int53
user_id_
,
object_ptr<ChatMemberStatus>
&&
old_status_
,
object_ptr<ChatMemberStatus>
&&
new_status_
);
10059
10061
static
const
std::int32_t
ID
= -1141198846;
10062
10068
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10069
};
10070
10074
class
chatEventAvailableReactionsChanged
final :
public
ChatEventAction
{
10079
std::int32_t get_id()
const
final
{
10080
return
ID
;
10081
}
10082
10083
public
:
10085
object_ptr<ChatAvailableReactions>
old_available_reactions_
;
10087
object_ptr<ChatAvailableReactions>
new_available_reactions_
;
10088
10092
chatEventAvailableReactionsChanged
();
10093
10100
chatEventAvailableReactionsChanged
(
object_ptr<ChatAvailableReactions>
&&
old_available_reactions_
,
object_ptr<ChatAvailableReactions>
&&
new_available_reactions_
);
10101
10103
static
const
std::int32_t
ID
= -1749491521;
10104
10110
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10111
};
10112
10116
class
chatEventBackgroundChanged
final :
public
ChatEventAction
{
10121
std::int32_t get_id()
const
final
{
10122
return
ID
;
10123
}
10124
10125
public
:
10127
object_ptr<chatBackground>
old_background_
;
10129
object_ptr<chatBackground>
new_background_
;
10130
10134
chatEventBackgroundChanged
();
10135
10142
chatEventBackgroundChanged
(
object_ptr<chatBackground>
&&
old_background_
,
object_ptr<chatBackground>
&&
new_background_
);
10143
10145
static
const
std::int32_t
ID
= -1225953992;
10146
10152
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10153
};
10154
10158
class
chatEventDescriptionChanged
final :
public
ChatEventAction
{
10163
std::int32_t get_id()
const
final
{
10164
return
ID
;
10165
}
10166
10167
public
:
10169
string
old_description_
;
10171
string
new_description_
;
10172
10176
chatEventDescriptionChanged
();
10177
10184
chatEventDescriptionChanged
(
string
const
&
old_description_
,
string
const
&
new_description_
);
10185
10187
static
const
std::int32_t
ID
= 39112478;
10188
10194
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10195
};
10196
10200
class
chatEventEmojiStatusChanged
final :
public
ChatEventAction
{
10205
std::int32_t get_id()
const
final
{
10206
return
ID
;
10207
}
10208
10209
public
:
10211
object_ptr<emojiStatus>
old_emoji_status_
;
10213
object_ptr<emojiStatus>
new_emoji_status_
;
10214
10218
chatEventEmojiStatusChanged
();
10219
10226
chatEventEmojiStatusChanged
(
object_ptr<emojiStatus>
&&
old_emoji_status_
,
object_ptr<emojiStatus>
&&
new_emoji_status_
);
10227
10229
static
const
std::int32_t
ID
= -2081850594;
10230
10236
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10237
};
10238
10242
class
chatEventLinkedChatChanged
final :
public
ChatEventAction
{
10247
std::int32_t get_id()
const
final
{
10248
return
ID
;
10249
}
10250
10251
public
:
10253
int53
old_linked_chat_id_
;
10255
int53
new_linked_chat_id_
;
10256
10260
chatEventLinkedChatChanged
();
10261
10268
chatEventLinkedChatChanged
(
int53
old_linked_chat_id_
,
int53
new_linked_chat_id_
);
10269
10271
static
const
std::int32_t
ID
= 1797419439;
10272
10278
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10279
};
10280
10284
class
chatEventLocationChanged
final :
public
ChatEventAction
{
10289
std::int32_t get_id()
const
final
{
10290
return
ID
;
10291
}
10292
10293
public
:
10295
object_ptr<chatLocation>
old_location_
;
10297
object_ptr<chatLocation>
new_location_
;
10298
10302
chatEventLocationChanged
();
10303
10310
chatEventLocationChanged
(
object_ptr<chatLocation>
&&
old_location_
,
object_ptr<chatLocation>
&&
new_location_
);
10311
10313
static
const
std::int32_t
ID
= -405930674;
10314
10320
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10321
};
10322
10326
class
chatEventMessageAutoDeleteTimeChanged
final :
public
ChatEventAction
{
10331
std::int32_t get_id()
const
final
{
10332
return
ID
;
10333
}
10334
10335
public
:
10337
int32
old_message_auto_delete_time_
;
10339
int32
new_message_auto_delete_time_
;
10340
10344
chatEventMessageAutoDeleteTimeChanged
();
10345
10352
chatEventMessageAutoDeleteTimeChanged
(
int32
old_message_auto_delete_time_
,
int32
new_message_auto_delete_time_
);
10353
10355
static
const
std::int32_t
ID
= 17317668;
10356
10362
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10363
};
10364
10368
class
chatEventPermissionsChanged
final :
public
ChatEventAction
{
10373
std::int32_t get_id()
const
final
{
10374
return
ID
;
10375
}
10376
10377
public
:
10379
object_ptr<chatPermissions>
old_permissions_
;
10381
object_ptr<chatPermissions>
new_permissions_
;
10382
10386
chatEventPermissionsChanged
();
10387
10394
chatEventPermissionsChanged
(
object_ptr<chatPermissions>
&&
old_permissions_
,
object_ptr<chatPermissions>
&&
new_permissions_
);
10395
10397
static
const
std::int32_t
ID
= -1311557720;
10398
10404
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10405
};
10406
10410
class
chatEventPhotoChanged
final :
public
ChatEventAction
{
10415
std::int32_t get_id()
const
final
{
10416
return
ID
;
10417
}
10418
10419
public
:
10421
object_ptr<chatPhoto>
old_photo_
;
10423
object_ptr<chatPhoto>
new_photo_
;
10424
10428
chatEventPhotoChanged
();
10429
10436
chatEventPhotoChanged
(
object_ptr<chatPhoto>
&&
old_photo_
,
object_ptr<chatPhoto>
&&
new_photo_
);
10437
10439
static
const
std::int32_t
ID
= -811572541;
10440
10446
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10447
};
10448
10452
class
chatEventSlowModeDelayChanged
final :
public
ChatEventAction
{
10457
std::int32_t get_id()
const
final
{
10458
return
ID
;
10459
}
10460
10461
public
:
10463
int32
old_slow_mode_delay_
;
10465
int32
new_slow_mode_delay_
;
10466
10470
chatEventSlowModeDelayChanged
();
10471
10478
chatEventSlowModeDelayChanged
(
int32
old_slow_mode_delay_
,
int32
new_slow_mode_delay_
);
10479
10481
static
const
std::int32_t
ID
= -1653195765;
10482
10488
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10489
};
10490
10494
class
chatEventStickerSetChanged
final :
public
ChatEventAction
{
10499
std::int32_t get_id()
const
final
{
10500
return
ID
;
10501
}
10502
10503
public
:
10505
int64
old_sticker_set_id_
;
10507
int64
new_sticker_set_id_
;
10508
10512
chatEventStickerSetChanged
();
10513
10520
chatEventStickerSetChanged
(
int64
old_sticker_set_id_
,
int64
new_sticker_set_id_
);
10521
10523
static
const
std::int32_t
ID
= -1243130481;
10524
10530
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10531
};
10532
10536
class
chatEventCustomEmojiStickerSetChanged
final :
public
ChatEventAction
{
10541
std::int32_t get_id()
const
final
{
10542
return
ID
;
10543
}
10544
10545
public
:
10547
int64
old_sticker_set_id_
;
10549
int64
new_sticker_set_id_
;
10550
10554
chatEventCustomEmojiStickerSetChanged
();
10555
10562
chatEventCustomEmojiStickerSetChanged
(
int64
old_sticker_set_id_
,
int64
new_sticker_set_id_
);
10563
10565
static
const
std::int32_t
ID
= 118244123;
10566
10572
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10573
};
10574
10578
class
chatEventTitleChanged
final :
public
ChatEventAction
{
10583
std::int32_t get_id()
const
final
{
10584
return
ID
;
10585
}
10586
10587
public
:
10589
string
old_title_
;
10591
string
new_title_
;
10592
10596
chatEventTitleChanged
();
10597
10604
chatEventTitleChanged
(
string
const
&
old_title_
,
string
const
&
new_title_
);
10605
10607
static
const
std::int32_t
ID
= 1134103250;
10608
10614
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10615
};
10616
10620
class
chatEventUsernameChanged
final :
public
ChatEventAction
{
10625
std::int32_t get_id()
const
final
{
10626
return
ID
;
10627
}
10628
10629
public
:
10631
string
old_username_
;
10633
string
new_username_
;
10634
10638
chatEventUsernameChanged
();
10639
10646
chatEventUsernameChanged
(
string
const
&
old_username_
,
string
const
&
new_username_
);
10647
10649
static
const
std::int32_t
ID
= 1728558443;
10650
10656
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10657
};
10658
10662
class
chatEventActiveUsernamesChanged
final :
public
ChatEventAction
{
10667
std::int32_t get_id()
const
final
{
10668
return
ID
;
10669
}
10670
10671
public
:
10673
array<string>
old_usernames_
;
10675
array<string>
new_usernames_
;
10676
10680
chatEventActiveUsernamesChanged
();
10681
10688
chatEventActiveUsernamesChanged
(
array<string>
&&
old_usernames_
,
array<string>
&&
new_usernames_
);
10689
10691
static
const
std::int32_t
ID
= -1508790810;
10692
10698
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10699
};
10700
10704
class
chatEventAccentColorChanged
final :
public
ChatEventAction
{
10709
std::int32_t get_id()
const
final
{
10710
return
ID
;
10711
}
10712
10713
public
:
10715
int32
old_accent_color_id_
;
10717
int64
old_background_custom_emoji_id_
;
10719
int32
new_accent_color_id_
;
10721
int64
new_background_custom_emoji_id_
;
10722
10726
chatEventAccentColorChanged
();
10727
10736
chatEventAccentColorChanged
(
int32
old_accent_color_id_
,
int64
old_background_custom_emoji_id_
,
int32
new_accent_color_id_
,
int64
new_background_custom_emoji_id_
);
10737
10739
static
const
std::int32_t
ID
= -427591885;
10740
10746
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10747
};
10748
10752
class
chatEventProfileAccentColorChanged
final :
public
ChatEventAction
{
10757
std::int32_t get_id()
const
final
{
10758
return
ID
;
10759
}
10760
10761
public
:
10763
int32
old_profile_accent_color_id_
;
10765
int64
old_profile_background_custom_emoji_id_
;
10767
int32
new_profile_accent_color_id_
;
10769
int64
new_profile_background_custom_emoji_id_
;
10770
10774
chatEventProfileAccentColorChanged
();
10775
10784
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_
);
10785
10787
static
const
std::int32_t
ID
= -1514612124;
10788
10794
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10795
};
10796
10800
class
chatEventHasProtectedContentToggled
final :
public
ChatEventAction
{
10805
std::int32_t get_id()
const
final
{
10806
return
ID
;
10807
}
10808
10809
public
:
10811
bool
has_protected_content_
;
10812
10816
chatEventHasProtectedContentToggled
();
10817
10823
explicit
chatEventHasProtectedContentToggled
(
bool
has_protected_content_
);
10824
10826
static
const
std::int32_t
ID
= -184270335;
10827
10833
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10834
};
10835
10839
class
chatEventInvitesToggled
final :
public
ChatEventAction
{
10844
std::int32_t get_id()
const
final
{
10845
return
ID
;
10846
}
10847
10848
public
:
10850
bool
can_invite_users_
;
10851
10855
chatEventInvitesToggled
();
10856
10862
explicit
chatEventInvitesToggled
(
bool
can_invite_users_
);
10863
10865
static
const
std::int32_t
ID
= -62548373;
10866
10872
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10873
};
10874
10878
class
chatEventIsAllHistoryAvailableToggled
final :
public
ChatEventAction
{
10883
std::int32_t get_id()
const
final
{
10884
return
ID
;
10885
}
10886
10887
public
:
10889
bool
is_all_history_available_
;
10890
10894
chatEventIsAllHistoryAvailableToggled
();
10895
10901
explicit
chatEventIsAllHistoryAvailableToggled
(
bool
is_all_history_available_
);
10902
10904
static
const
std::int32_t
ID
= -1599063019;
10905
10911
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10912
};
10913
10917
class
chatEventHasAggressiveAntiSpamEnabledToggled
final :
public
ChatEventAction
{
10922
std::int32_t get_id()
const
final
{
10923
return
ID
;
10924
}
10925
10926
public
:
10928
bool
has_aggressive_anti_spam_enabled_
;
10929
10933
chatEventHasAggressiveAntiSpamEnabledToggled
();
10934
10940
explicit
chatEventHasAggressiveAntiSpamEnabledToggled
(
bool
has_aggressive_anti_spam_enabled_
);
10941
10943
static
const
std::int32_t
ID
= -125348094;
10944
10950
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10951
};
10952
10956
class
chatEventSignMessagesToggled
final :
public
ChatEventAction
{
10961
std::int32_t get_id()
const
final
{
10962
return
ID
;
10963
}
10964
10965
public
:
10967
bool
sign_messages_
;
10968
10972
chatEventSignMessagesToggled
();
10973
10979
explicit
chatEventSignMessagesToggled
(
bool
sign_messages_
);
10980
10982
static
const
std::int32_t
ID
= -1313265634;
10983
10989
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
10990
};
10991
10995
class
chatEventShowMessageSenderToggled
final :
public
ChatEventAction
{
11000
std::int32_t get_id()
const
final
{
11001
return
ID
;
11002
}
11003
11004
public
:
11006
bool
show_message_sender_
;
11007
11011
chatEventShowMessageSenderToggled
();
11012
11018
explicit
chatEventShowMessageSenderToggled
(
bool
show_message_sender_
);
11019
11021
static
const
std::int32_t
ID
= -794343453;
11022
11028
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11029
};
11030
11034
class
chatEventAutomaticTranslationToggled
final :
public
ChatEventAction
{
11039
std::int32_t get_id()
const
final
{
11040
return
ID
;
11041
}
11042
11043
public
:
11045
bool
has_automatic_translation_
;
11046
11050
chatEventAutomaticTranslationToggled
();
11051
11057
explicit
chatEventAutomaticTranslationToggled
(
bool
has_automatic_translation_
);
11058
11060
static
const
std::int32_t
ID
= 194147926;
11061
11067
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11068
};
11069
11073
class
chatEventInviteLinkEdited
final :
public
ChatEventAction
{
11078
std::int32_t get_id()
const
final
{
11079
return
ID
;
11080
}
11081
11082
public
:
11084
object_ptr<chatInviteLink>
old_invite_link_
;
11086
object_ptr<chatInviteLink>
new_invite_link_
;
11087
11091
chatEventInviteLinkEdited
();
11092
11099
chatEventInviteLinkEdited
(
object_ptr<chatInviteLink>
&&
old_invite_link_
,
object_ptr<chatInviteLink>
&&
new_invite_link_
);
11100
11102
static
const
std::int32_t
ID
= -460190366;
11103
11109
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11110
};
11111
11115
class
chatEventInviteLinkRevoked
final :
public
ChatEventAction
{
11120
std::int32_t get_id()
const
final
{
11121
return
ID
;
11122
}
11123
11124
public
:
11126
object_ptr<chatInviteLink>
invite_link_
;
11127
11131
chatEventInviteLinkRevoked
();
11132
11138
explicit
chatEventInviteLinkRevoked
(
object_ptr<chatInviteLink>
&&
invite_link_
);
11139
11141
static
const
std::int32_t
ID
= -1579417629;
11142
11148
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11149
};
11150
11154
class
chatEventInviteLinkDeleted
final :
public
ChatEventAction
{
11159
std::int32_t get_id()
const
final
{
11160
return
ID
;
11161
}
11162
11163
public
:
11165
object_ptr<chatInviteLink>
invite_link_
;
11166
11170
chatEventInviteLinkDeleted
();
11171
11177
explicit
chatEventInviteLinkDeleted
(
object_ptr<chatInviteLink>
&&
invite_link_
);
11178
11180
static
const
std::int32_t
ID
= -1394974361;
11181
11187
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11188
};
11189
11193
class
chatEventVideoChatCreated
final :
public
ChatEventAction
{
11198
std::int32_t get_id()
const
final
{
11199
return
ID
;
11200
}
11201
11202
public
:
11204
int32
group_call_id_
;
11205
11209
chatEventVideoChatCreated
();
11210
11216
explicit
chatEventVideoChatCreated
(
int32
group_call_id_
);
11217
11219
static
const
std::int32_t
ID
= 1822853755;
11220
11226
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11227
};
11228
11232
class
chatEventVideoChatEnded
final :
public
ChatEventAction
{
11237
std::int32_t get_id()
const
final
{
11238
return
ID
;
11239
}
11240
11241
public
:
11243
int32
group_call_id_
;
11244
11248
chatEventVideoChatEnded
();
11249
11255
explicit
chatEventVideoChatEnded
(
int32
group_call_id_
);
11256
11258
static
const
std::int32_t
ID
= 1630039112;
11259
11265
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11266
};
11267
11271
class
chatEventVideoChatMuteNewParticipantsToggled
final :
public
ChatEventAction
{
11276
std::int32_t get_id()
const
final
{
11277
return
ID
;
11278
}
11279
11280
public
:
11282
bool
mute_new_participants_
;
11283
11287
chatEventVideoChatMuteNewParticipantsToggled
();
11288
11294
explicit
chatEventVideoChatMuteNewParticipantsToggled
(
bool
mute_new_participants_
);
11295
11297
static
const
std::int32_t
ID
= -126547970;
11298
11304
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11305
};
11306
11310
class
chatEventVideoChatParticipantIsMutedToggled
final :
public
ChatEventAction
{
11315
std::int32_t get_id()
const
final
{
11316
return
ID
;
11317
}
11318
11319
public
:
11321
object_ptr<MessageSender>
participant_id_
;
11323
bool
is_muted_
;
11324
11328
chatEventVideoChatParticipantIsMutedToggled
();
11329
11336
chatEventVideoChatParticipantIsMutedToggled
(
object_ptr<MessageSender>
&&
participant_id_
,
bool
is_muted_
);
11337
11339
static
const
std::int32_t
ID
= 521165047;
11340
11346
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11347
};
11348
11352
class
chatEventVideoChatParticipantVolumeLevelChanged
final :
public
ChatEventAction
{
11357
std::int32_t get_id()
const
final
{
11358
return
ID
;
11359
}
11360
11361
public
:
11363
object_ptr<MessageSender>
participant_id_
;
11365
int32
volume_level_
;
11366
11370
chatEventVideoChatParticipantVolumeLevelChanged
();
11371
11378
chatEventVideoChatParticipantVolumeLevelChanged
(
object_ptr<MessageSender>
&&
participant_id_
,
int32
volume_level_
);
11379
11381
static
const
std::int32_t
ID
= 1131385534;
11382
11388
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11389
};
11390
11394
class
chatEventIsForumToggled
final :
public
ChatEventAction
{
11399
std::int32_t get_id()
const
final
{
11400
return
ID
;
11401
}
11402
11403
public
:
11405
bool
is_forum_
;
11406
11410
chatEventIsForumToggled
();
11411
11417
explicit
chatEventIsForumToggled
(
bool
is_forum_
);
11418
11420
static
const
std::int32_t
ID
= 1516491033;
11421
11427
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11428
};
11429
11433
class
chatEventForumTopicCreated
final :
public
ChatEventAction
{
11438
std::int32_t get_id()
const
final
{
11439
return
ID
;
11440
}
11441
11442
public
:
11444
object_ptr<forumTopicInfo>
topic_info_
;
11445
11449
chatEventForumTopicCreated
();
11450
11456
explicit
chatEventForumTopicCreated
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
11457
11459
static
const
std::int32_t
ID
= 2005269314;
11460
11466
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11467
};
11468
11472
class
chatEventForumTopicEdited
final :
public
ChatEventAction
{
11477
std::int32_t get_id()
const
final
{
11478
return
ID
;
11479
}
11480
11481
public
:
11483
object_ptr<forumTopicInfo>
old_topic_info_
;
11485
object_ptr<forumTopicInfo>
new_topic_info_
;
11486
11490
chatEventForumTopicEdited
();
11491
11498
chatEventForumTopicEdited
(
object_ptr<forumTopicInfo>
&&
old_topic_info_
,
object_ptr<forumTopicInfo>
&&
new_topic_info_
);
11499
11501
static
const
std::int32_t
ID
= 1624910860;
11502
11508
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11509
};
11510
11514
class
chatEventForumTopicToggleIsClosed
final :
public
ChatEventAction
{
11519
std::int32_t get_id()
const
final
{
11520
return
ID
;
11521
}
11522
11523
public
:
11525
object_ptr<forumTopicInfo>
topic_info_
;
11526
11530
chatEventForumTopicToggleIsClosed
();
11531
11537
explicit
chatEventForumTopicToggleIsClosed
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
11538
11540
static
const
std::int32_t
ID
= -962704070;
11541
11547
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11548
};
11549
11553
class
chatEventForumTopicToggleIsHidden
final :
public
ChatEventAction
{
11558
std::int32_t get_id()
const
final
{
11559
return
ID
;
11560
}
11561
11562
public
:
11564
object_ptr<forumTopicInfo>
topic_info_
;
11565
11569
chatEventForumTopicToggleIsHidden
();
11570
11576
explicit
chatEventForumTopicToggleIsHidden
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
11577
11579
static
const
std::int32_t
ID
= -1609175250;
11580
11586
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11587
};
11588
11592
class
chatEventForumTopicDeleted
final :
public
ChatEventAction
{
11597
std::int32_t get_id()
const
final
{
11598
return
ID
;
11599
}
11600
11601
public
:
11603
object_ptr<forumTopicInfo>
topic_info_
;
11604
11608
chatEventForumTopicDeleted
();
11609
11615
explicit
chatEventForumTopicDeleted
(
object_ptr<forumTopicInfo>
&&
topic_info_
);
11616
11618
static
const
std::int32_t
ID
= -1332795123;
11619
11625
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11626
};
11627
11631
class
chatEventForumTopicPinned
final :
public
ChatEventAction
{
11636
std::int32_t get_id()
const
final
{
11637
return
ID
;
11638
}
11639
11640
public
:
11642
object_ptr<forumTopicInfo>
old_topic_info_
;
11644
object_ptr<forumTopicInfo>
new_topic_info_
;
11645
11649
chatEventForumTopicPinned
();
11650
11657
chatEventForumTopicPinned
(
object_ptr<forumTopicInfo>
&&
old_topic_info_
,
object_ptr<forumTopicInfo>
&&
new_topic_info_
);
11658
11660
static
const
std::int32_t
ID
= 2143626222;
11661
11667
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11668
};
11669
11673
class
chatEventLogFilters
final :
public
Object
{
11678
std::int32_t get_id()
const
final
{
11679
return
ID
;
11680
}
11681
11682
public
:
11684
bool
message_edits_
;
11686
bool
message_deletions_
;
11688
bool
message_pins_
;
11690
bool
member_joins_
;
11692
bool
member_leaves_
;
11694
bool
member_invites_
;
11696
bool
member_promotions_
;
11698
bool
member_restrictions_
;
11700
bool
info_changes_
;
11702
bool
setting_changes_
;
11704
bool
invite_link_changes_
;
11706
bool
video_chat_changes_
;
11708
bool
forum_changes_
;
11710
bool
subscription_extensions_
;
11711
11715
chatEventLogFilters
();
11716
11735
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_
);
11736
11738
static
const
std::int32_t
ID
= -1032965711;
11739
11745
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11746
};
11747
11748
class
chatEvent
;
11749
11753
class
chatEvents
final :
public
Object
{
11758
std::int32_t get_id()
const
final
{
11759
return
ID
;
11760
}
11761
11762
public
:
11764
array<object_ptr<chatEvent>
>
events_
;
11765
11769
chatEvents
();
11770
11776
explicit
chatEvents
(
array
<
object_ptr<chatEvent>
> &&
events_
);
11777
11779
static
const
std::int32_t
ID
= -585329664;
11780
11786
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11787
};
11788
11789
class
chatFolderIcon
;
11790
11791
class
chatFolderName
;
11792
11796
class
chatFolder
final :
public
Object
{
11801
std::int32_t get_id()
const
final
{
11802
return
ID
;
11803
}
11804
11805
public
:
11807
object_ptr<chatFolderName>
name_
;
11809
object_ptr<chatFolderIcon>
icon_
;
11811
int32
color_id_
;
11813
bool
is_shareable_
;
11815
array<int53>
pinned_chat_ids_
;
11817
array<int53>
included_chat_ids_
;
11819
array<int53>
excluded_chat_ids_
;
11821
bool
exclude_muted_
;
11823
bool
exclude_read_
;
11825
bool
exclude_archived_
;
11827
bool
include_contacts_
;
11829
bool
include_non_contacts_
;
11831
bool
include_bots_
;
11833
bool
include_groups_
;
11835
bool
include_channels_
;
11836
11840
chatFolder
();
11841
11861
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_
);
11862
11864
static
const
std::int32_t
ID
= 1596164696;
11865
11871
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11872
};
11873
11877
class
chatFolderIcon
final :
public
Object
{
11882
std::int32_t get_id()
const
final
{
11883
return
ID
;
11884
}
11885
11886
public
:
11888
string
name_
;
11889
11893
chatFolderIcon
();
11894
11900
explicit
chatFolderIcon
(
string
const
&
name_
);
11901
11903
static
const
std::int32_t
ID
= -146104090;
11904
11910
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11911
};
11912
11913
class
chatFolderIcon
;
11914
11915
class
chatFolderName
;
11916
11920
class
chatFolderInfo
final :
public
Object
{
11925
std::int32_t get_id()
const
final
{
11926
return
ID
;
11927
}
11928
11929
public
:
11931
int32
id_
;
11933
object_ptr<chatFolderName>
name_
;
11935
object_ptr<chatFolderIcon>
icon_
;
11937
int32
color_id_
;
11939
bool
is_shareable_
;
11941
bool
has_my_invite_links_
;
11942
11946
chatFolderInfo
();
11947
11958
chatFolderInfo
(
int32
id_
,
object_ptr<chatFolderName>
&&
name_
,
object_ptr<chatFolderIcon>
&&
icon_
,
int32
color_id_
,
bool
is_shareable_
,
bool
has_my_invite_links_
);
11959
11961
static
const
std::int32_t
ID
= 815535117;
11962
11968
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
11969
};
11970
11974
class
chatFolderInviteLink
final :
public
Object
{
11979
std::int32_t get_id()
const
final
{
11980
return
ID
;
11981
}
11982
11983
public
:
11985
string
invite_link_
;
11987
string
name_
;
11989
array<int53>
chat_ids_
;
11990
11994
chatFolderInviteLink
();
11995
12003
chatFolderInviteLink
(
string
const
&
invite_link_
,
string
const
&
name_
,
array<int53>
&&
chat_ids_
);
12004
12006
static
const
std::int32_t
ID
= 493969661;
12007
12013
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12014
};
12015
12016
class
chatFolderInfo
;
12017
12021
class
chatFolderInviteLinkInfo
final :
public
Object
{
12026
std::int32_t get_id()
const
final
{
12027
return
ID
;
12028
}
12029
12030
public
:
12032
object_ptr<chatFolderInfo>
chat_folder_info_
;
12034
array<int53>
missing_chat_ids_
;
12036
array<int53>
added_chat_ids_
;
12037
12041
chatFolderInviteLinkInfo
();
12042
12050
chatFolderInviteLinkInfo
(
object_ptr<chatFolderInfo>
&&
chat_folder_info_
,
array<int53>
&&
missing_chat_ids_
,
array<int53>
&&
added_chat_ids_
);
12051
12053
static
const
std::int32_t
ID
= 1119450395;
12054
12060
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12061
};
12062
12063
class
chatFolderInviteLink
;
12064
12068
class
chatFolderInviteLinks
final :
public
Object
{
12073
std::int32_t get_id()
const
final
{
12074
return
ID
;
12075
}
12076
12077
public
:
12079
array<object_ptr<chatFolderInviteLink>
>
invite_links_
;
12080
12084
chatFolderInviteLinks
();
12085
12091
explicit
chatFolderInviteLinks
(
array
<
object_ptr<chatFolderInviteLink>
> &&
invite_links_
);
12092
12094
static
const
std::int32_t
ID
= 1853351525;
12095
12101
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12102
};
12103
12104
class
formattedText
;
12105
12109
class
chatFolderName
final :
public
Object
{
12114
std::int32_t get_id()
const
final
{
12115
return
ID
;
12116
}
12117
12118
public
:
12120
object_ptr<formattedText>
text_
;
12122
bool
animate_custom_emoji_
;
12123
12127
chatFolderName
();
12128
12135
chatFolderName
(
object_ptr<formattedText>
&&
text_
,
bool
animate_custom_emoji_
);
12136
12138
static
const
std::int32_t
ID
= -330482274;
12139
12145
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12146
};
12147
12148
class
starSubscriptionPricing
;
12149
12153
class
chatInviteLink
final :
public
Object
{
12158
std::int32_t get_id()
const
final
{
12159
return
ID
;
12160
}
12161
12162
public
:
12164
string
invite_link_
;
12166
string
name_
;
12168
int53
creator_user_id_
;
12170
int32
date_
;
12172
int32
edit_date_
;
12174
int32
expiration_date_
;
12176
object_ptr<starSubscriptionPricing>
subscription_pricing_
;
12178
int32
member_limit_
;
12180
int32
member_count_
;
12182
int32
expired_member_count_
;
12184
int32
pending_join_request_count_
;
12186
bool
creates_join_request_
;
12188
bool
is_primary_
;
12190
bool
is_revoked_
;
12191
12195
chatInviteLink
();
12196
12215
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_
);
12216
12218
static
const
std::int32_t
ID
= -957651664;
12219
12225
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12226
};
12227
12231
class
chatInviteLinkCount
final :
public
Object
{
12236
std::int32_t get_id()
const
final
{
12237
return
ID
;
12238
}
12239
12240
public
:
12242
int53
user_id_
;
12244
int32
invite_link_count_
;
12246
int32
revoked_invite_link_count_
;
12247
12251
chatInviteLinkCount
();
12252
12260
chatInviteLinkCount
(
int53
user_id_
,
int32
invite_link_count_
,
int32
revoked_invite_link_count_
);
12261
12263
static
const
std::int32_t
ID
= -1021999210;
12264
12270
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12271
};
12272
12273
class
chatInviteLinkCount
;
12274
12278
class
chatInviteLinkCounts
final :
public
Object
{
12283
std::int32_t get_id()
const
final
{
12284
return
ID
;
12285
}
12286
12287
public
:
12289
array<object_ptr<chatInviteLinkCount>
>
invite_link_counts_
;
12290
12294
chatInviteLinkCounts
();
12295
12301
explicit
chatInviteLinkCounts
(
array
<
object_ptr<chatInviteLinkCount>
> &&
invite_link_counts_
);
12302
12304
static
const
std::int32_t
ID
= 920326637;
12305
12311
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12312
};
12313
12314
class
InviteLinkChatType
;
12315
12316
class
chatInviteLinkSubscriptionInfo
;
12317
12318
class
chatPhotoInfo
;
12319
12320
class
verificationStatus
;
12321
12325
class
chatInviteLinkInfo
final :
public
Object
{
12330
std::int32_t get_id()
const
final
{
12331
return
ID
;
12332
}
12333
12334
public
:
12336
int53
chat_id_
;
12338
int32
accessible_for_
;
12340
object_ptr<InviteLinkChatType>
type_
;
12342
string
title_
;
12344
object_ptr<chatPhotoInfo>
photo_
;
12346
int32
accent_color_id_
;
12348
string
description_
;
12350
int32
member_count_
;
12352
array<int53>
member_user_ids_
;
12354
object_ptr<chatInviteLinkSubscriptionInfo>
subscription_info_
;
12356
bool
creates_join_request_
;
12358
bool
is_public_
;
12360
object_ptr<verificationStatus>
verification_status_
;
12361
12365
chatInviteLinkInfo
();
12366
12384
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_
);
12385
12387
static
const
std::int32_t
ID
= -1145310535;
12388
12394
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12395
};
12396
12400
class
chatInviteLinkMember
final :
public
Object
{
12405
std::int32_t get_id()
const
final
{
12406
return
ID
;
12407
}
12408
12409
public
:
12411
int53
user_id_
;
12413
int32
joined_chat_date_
;
12415
bool
via_chat_folder_invite_link_
;
12417
int53
approver_user_id_
;
12418
12422
chatInviteLinkMember
();
12423
12432
chatInviteLinkMember
(
int53
user_id_
,
int32
joined_chat_date_
,
bool
via_chat_folder_invite_link_
,
int53
approver_user_id_
);
12433
12435
static
const
std::int32_t
ID
= 29156795;
12436
12442
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12443
};
12444
12445
class
chatInviteLinkMember
;
12446
12450
class
chatInviteLinkMembers
final :
public
Object
{
12455
std::int32_t get_id()
const
final
{
12456
return
ID
;
12457
}
12458
12459
public
:
12461
int32
total_count_
;
12463
array<object_ptr<chatInviteLinkMember>
>
members_
;
12464
12468
chatInviteLinkMembers
();
12469
12476
chatInviteLinkMembers
(
int32
total_count_
,
array
<
object_ptr<chatInviteLinkMember>
> &&
members_
);
12477
12479
static
const
std::int32_t
ID
= 315635051;
12480
12486
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12487
};
12488
12489
class
starSubscriptionPricing
;
12490
12494
class
chatInviteLinkSubscriptionInfo
final :
public
Object
{
12499
std::int32_t get_id()
const
final
{
12500
return
ID
;
12501
}
12502
12503
public
:
12505
object_ptr<starSubscriptionPricing>
pricing_
;
12507
bool
can_reuse_
;
12509
int64
form_id_
;
12510
12514
chatInviteLinkSubscriptionInfo
();
12515
12523
chatInviteLinkSubscriptionInfo
(
object_ptr<starSubscriptionPricing>
&&
pricing_
,
bool
can_reuse_
,
int64
form_id_
);
12524
12526
static
const
std::int32_t
ID
= 953119592;
12527
12533
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12534
};
12535
12536
class
chatInviteLink
;
12537
12541
class
chatInviteLinks
final :
public
Object
{
12546
std::int32_t get_id()
const
final
{
12547
return
ID
;
12548
}
12549
12550
public
:
12552
int32
total_count_
;
12554
array<object_ptr<chatInviteLink>
>
invite_links_
;
12555
12559
chatInviteLinks
();
12560
12567
chatInviteLinks
(
int32
total_count_
,
array
<
object_ptr<chatInviteLink>
> &&
invite_links_
);
12568
12570
static
const
std::int32_t
ID
= 112891427;
12571
12577
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12578
};
12579
12583
class
chatJoinRequest
final :
public
Object
{
12588
std::int32_t get_id()
const
final
{
12589
return
ID
;
12590
}
12591
12592
public
:
12594
int53
user_id_
;
12596
int32
date_
;
12598
string
bio_
;
12599
12603
chatJoinRequest
();
12604
12612
chatJoinRequest
(
int53
user_id_
,
int32
date_
,
string
const
&
bio_
);
12613
12615
static
const
std::int32_t
ID
= 59341416;
12616
12622
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12623
};
12624
12625
class
chatJoinRequest
;
12626
12630
class
chatJoinRequests
final :
public
Object
{
12635
std::int32_t get_id()
const
final
{
12636
return
ID
;
12637
}
12638
12639
public
:
12641
int32
total_count_
;
12643
array<object_ptr<chatJoinRequest>
>
requests_
;
12644
12648
chatJoinRequests
();
12649
12656
chatJoinRequests
(
int32
total_count_
,
array
<
object_ptr<chatJoinRequest>
> &&
requests_
);
12657
12659
static
const
std::int32_t
ID
= 1291680519;
12660
12666
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12667
};
12668
12672
class
chatJoinRequestsInfo
final :
public
Object
{
12677
std::int32_t get_id()
const
final
{
12678
return
ID
;
12679
}
12680
12681
public
:
12683
int32
total_count_
;
12685
array<int53>
user_ids_
;
12686
12690
chatJoinRequestsInfo
();
12691
12698
chatJoinRequestsInfo
(
int32
total_count_
,
array<int53>
&&
user_ids_
);
12699
12701
static
const
std::int32_t
ID
= 888534463;
12702
12708
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12709
};
12710
12715
class
ChatList
:
public
Object
{
12716
public
:
12717
};
12718
12722
class
chatListMain
final :
public
ChatList
{
12727
std::int32_t get_id()
const
final
{
12728
return
ID
;
12729
}
12730
12731
public
:
12732
12736
chatListMain
();
12737
12739
static
const
std::int32_t
ID
= -400991316;
12740
12746
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12747
};
12748
12752
class
chatListArchive
final :
public
ChatList
{
12757
std::int32_t get_id()
const
final
{
12758
return
ID
;
12759
}
12760
12761
public
:
12762
12766
chatListArchive
();
12767
12769
static
const
std::int32_t
ID
= 362770115;
12770
12776
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12777
};
12778
12782
class
chatListFolder
final :
public
ChatList
{
12787
std::int32_t get_id()
const
final
{
12788
return
ID
;
12789
}
12790
12791
public
:
12793
int32
chat_folder_id_
;
12794
12798
chatListFolder
();
12799
12805
explicit
chatListFolder
(
int32
chat_folder_id_
);
12806
12808
static
const
std::int32_t
ID
= 385760856;
12809
12815
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12816
};
12817
12818
class
ChatList
;
12819
12823
class
chatLists
final :
public
Object
{
12828
std::int32_t get_id()
const
final
{
12829
return
ID
;
12830
}
12831
12832
public
:
12834
array<object_ptr<ChatList>
>
chat_lists_
;
12835
12839
chatLists
();
12840
12846
explicit
chatLists
(
array
<
object_ptr<ChatList>
> &&
chat_lists_
);
12847
12849
static
const
std::int32_t
ID
= -258292771;
12850
12856
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12857
};
12858
12859
class
location
;
12860
12864
class
chatLocation
final :
public
Object
{
12869
std::int32_t get_id()
const
final
{
12870
return
ID
;
12871
}
12872
12873
public
:
12875
object_ptr<location>
location_
;
12877
string
address_
;
12878
12882
chatLocation
();
12883
12890
chatLocation
(
object_ptr<location>
&&
location_
,
string
const
&
address_
);
12891
12893
static
const
std::int32_t
ID
= -1566863583;
12894
12900
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12901
};
12902
12903
class
ChatMemberStatus
;
12904
12905
class
MessageSender
;
12906
12910
class
chatMember
final :
public
Object
{
12915
std::int32_t get_id()
const
final
{
12916
return
ID
;
12917
}
12918
12919
public
:
12921
object_ptr<MessageSender>
member_id_
;
12923
int53
inviter_user_id_
;
12925
int32
joined_chat_date_
;
12927
object_ptr<ChatMemberStatus>
status_
;
12928
12932
chatMember
();
12933
12942
chatMember
(
object_ptr<MessageSender>
&&
member_id_
,
int53
inviter_user_id_
,
int32
joined_chat_date_
,
object_ptr<ChatMemberStatus>
&&
status_
);
12943
12945
static
const
std::int32_t
ID
= 1829953909;
12946
12952
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
12953
};
12954
12955
class
chatAdministratorRights
;
12956
12957
class
chatPermissions
;
12958
12963
class
ChatMemberStatus
:
public
Object
{
12964
public
:
12965
};
12966
12970
class
chatMemberStatusCreator
final :
public
ChatMemberStatus
{
12975
std::int32_t get_id()
const
final
{
12976
return
ID
;
12977
}
12978
12979
public
:
12981
string
custom_title_
;
12983
bool
is_anonymous_
;
12985
bool
is_member_
;
12986
12990
chatMemberStatusCreator
();
12991
12999
chatMemberStatusCreator
(
string
const
&
custom_title_
,
bool
is_anonymous_
,
bool
is_member_
);
13000
13002
static
const
std::int32_t
ID
= -160019714;
13003
13009
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13010
};
13011
13015
class
chatMemberStatusAdministrator
final :
public
ChatMemberStatus
{
13020
std::int32_t get_id()
const
final
{
13021
return
ID
;
13022
}
13023
13024
public
:
13026
string
custom_title_
;
13028
bool
can_be_edited_
;
13030
object_ptr<chatAdministratorRights>
rights_
;
13031
13035
chatMemberStatusAdministrator
();
13036
13044
chatMemberStatusAdministrator
(
string
const
&
custom_title_
,
bool
can_be_edited_
,
object_ptr<chatAdministratorRights>
&&
rights_
);
13045
13047
static
const
std::int32_t
ID
= -70024163;
13048
13054
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13055
};
13056
13060
class
chatMemberStatusMember
final :
public
ChatMemberStatus
{
13065
std::int32_t get_id()
const
final
{
13066
return
ID
;
13067
}
13068
13069
public
:
13071
int32
member_until_date_
;
13072
13076
chatMemberStatusMember
();
13077
13083
explicit
chatMemberStatusMember
(
int32
member_until_date_
);
13084
13086
static
const
std::int32_t
ID
= -32707562;
13087
13093
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13094
};
13095
13099
class
chatMemberStatusRestricted
final :
public
ChatMemberStatus
{
13104
std::int32_t get_id()
const
final
{
13105
return
ID
;
13106
}
13107
13108
public
:
13110
bool
is_member_
;
13112
int32
restricted_until_date_
;
13114
object_ptr<chatPermissions>
permissions_
;
13115
13119
chatMemberStatusRestricted
();
13120
13128
chatMemberStatusRestricted
(
bool
is_member_
,
int32
restricted_until_date_
,
object_ptr<chatPermissions>
&&
permissions_
);
13129
13131
static
const
std::int32_t
ID
= 1661432998;
13132
13138
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13139
};
13140
13144
class
chatMemberStatusLeft
final :
public
ChatMemberStatus
{
13149
std::int32_t get_id()
const
final
{
13150
return
ID
;
13151
}
13152
13153
public
:
13154
13158
chatMemberStatusLeft
();
13159
13161
static
const
std::int32_t
ID
= -5815259;
13162
13168
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13169
};
13170
13174
class
chatMemberStatusBanned
final :
public
ChatMemberStatus
{
13179
std::int32_t get_id()
const
final
{
13180
return
ID
;
13181
}
13182
13183
public
:
13185
int32
banned_until_date_
;
13186
13190
chatMemberStatusBanned
();
13191
13197
explicit
chatMemberStatusBanned
(
int32
banned_until_date_
);
13198
13200
static
const
std::int32_t
ID
= -1653518666;
13201
13207
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13208
};
13209
13210
class
chatMember
;
13211
13215
class
chatMembers
final :
public
Object
{
13220
std::int32_t get_id()
const
final
{
13221
return
ID
;
13222
}
13223
13224
public
:
13226
int32
total_count_
;
13228
array<object_ptr<chatMember>
>
members_
;
13229
13233
chatMembers
();
13234
13241
chatMembers
(
int32
total_count_
,
array
<
object_ptr<chatMember>
> &&
members_
);
13242
13244
static
const
std::int32_t
ID
= -497558622;
13245
13251
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13252
};
13253
13258
class
ChatMembersFilter
:
public
Object
{
13259
public
:
13260
};
13261
13265
class
chatMembersFilterContacts
final :
public
ChatMembersFilter
{
13270
std::int32_t get_id()
const
final
{
13271
return
ID
;
13272
}
13273
13274
public
:
13275
13279
chatMembersFilterContacts
();
13280
13282
static
const
std::int32_t
ID
= 1774485671;
13283
13289
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13290
};
13291
13295
class
chatMembersFilterAdministrators
final :
public
ChatMembersFilter
{
13300
std::int32_t get_id()
const
final
{
13301
return
ID
;
13302
}
13303
13304
public
:
13305
13309
chatMembersFilterAdministrators
();
13310
13312
static
const
std::int32_t
ID
= -1266893796;
13313
13319
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13320
};
13321
13325
class
chatMembersFilterMembers
final :
public
ChatMembersFilter
{
13330
std::int32_t get_id()
const
final
{
13331
return
ID
;
13332
}
13333
13334
public
:
13335
13339
chatMembersFilterMembers
();
13340
13342
static
const
std::int32_t
ID
= 670504342;
13343
13349
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13350
};
13351
13355
class
chatMembersFilterMention
final :
public
ChatMembersFilter
{
13360
std::int32_t get_id()
const
final
{
13361
return
ID
;
13362
}
13363
13364
public
:
13366
int53
message_thread_id_
;
13367
13371
chatMembersFilterMention
();
13372
13378
explicit
chatMembersFilterMention
(
int53
message_thread_id_
);
13379
13381
static
const
std::int32_t
ID
= 856419831;
13382
13388
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13389
};
13390
13394
class
chatMembersFilterRestricted
final :
public
ChatMembersFilter
{
13399
std::int32_t get_id()
const
final
{
13400
return
ID
;
13401
}
13402
13403
public
:
13404
13408
chatMembersFilterRestricted
();
13409
13411
static
const
std::int32_t
ID
= 1256282813;
13412
13418
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13419
};
13420
13424
class
chatMembersFilterBanned
final :
public
ChatMembersFilter
{
13429
std::int32_t get_id()
const
final
{
13430
return
ID
;
13431
}
13432
13433
public
:
13434
13438
chatMembersFilterBanned
();
13439
13441
static
const
std::int32_t
ID
= -1863102648;
13442
13448
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13449
};
13450
13454
class
chatMembersFilterBots
final :
public
ChatMembersFilter
{
13459
std::int32_t get_id()
const
final
{
13460
return
ID
;
13461
}
13462
13463
public
:
13464
13468
chatMembersFilterBots
();
13469
13471
static
const
std::int32_t
ID
= -1422567288;
13472
13478
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13479
};
13480
13481
class
MessageSender
;
13482
13486
class
chatMessageSender
final :
public
Object
{
13491
std::int32_t get_id()
const
final
{
13492
return
ID
;
13493
}
13494
13495
public
:
13497
object_ptr<MessageSender>
sender_
;
13499
bool
needs_premium_
;
13500
13504
chatMessageSender
();
13505
13512
chatMessageSender
(
object_ptr<MessageSender>
&&
sender_
,
bool
needs_premium_
);
13513
13515
static
const
std::int32_t
ID
= 760590010;
13516
13522
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13523
};
13524
13525
class
chatMessageSender
;
13526
13530
class
chatMessageSenders
final :
public
Object
{
13535
std::int32_t get_id()
const
final
{
13536
return
ID
;
13537
}
13538
13539
public
:
13541
array<object_ptr<chatMessageSender>
>
senders_
;
13542
13546
chatMessageSenders
();
13547
13553
explicit
chatMessageSenders
(
array
<
object_ptr<chatMessageSender>
> &&
senders_
);
13554
13556
static
const
std::int32_t
ID
= -1866230970;
13557
13563
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13564
};
13565
13569
class
chatNotificationSettings
final :
public
Object
{
13574
std::int32_t get_id()
const
final
{
13575
return
ID
;
13576
}
13577
13578
public
:
13580
bool
use_default_mute_for_
;
13582
int32
mute_for_
;
13584
bool
use_default_sound_
;
13586
int64
sound_id_
;
13588
bool
use_default_show_preview_
;
13590
bool
show_preview_
;
13592
bool
use_default_mute_stories_
;
13594
bool
mute_stories_
;
13596
bool
use_default_story_sound_
;
13598
int64
story_sound_id_
;
13600
bool
use_default_show_story_poster_
;
13602
bool
show_story_poster_
;
13604
bool
use_default_disable_pinned_message_notifications_
;
13606
bool
disable_pinned_message_notifications_
;
13608
bool
use_default_disable_mention_notifications_
;
13610
bool
disable_mention_notifications_
;
13611
13615
chatNotificationSettings
();
13616
13637
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_
);
13638
13640
static
const
std::int32_t
ID
= 1459533846;
13641
13647
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13648
};
13649
13653
class
chatPermissions
final :
public
Object
{
13658
std::int32_t get_id()
const
final
{
13659
return
ID
;
13660
}
13661
13662
public
:
13664
bool
can_send_basic_messages_
;
13666
bool
can_send_audios_
;
13668
bool
can_send_documents_
;
13670
bool
can_send_photos_
;
13672
bool
can_send_videos_
;
13674
bool
can_send_video_notes_
;
13676
bool
can_send_voice_notes_
;
13678
bool
can_send_polls_
;
13680
bool
can_send_other_messages_
;
13682
bool
can_add_link_previews_
;
13684
bool
can_change_info_
;
13686
bool
can_invite_users_
;
13688
bool
can_pin_messages_
;
13690
bool
can_create_topics_
;
13691
13695
chatPermissions
();
13696
13715
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_
);
13716
13718
static
const
std::int32_t
ID
= -118334855;
13719
13725
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13726
};
13727
13728
class
animatedChatPhoto
;
13729
13730
class
chatPhotoSticker
;
13731
13732
class
minithumbnail
;
13733
13734
class
photoSize
;
13735
13739
class
chatPhoto
final :
public
Object
{
13744
std::int32_t get_id()
const
final
{
13745
return
ID
;
13746
}
13747
13748
public
:
13750
int64
id_
;
13752
int32
added_date_
;
13754
object_ptr<minithumbnail>
minithumbnail_
;
13756
array<object_ptr<photoSize>
>
sizes_
;
13758
object_ptr<animatedChatPhoto>
animation_
;
13760
object_ptr<animatedChatPhoto>
small_animation_
;
13762
object_ptr<chatPhotoSticker>
sticker_
;
13763
13767
chatPhoto
();
13768
13780
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_
);
13781
13783
static
const
std::int32_t
ID
= -1430870201;
13784
13790
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13791
};
13792
13793
class
file
;
13794
13795
class
minithumbnail
;
13796
13800
class
chatPhotoInfo
final :
public
Object
{
13805
std::int32_t get_id()
const
final
{
13806
return
ID
;
13807
}
13808
13809
public
:
13811
object_ptr<file>
small_
;
13813
object_ptr<file>
big_
;
13815
object_ptr<minithumbnail>
minithumbnail_
;
13817
bool
has_animation_
;
13819
bool
is_personal_
;
13820
13824
chatPhotoInfo
();
13825
13835
chatPhotoInfo
(
object_ptr<file>
&&
small_
,
object_ptr<file>
&&
big_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
bool
has_animation_
,
bool
is_personal_
);
13836
13838
static
const
std::int32_t
ID
= 281195686;
13839
13845
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13846
};
13847
13848
class
BackgroundFill
;
13849
13850
class
ChatPhotoStickerType
;
13851
13855
class
chatPhotoSticker
final :
public
Object
{
13860
std::int32_t get_id()
const
final
{
13861
return
ID
;
13862
}
13863
13864
public
:
13866
object_ptr<ChatPhotoStickerType>
type_
;
13868
object_ptr<BackgroundFill>
background_fill_
;
13869
13873
chatPhotoSticker
();
13874
13881
chatPhotoSticker
(
object_ptr<ChatPhotoStickerType>
&&
type_
,
object_ptr<BackgroundFill>
&&
background_fill_
);
13882
13884
static
const
std::int32_t
ID
= -1459387485;
13885
13891
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13892
};
13893
13898
class
ChatPhotoStickerType
:
public
Object
{
13899
public
:
13900
};
13901
13905
class
chatPhotoStickerTypeRegularOrMask
final :
public
ChatPhotoStickerType
{
13910
std::int32_t get_id()
const
final
{
13911
return
ID
;
13912
}
13913
13914
public
:
13916
int64
sticker_set_id_
;
13918
int64
sticker_id_
;
13919
13923
chatPhotoStickerTypeRegularOrMask
();
13924
13931
chatPhotoStickerTypeRegularOrMask
(
int64
sticker_set_id_
,
int64
sticker_id_
);
13932
13934
static
const
std::int32_t
ID
= -415147620;
13935
13941
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13942
};
13943
13947
class
chatPhotoStickerTypeCustomEmoji
final :
public
ChatPhotoStickerType
{
13952
std::int32_t get_id()
const
final
{
13953
return
ID
;
13954
}
13955
13956
public
:
13958
int64
custom_emoji_id_
;
13959
13963
chatPhotoStickerTypeCustomEmoji
();
13964
13970
explicit
chatPhotoStickerTypeCustomEmoji
(
int64
custom_emoji_id_
);
13971
13973
static
const
std::int32_t
ID
= -266224943;
13974
13980
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
13981
};
13982
13983
class
chatPhoto
;
13984
13988
class
chatPhotos
final :
public
Object
{
13993
std::int32_t get_id()
const
final
{
13994
return
ID
;
13995
}
13996
13997
public
:
13999
int32
total_count_
;
14001
array<object_ptr<chatPhoto>
>
photos_
;
14002
14006
chatPhotos
();
14007
14014
chatPhotos
(
int32
total_count_
,
array
<
object_ptr<chatPhoto>
> &&
photos_
);
14015
14017
static
const
std::int32_t
ID
= -1510699180;
14018
14024
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14025
};
14026
14027
class
ChatList
;
14028
14029
class
ChatSource
;
14030
14034
class
chatPosition
final :
public
Object
{
14039
std::int32_t get_id()
const
final
{
14040
return
ID
;
14041
}
14042
14043
public
:
14045
object_ptr<ChatList>
list_
;
14047
int64
order_
;
14049
bool
is_pinned_
;
14051
object_ptr<ChatSource>
source_
;
14052
14056
chatPosition
();
14057
14066
chatPosition
(
object_ptr<ChatList>
&&
list_
,
int64
order_
,
bool
is_pinned_
,
object_ptr<ChatSource>
&&
source_
);
14067
14069
static
const
std::int32_t
ID
= -622557355;
14070
14076
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14077
};
14078
14082
class
chatRevenueAmount
final :
public
Object
{
14087
std::int32_t get_id()
const
final
{
14088
return
ID
;
14089
}
14090
14091
public
:
14093
string
cryptocurrency_
;
14095
int64
total_amount_
;
14097
int64
balance_amount_
;
14099
int64
available_amount_
;
14101
bool
withdrawal_enabled_
;
14102
14106
chatRevenueAmount
();
14107
14117
chatRevenueAmount
(
string
const
&
cryptocurrency_
,
int64
total_amount_
,
int64
balance_amount_
,
int64
available_amount_
,
bool
withdrawal_enabled_
);
14118
14120
static
const
std::int32_t
ID
= -1505178024;
14121
14127
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14128
};
14129
14130
class
StatisticalGraph
;
14131
14132
class
chatRevenueAmount
;
14133
14137
class
chatRevenueStatistics
final :
public
Object
{
14142
std::int32_t get_id()
const
final
{
14143
return
ID
;
14144
}
14145
14146
public
:
14148
object_ptr<StatisticalGraph>
revenue_by_hour_graph_
;
14150
object_ptr<StatisticalGraph>
revenue_graph_
;
14152
object_ptr<chatRevenueAmount>
revenue_amount_
;
14154
double
usd_rate_
;
14155
14159
chatRevenueStatistics
();
14160
14169
chatRevenueStatistics
(
object_ptr<StatisticalGraph>
&&
revenue_by_hour_graph_
,
object_ptr<StatisticalGraph>
&&
revenue_graph_
,
object_ptr<chatRevenueAmount>
&&
revenue_amount_
,
double
usd_rate_
);
14170
14172
static
const
std::int32_t
ID
= 1667438779;
14173
14179
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14180
};
14181
14182
class
ChatRevenueTransactionType
;
14183
14187
class
chatRevenueTransaction
final :
public
Object
{
14192
std::int32_t get_id()
const
final
{
14193
return
ID
;
14194
}
14195
14196
public
:
14198
string
cryptocurrency_
;
14200
int64
cryptocurrency_amount_
;
14202
object_ptr<ChatRevenueTransactionType>
type_
;
14203
14207
chatRevenueTransaction
();
14208
14216
chatRevenueTransaction
(
string
const
&
cryptocurrency_
,
int64
cryptocurrency_amount_
,
object_ptr<ChatRevenueTransactionType>
&&
type_
);
14217
14219
static
const
std::int32_t
ID
= 80192767;
14220
14226
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14227
};
14228
14229
class
RevenueWithdrawalState
;
14230
14235
class
ChatRevenueTransactionType
:
public
Object
{
14236
public
:
14237
};
14238
14242
class
chatRevenueTransactionTypeEarnings
final :
public
ChatRevenueTransactionType
{
14247
std::int32_t get_id()
const
final
{
14248
return
ID
;
14249
}
14250
14251
public
:
14253
int32
start_date_
;
14255
int32
end_date_
;
14256
14260
chatRevenueTransactionTypeEarnings
();
14261
14268
chatRevenueTransactionTypeEarnings
(
int32
start_date_
,
int32
end_date_
);
14269
14271
static
const
std::int32_t
ID
= -400776056;
14272
14278
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14279
};
14280
14284
class
chatRevenueTransactionTypeWithdrawal
final :
public
ChatRevenueTransactionType
{
14289
std::int32_t get_id()
const
final
{
14290
return
ID
;
14291
}
14292
14293
public
:
14295
int32
withdrawal_date_
;
14297
string
provider_
;
14299
object_ptr<RevenueWithdrawalState>
state_
;
14300
14304
chatRevenueTransactionTypeWithdrawal
();
14305
14313
chatRevenueTransactionTypeWithdrawal
(
int32
withdrawal_date_
,
string
const
&
provider_
,
object_ptr<RevenueWithdrawalState>
&&
state_
);
14314
14316
static
const
std::int32_t
ID
= 252939755;
14317
14323
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14324
};
14325
14329
class
chatRevenueTransactionTypeRefund
final :
public
ChatRevenueTransactionType
{
14334
std::int32_t get_id()
const
final
{
14335
return
ID
;
14336
}
14337
14338
public
:
14340
int32
refund_date_
;
14342
string
provider_
;
14343
14347
chatRevenueTransactionTypeRefund
();
14348
14355
chatRevenueTransactionTypeRefund
(
int32
refund_date_
,
string
const
&
provider_
);
14356
14358
static
const
std::int32_t
ID
= 302430279;
14359
14365
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14366
};
14367
14368
class
chatRevenueTransaction
;
14369
14373
class
chatRevenueTransactions
final :
public
Object
{
14378
std::int32_t get_id()
const
final
{
14379
return
ID
;
14380
}
14381
14382
public
:
14384
int32
total_count_
;
14386
array<object_ptr<chatRevenueTransaction>
>
transactions_
;
14387
14391
chatRevenueTransactions
();
14392
14399
chatRevenueTransactions
(
int32
total_count_
,
array
<
object_ptr<chatRevenueTransaction>
> &&
transactions_
);
14400
14402
static
const
std::int32_t
ID
= -553258171;
14403
14409
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14410
};
14411
14416
class
ChatSource
:
public
Object
{
14417
public
:
14418
};
14419
14423
class
chatSourceMtprotoProxy
final :
public
ChatSource
{
14428
std::int32_t get_id()
const
final
{
14429
return
ID
;
14430
}
14431
14432
public
:
14433
14437
chatSourceMtprotoProxy
();
14438
14440
static
const
std::int32_t
ID
= 394074115;
14441
14447
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14448
};
14449
14453
class
chatSourcePublicServiceAnnouncement
final :
public
ChatSource
{
14458
std::int32_t get_id()
const
final
{
14459
return
ID
;
14460
}
14461
14462
public
:
14464
string
type_
;
14466
string
text_
;
14467
14471
chatSourcePublicServiceAnnouncement
();
14472
14479
chatSourcePublicServiceAnnouncement
(
string
const
&
type_
,
string
const
&
text_
);
14480
14482
static
const
std::int32_t
ID
= -328571244;
14483
14489
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14490
};
14491
14492
class
StatisticalGraph
;
14493
14494
class
chatStatisticsAdministratorActionsInfo
;
14495
14496
class
chatStatisticsInteractionInfo
;
14497
14498
class
chatStatisticsInviterInfo
;
14499
14500
class
chatStatisticsMessageSenderInfo
;
14501
14502
class
dateRange
;
14503
14504
class
statisticalValue
;
14505
14510
class
ChatStatistics
:
public
Object
{
14511
public
:
14512
};
14513
14517
class
chatStatisticsSupergroup
final :
public
ChatStatistics
{
14522
std::int32_t get_id()
const
final
{
14523
return
ID
;
14524
}
14525
14526
public
:
14528
object_ptr<dateRange>
period_
;
14530
object_ptr<statisticalValue>
member_count_
;
14532
object_ptr<statisticalValue>
message_count_
;
14534
object_ptr<statisticalValue>
viewer_count_
;
14536
object_ptr<statisticalValue>
sender_count_
;
14538
object_ptr<StatisticalGraph>
member_count_graph_
;
14540
object_ptr<StatisticalGraph>
join_graph_
;
14542
object_ptr<StatisticalGraph>
join_by_source_graph_
;
14544
object_ptr<StatisticalGraph>
language_graph_
;
14546
object_ptr<StatisticalGraph>
message_content_graph_
;
14548
object_ptr<StatisticalGraph>
action_graph_
;
14550
object_ptr<StatisticalGraph>
day_graph_
;
14552
object_ptr<StatisticalGraph>
week_graph_
;
14554
array<object_ptr<chatStatisticsMessageSenderInfo>
>
top_senders_
;
14556
array<object_ptr<chatStatisticsAdministratorActionsInfo>
>
top_administrators_
;
14558
array<object_ptr<chatStatisticsInviterInfo>
>
top_inviters_
;
14559
14563
chatStatisticsSupergroup
();
14564
14585
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_
);
14586
14588
static
const
std::int32_t
ID
= -17244633;
14589
14595
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14596
};
14597
14601
class
chatStatisticsChannel
final :
public
ChatStatistics
{
14606
std::int32_t get_id()
const
final
{
14607
return
ID
;
14608
}
14609
14610
public
:
14612
object_ptr<dateRange>
period_
;
14614
object_ptr<statisticalValue>
member_count_
;
14616
object_ptr<statisticalValue>
mean_message_view_count_
;
14618
object_ptr<statisticalValue>
mean_message_share_count_
;
14620
object_ptr<statisticalValue>
mean_message_reaction_count_
;
14622
object_ptr<statisticalValue>
mean_story_view_count_
;
14624
object_ptr<statisticalValue>
mean_story_share_count_
;
14626
object_ptr<statisticalValue>
mean_story_reaction_count_
;
14628
double
enabled_notifications_percentage_
;
14630
object_ptr<StatisticalGraph>
member_count_graph_
;
14632
object_ptr<StatisticalGraph>
join_graph_
;
14634
object_ptr<StatisticalGraph>
mute_graph_
;
14636
object_ptr<StatisticalGraph>
view_count_by_hour_graph_
;
14638
object_ptr<StatisticalGraph>
view_count_by_source_graph_
;
14640
object_ptr<StatisticalGraph>
join_by_source_graph_
;
14642
object_ptr<StatisticalGraph>
language_graph_
;
14644
object_ptr<StatisticalGraph>
message_interaction_graph_
;
14646
object_ptr<StatisticalGraph>
message_reaction_graph_
;
14648
object_ptr<StatisticalGraph>
story_interaction_graph_
;
14650
object_ptr<StatisticalGraph>
story_reaction_graph_
;
14652
object_ptr<StatisticalGraph>
instant_view_interaction_graph_
;
14654
array<object_ptr<chatStatisticsInteractionInfo>
>
recent_interactions_
;
14655
14659
chatStatisticsChannel
();
14660
14687
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_
);
14688
14690
static
const
std::int32_t
ID
= -1375151660;
14691
14697
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14698
};
14699
14703
class
chatStatisticsAdministratorActionsInfo
final :
public
Object
{
14708
std::int32_t get_id()
const
final
{
14709
return
ID
;
14710
}
14711
14712
public
:
14714
int53
user_id_
;
14716
int32
deleted_message_count_
;
14718
int32
banned_user_count_
;
14720
int32
restricted_user_count_
;
14721
14725
chatStatisticsAdministratorActionsInfo
();
14726
14735
chatStatisticsAdministratorActionsInfo
(
int53
user_id_
,
int32
deleted_message_count_
,
int32
banned_user_count_
,
int32
restricted_user_count_
);
14736
14738
static
const
std::int32_t
ID
= -406467202;
14739
14745
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14746
};
14747
14748
class
ChatStatisticsObjectType
;
14749
14753
class
chatStatisticsInteractionInfo
final :
public
Object
{
14758
std::int32_t get_id()
const
final
{
14759
return
ID
;
14760
}
14761
14762
public
:
14764
object_ptr<ChatStatisticsObjectType>
object_type_
;
14766
int32
view_count_
;
14768
int32
forward_count_
;
14770
int32
reaction_count_
;
14771
14775
chatStatisticsInteractionInfo
();
14776
14785
chatStatisticsInteractionInfo
(
object_ptr<ChatStatisticsObjectType>
&&
object_type_
,
int32
view_count_
,
int32
forward_count_
,
int32
reaction_count_
);
14786
14788
static
const
std::int32_t
ID
= 1766496909;
14789
14795
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14796
};
14797
14801
class
chatStatisticsInviterInfo
final :
public
Object
{
14806
std::int32_t get_id()
const
final
{
14807
return
ID
;
14808
}
14809
14810
public
:
14812
int53
user_id_
;
14814
int32
added_member_count_
;
14815
14819
chatStatisticsInviterInfo
();
14820
14827
chatStatisticsInviterInfo
(
int53
user_id_
,
int32
added_member_count_
);
14828
14830
static
const
std::int32_t
ID
= 629396619;
14831
14837
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14838
};
14839
14843
class
chatStatisticsMessageSenderInfo
final :
public
Object
{
14848
std::int32_t get_id()
const
final
{
14849
return
ID
;
14850
}
14851
14852
public
:
14854
int53
user_id_
;
14856
int32
sent_message_count_
;
14858
int32
average_character_count_
;
14859
14863
chatStatisticsMessageSenderInfo
();
14864
14872
chatStatisticsMessageSenderInfo
(
int53
user_id_
,
int32
sent_message_count_
,
int32
average_character_count_
);
14873
14875
static
const
std::int32_t
ID
= 1762295371;
14876
14882
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14883
};
14884
14889
class
ChatStatisticsObjectType
:
public
Object
{
14890
public
:
14891
};
14892
14896
class
chatStatisticsObjectTypeMessage
final :
public
ChatStatisticsObjectType
{
14901
std::int32_t get_id()
const
final
{
14902
return
ID
;
14903
}
14904
14905
public
:
14907
int53
message_id_
;
14908
14912
chatStatisticsObjectTypeMessage
();
14913
14919
explicit
chatStatisticsObjectTypeMessage
(
int53
message_id_
);
14920
14922
static
const
std::int32_t
ID
= 1872700662;
14923
14929
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14930
};
14931
14935
class
chatStatisticsObjectTypeStory
final :
public
ChatStatisticsObjectType
{
14940
std::int32_t get_id()
const
final
{
14941
return
ID
;
14942
}
14943
14944
public
:
14946
int32
story_id_
;
14947
14951
chatStatisticsObjectTypeStory
();
14952
14958
explicit
chatStatisticsObjectTypeStory
(
int32
story_id_
);
14959
14961
static
const
std::int32_t
ID
= 364575152;
14962
14968
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
14969
};
14970
14971
class
themeSettings
;
14972
14976
class
chatTheme
final :
public
Object
{
14981
std::int32_t get_id()
const
final
{
14982
return
ID
;
14983
}
14984
14985
public
:
14987
string
name_
;
14989
object_ptr<themeSettings>
light_settings_
;
14991
object_ptr<themeSettings>
dark_settings_
;
14992
14996
chatTheme
();
14997
15005
chatTheme
(
string
const
&
name_
,
object_ptr<themeSettings>
&&
light_settings_
,
object_ptr<themeSettings>
&&
dark_settings_
);
15006
15008
static
const
std::int32_t
ID
= -113218503;
15009
15015
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15016
};
15017
15022
class
ChatType
:
public
Object
{
15023
public
:
15024
};
15025
15029
class
chatTypePrivate
final :
public
ChatType
{
15034
std::int32_t get_id()
const
final
{
15035
return
ID
;
15036
}
15037
15038
public
:
15040
int53
user_id_
;
15041
15045
chatTypePrivate
();
15046
15052
explicit
chatTypePrivate
(
int53
user_id_
);
15053
15055
static
const
std::int32_t
ID
= 1579049844;
15056
15062
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15063
};
15064
15068
class
chatTypeBasicGroup
final :
public
ChatType
{
15073
std::int32_t get_id()
const
final
{
15074
return
ID
;
15075
}
15076
15077
public
:
15079
int53
basic_group_id_
;
15080
15084
chatTypeBasicGroup
();
15085
15091
explicit
chatTypeBasicGroup
(
int53
basic_group_id_
);
15092
15094
static
const
std::int32_t
ID
= 973884508;
15095
15101
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15102
};
15103
15107
class
chatTypeSupergroup
final :
public
ChatType
{
15112
std::int32_t get_id()
const
final
{
15113
return
ID
;
15114
}
15115
15116
public
:
15118
int53
supergroup_id_
;
15120
bool
is_channel_
;
15121
15125
chatTypeSupergroup
();
15126
15133
chatTypeSupergroup
(
int53
supergroup_id_
,
bool
is_channel_
);
15134
15136
static
const
std::int32_t
ID
= -1472570774;
15137
15143
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15144
};
15145
15149
class
chatTypeSecret
final :
public
ChatType
{
15154
std::int32_t get_id()
const
final
{
15155
return
ID
;
15156
}
15157
15158
public
:
15160
int32
secret_chat_id_
;
15162
int53
user_id_
;
15163
15167
chatTypeSecret
();
15168
15175
chatTypeSecret
(
int32
secret_chat_id_
,
int53
user_id_
);
15176
15178
static
const
std::int32_t
ID
= 862366513;
15179
15185
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15186
};
15187
15191
class
chats
final :
public
Object
{
15196
std::int32_t get_id()
const
final
{
15197
return
ID
;
15198
}
15199
15200
public
:
15202
int32
total_count_
;
15204
array<int53>
chat_ids_
;
15205
15209
chats
();
15210
15217
chats
(
int32
total_count_
,
array<int53>
&&
chat_ids_
);
15218
15220
static
const
std::int32_t
ID
= 1809654812;
15221
15227
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15228
};
15229
15234
class
CheckChatUsernameResult
:
public
Object
{
15235
public
:
15236
};
15237
15241
class
checkChatUsernameResultOk
final :
public
CheckChatUsernameResult
{
15246
std::int32_t get_id()
const
final
{
15247
return
ID
;
15248
}
15249
15250
public
:
15251
15255
checkChatUsernameResultOk
();
15256
15258
static
const
std::int32_t
ID
= -1498956964;
15259
15265
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15266
};
15267
15271
class
checkChatUsernameResultUsernameInvalid
final :
public
CheckChatUsernameResult
{
15276
std::int32_t get_id()
const
final
{
15277
return
ID
;
15278
}
15279
15280
public
:
15281
15285
checkChatUsernameResultUsernameInvalid
();
15286
15288
static
const
std::int32_t
ID
= -636979370;
15289
15295
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15296
};
15297
15301
class
checkChatUsernameResultUsernameOccupied
final :
public
CheckChatUsernameResult
{
15306
std::int32_t get_id()
const
final
{
15307
return
ID
;
15308
}
15309
15310
public
:
15311
15315
checkChatUsernameResultUsernameOccupied
();
15316
15318
static
const
std::int32_t
ID
= 1320892201;
15319
15325
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15326
};
15327
15331
class
checkChatUsernameResultUsernamePurchasable
final :
public
CheckChatUsernameResult
{
15336
std::int32_t get_id()
const
final
{
15337
return
ID
;
15338
}
15339
15340
public
:
15341
15345
checkChatUsernameResultUsernamePurchasable
();
15346
15348
static
const
std::int32_t
ID
= 5885529;
15349
15355
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15356
};
15357
15361
class
checkChatUsernameResultPublicChatsTooMany
final :
public
CheckChatUsernameResult
{
15366
std::int32_t get_id()
const
final
{
15367
return
ID
;
15368
}
15369
15370
public
:
15371
15375
checkChatUsernameResultPublicChatsTooMany
();
15376
15378
static
const
std::int32_t
ID
= -659264388;
15379
15385
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15386
};
15387
15391
class
checkChatUsernameResultPublicGroupsUnavailable
final :
public
CheckChatUsernameResult
{
15396
std::int32_t get_id()
const
final
{
15397
return
ID
;
15398
}
15399
15400
public
:
15401
15405
checkChatUsernameResultPublicGroupsUnavailable
();
15406
15408
static
const
std::int32_t
ID
= -51833641;
15409
15415
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15416
};
15417
15422
class
CheckStickerSetNameResult
:
public
Object
{
15423
public
:
15424
};
15425
15429
class
checkStickerSetNameResultOk
final :
public
CheckStickerSetNameResult
{
15434
std::int32_t get_id()
const
final
{
15435
return
ID
;
15436
}
15437
15438
public
:
15439
15443
checkStickerSetNameResultOk
();
15444
15446
static
const
std::int32_t
ID
= -1404308904;
15447
15453
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15454
};
15455
15459
class
checkStickerSetNameResultNameInvalid
final :
public
CheckStickerSetNameResult
{
15464
std::int32_t get_id()
const
final
{
15465
return
ID
;
15466
}
15467
15468
public
:
15469
15473
checkStickerSetNameResultNameInvalid
();
15474
15476
static
const
std::int32_t
ID
= 177992244;
15477
15483
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15484
};
15485
15489
class
checkStickerSetNameResultNameOccupied
final :
public
CheckStickerSetNameResult
{
15494
std::int32_t get_id()
const
final
{
15495
return
ID
;
15496
}
15497
15498
public
:
15499
15503
checkStickerSetNameResultNameOccupied
();
15504
15506
static
const
std::int32_t
ID
= 1012980872;
15507
15513
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15514
};
15515
15516
class
birthdate
;
15517
15521
class
closeBirthdayUser
final :
public
Object
{
15526
std::int32_t get_id()
const
final
{
15527
return
ID
;
15528
}
15529
15530
public
:
15532
int53
user_id_
;
15534
object_ptr<birthdate>
birthdate_
;
15535
15539
closeBirthdayUser
();
15540
15547
closeBirthdayUser
(
int53
user_id_
,
object_ptr<birthdate>
&&
birthdate_
);
15548
15550
static
const
std::int32_t
ID
= -2147067410;
15551
15557
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15558
};
15559
15560
class
VectorPathCommand
;
15561
15565
class
closedVectorPath
final :
public
Object
{
15570
std::int32_t get_id()
const
final
{
15571
return
ID
;
15572
}
15573
15574
public
:
15576
array<object_ptr<VectorPathCommand>
>
commands_
;
15577
15581
closedVectorPath
();
15582
15588
explicit
closedVectorPath
(
array
<
object_ptr<VectorPathCommand>
> &&
commands_
);
15589
15591
static
const
std::int32_t
ID
= 589951657;
15592
15598
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15599
};
15600
15604
class
collectibleItemInfo
final :
public
Object
{
15609
std::int32_t get_id()
const
final
{
15610
return
ID
;
15611
}
15612
15613
public
:
15615
int32
purchase_date_
;
15617
string
currency_
;
15619
int53
amount_
;
15621
string
cryptocurrency_
;
15623
int64
cryptocurrency_amount_
;
15625
string
url_
;
15626
15630
collectibleItemInfo
();
15631
15642
collectibleItemInfo
(
int32
purchase_date_
,
string
const
&
currency_
,
int53
amount_
,
string
const
&
cryptocurrency_
,
int64
cryptocurrency_amount_
,
string
const
&
url_
);
15643
15645
static
const
std::int32_t
ID
= 1460640717;
15646
15652
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15653
};
15654
15659
class
CollectibleItemType
:
public
Object
{
15660
public
:
15661
};
15662
15666
class
collectibleItemTypeUsername
final :
public
CollectibleItemType
{
15671
std::int32_t get_id()
const
final
{
15672
return
ID
;
15673
}
15674
15675
public
:
15677
string
username_
;
15678
15682
collectibleItemTypeUsername
();
15683
15689
explicit
collectibleItemTypeUsername
(
string
const
&
username_
);
15690
15692
static
const
std::int32_t
ID
= 458680273;
15693
15699
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15700
};
15701
15705
class
collectibleItemTypePhoneNumber
final :
public
CollectibleItemType
{
15710
std::int32_t get_id()
const
final
{
15711
return
ID
;
15712
}
15713
15714
public
:
15716
string
phone_number_
;
15717
15721
collectibleItemTypePhoneNumber
();
15722
15728
explicit
collectibleItemTypePhoneNumber
(
string
const
&
phone_number_
);
15729
15731
static
const
std::int32_t
ID
= 1256251714;
15732
15738
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15739
};
15740
15741
class
affiliateProgramParameters
;
15742
15746
class
connectedAffiliateProgram
final :
public
Object
{
15751
std::int32_t get_id()
const
final
{
15752
return
ID
;
15753
}
15754
15755
public
:
15757
string
url_
;
15759
int53
bot_user_id_
;
15761
object_ptr<affiliateProgramParameters>
parameters_
;
15763
int32
connection_date_
;
15765
bool
is_disconnected_
;
15767
int64
user_count_
;
15769
int64
revenue_star_count_
;
15770
15774
connectedAffiliateProgram
();
15775
15787
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_
);
15788
15790
static
const
std::int32_t
ID
= 1488942101;
15791
15797
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15798
};
15799
15800
class
connectedAffiliateProgram
;
15801
15805
class
connectedAffiliatePrograms
final :
public
Object
{
15810
std::int32_t get_id()
const
final
{
15811
return
ID
;
15812
}
15813
15814
public
:
15816
int32
total_count_
;
15818
array<object_ptr<connectedAffiliateProgram>
>
programs_
;
15820
string
next_offset_
;
15821
15825
connectedAffiliatePrograms
();
15826
15834
connectedAffiliatePrograms
(
int32
total_count_
,
array
<
object_ptr<connectedAffiliateProgram>
> &&
programs_
,
string
const
&
next_offset_
);
15835
15837
static
const
std::int32_t
ID
= 1505880847;
15838
15844
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15845
};
15846
15850
class
connectedWebsite
final :
public
Object
{
15855
std::int32_t get_id()
const
final
{
15856
return
ID
;
15857
}
15858
15859
public
:
15861
int64
id_
;
15863
string
domain_name_
;
15865
int53
bot_user_id_
;
15867
string
browser_
;
15869
string
platform_
;
15871
int32
log_in_date_
;
15873
int32
last_active_date_
;
15875
string
ip_address_
;
15877
string
location_
;
15878
15882
connectedWebsite
();
15883
15897
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_
);
15898
15900
static
const
std::int32_t
ID
= 1978115978;
15901
15907
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15908
};
15909
15910
class
connectedWebsite
;
15911
15915
class
connectedWebsites
final :
public
Object
{
15920
std::int32_t get_id()
const
final
{
15921
return
ID
;
15922
}
15923
15924
public
:
15926
array<object_ptr<connectedWebsite>
>
websites_
;
15927
15931
connectedWebsites
();
15932
15938
explicit
connectedWebsites
(
array
<
object_ptr<connectedWebsite>
> &&
websites_
);
15939
15941
static
const
std::int32_t
ID
= -1727949694;
15942
15948
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15949
};
15950
15955
class
ConnectionState
:
public
Object
{
15956
public
:
15957
};
15958
15962
class
connectionStateWaitingForNetwork
final :
public
ConnectionState
{
15967
std::int32_t get_id()
const
final
{
15968
return
ID
;
15969
}
15970
15971
public
:
15972
15976
connectionStateWaitingForNetwork
();
15977
15979
static
const
std::int32_t
ID
= 1695405912;
15980
15986
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
15987
};
15988
15992
class
connectionStateConnectingToProxy
final :
public
ConnectionState
{
15997
std::int32_t get_id()
const
final
{
15998
return
ID
;
15999
}
16000
16001
public
:
16002
16006
connectionStateConnectingToProxy
();
16007
16009
static
const
std::int32_t
ID
= -93187239;
16010
16016
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16017
};
16018
16022
class
connectionStateConnecting
final :
public
ConnectionState
{
16027
std::int32_t get_id()
const
final
{
16028
return
ID
;
16029
}
16030
16031
public
:
16032
16036
connectionStateConnecting
();
16037
16039
static
const
std::int32_t
ID
= -1298400670;
16040
16046
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16047
};
16048
16052
class
connectionStateUpdating
final :
public
ConnectionState
{
16057
std::int32_t get_id()
const
final
{
16058
return
ID
;
16059
}
16060
16061
public
:
16062
16066
connectionStateUpdating
();
16067
16069
static
const
std::int32_t
ID
= -188104009;
16070
16076
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16077
};
16078
16082
class
connectionStateReady
final :
public
ConnectionState
{
16087
std::int32_t get_id()
const
final
{
16088
return
ID
;
16089
}
16090
16091
public
:
16092
16096
connectionStateReady
();
16097
16099
static
const
std::int32_t
ID
= 48608492;
16100
16106
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16107
};
16108
16112
class
contact
final :
public
Object
{
16117
std::int32_t get_id()
const
final
{
16118
return
ID
;
16119
}
16120
16121
public
:
16123
string
phone_number_
;
16125
string
first_name_
;
16127
string
last_name_
;
16129
string
vcard_
;
16131
int53
user_id_
;
16132
16136
contact
();
16137
16147
contact
(
string
const
&
phone_number_
,
string
const
&
first_name_
,
string
const
&
last_name_
,
string
const
&
vcard_
,
int53
user_id_
);
16148
16150
static
const
std::int32_t
ID
= -1993844876;
16151
16157
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16158
};
16159
16163
class
count
final :
public
Object
{
16168
std::int32_t get_id()
const
final
{
16169
return
ID
;
16170
}
16171
16172
public
:
16174
int32
count_
;
16175
16179
count
();
16180
16186
explicit
count
(
int32
count_
);
16187
16189
static
const
std::int32_t
ID
= 1295577348;
16190
16196
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16197
};
16198
16199
class
countryInfo
;
16200
16204
class
countries
final :
public
Object
{
16209
std::int32_t get_id()
const
final
{
16210
return
ID
;
16211
}
16212
16213
public
:
16215
array<object_ptr<countryInfo>
>
countries_
;
16216
16220
countries
();
16221
16227
explicit
countries
(
array
<
object_ptr<countryInfo>
> &&
countries_
);
16228
16230
static
const
std::int32_t
ID
= 1854211813;
16231
16237
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16238
};
16239
16243
class
countryInfo
final :
public
Object
{
16248
std::int32_t get_id()
const
final
{
16249
return
ID
;
16250
}
16251
16252
public
:
16254
string
country_code_
;
16256
string
name_
;
16258
string
english_name_
;
16260
bool
is_hidden_
;
16262
array<string>
calling_codes_
;
16263
16267
countryInfo
();
16268
16278
countryInfo
(
string
const
&
country_code_
,
string
const
&
name_
,
string
const
&
english_name_
,
bool
is_hidden_
,
array<string>
&&
calling_codes_
);
16279
16281
static
const
std::int32_t
ID
= 1617195722;
16282
16288
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16289
};
16290
16291
class
failedToAddMembers
;
16292
16296
class
createdBasicGroupChat
final :
public
Object
{
16301
std::int32_t get_id()
const
final
{
16302
return
ID
;
16303
}
16304
16305
public
:
16307
int53
chat_id_
;
16309
object_ptr<failedToAddMembers>
failed_to_add_members_
;
16310
16314
createdBasicGroupChat
();
16315
16322
createdBasicGroupChat
(
int53
chat_id_
,
object_ptr<failedToAddMembers>
&&
failed_to_add_members_
);
16323
16325
static
const
std::int32_t
ID
= -20417068;
16326
16332
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16333
};
16334
16338
class
currentWeather
final :
public
Object
{
16343
std::int32_t get_id()
const
final
{
16344
return
ID
;
16345
}
16346
16347
public
:
16349
double
temperature_
;
16351
string
emoji_
;
16352
16356
currentWeather
();
16357
16364
currentWeather
(
double
temperature_
,
string
const
&
emoji_
);
16365
16367
static
const
std::int32_t
ID
= -355555136;
16368
16374
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16375
};
16376
16380
class
customRequestResult
final :
public
Object
{
16385
std::int32_t get_id()
const
final
{
16386
return
ID
;
16387
}
16388
16389
public
:
16391
string
result_
;
16392
16396
customRequestResult
();
16397
16403
explicit
customRequestResult
(
string
const
&
result_
);
16404
16406
static
const
std::int32_t
ID
= -2009960452;
16407
16413
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16414
};
16415
16419
class
data
final :
public
Object
{
16424
std::int32_t get_id()
const
final
{
16425
return
ID
;
16426
}
16427
16428
public
:
16430
bytes
data_
;
16431
16435
data
();
16436
16442
explicit
data
(
bytes
const
&
data_
);
16443
16445
static
const
std::int32_t
ID
= 221197337;
16446
16452
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16453
};
16454
16458
class
databaseStatistics
final :
public
Object
{
16463
std::int32_t get_id()
const
final
{
16464
return
ID
;
16465
}
16466
16467
public
:
16469
string
statistics_
;
16470
16474
databaseStatistics
();
16475
16481
explicit
databaseStatistics
(
string
const
&
statistics_
);
16482
16484
static
const
std::int32_t
ID
= -1123912880;
16485
16491
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16492
};
16493
16497
class
date
final :
public
Object
{
16502
std::int32_t get_id()
const
final
{
16503
return
ID
;
16504
}
16505
16506
public
:
16508
int32
day_
;
16510
int32
month_
;
16512
int32
year_
;
16513
16517
date
();
16518
16526
date
(
int32
day_
,
int32
month_
,
int32
year_
);
16527
16529
static
const
std::int32_t
ID
= -277956960;
16530
16536
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16537
};
16538
16542
class
dateRange
final :
public
Object
{
16547
std::int32_t get_id()
const
final
{
16548
return
ID
;
16549
}
16550
16551
public
:
16553
int32
start_date_
;
16555
int32
end_date_
;
16556
16560
dateRange
();
16561
16568
dateRange
(
int32
start_date_
,
int32
end_date_
);
16569
16571
static
const
std::int32_t
ID
= 1360333926;
16572
16578
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16579
};
16580
16581
class
file
;
16582
16586
class
datedFile
final :
public
Object
{
16591
std::int32_t get_id()
const
final
{
16592
return
ID
;
16593
}
16594
16595
public
:
16597
object_ptr<file>
file_
;
16599
int32
date_
;
16600
16604
datedFile
();
16605
16612
datedFile
(
object_ptr<file>
&&
file_
,
int32
date_
);
16613
16615
static
const
std::int32_t
ID
= -1840795491;
16616
16622
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16623
};
16624
16625
class
formattedText
;
16626
16630
class
deepLinkInfo
final :
public
Object
{
16635
std::int32_t get_id()
const
final
{
16636
return
ID
;
16637
}
16638
16639
public
:
16641
object_ptr<formattedText>
text_
;
16643
bool
need_update_application_
;
16644
16648
deepLinkInfo
();
16649
16656
deepLinkInfo
(
object_ptr<formattedText>
&&
text_
,
bool
need_update_application_
);
16657
16659
static
const
std::int32_t
ID
= 1864081662;
16660
16666
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16667
};
16668
16673
class
DeviceToken
:
public
Object
{
16674
public
:
16675
};
16676
16680
class
deviceTokenFirebaseCloudMessaging
final :
public
DeviceToken
{
16685
std::int32_t get_id()
const
final
{
16686
return
ID
;
16687
}
16688
16689
public
:
16691
string
token_
;
16693
bool
encrypt_
;
16694
16698
deviceTokenFirebaseCloudMessaging
();
16699
16706
deviceTokenFirebaseCloudMessaging
(
string
const
&
token_
,
bool
encrypt_
);
16707
16709
static
const
std::int32_t
ID
= -797881849;
16710
16716
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16717
};
16718
16722
class
deviceTokenApplePush
final :
public
DeviceToken
{
16727
std::int32_t get_id()
const
final
{
16728
return
ID
;
16729
}
16730
16731
public
:
16733
string
device_token_
;
16735
bool
is_app_sandbox_
;
16736
16740
deviceTokenApplePush
();
16741
16748
deviceTokenApplePush
(
string
const
&
device_token_
,
bool
is_app_sandbox_
);
16749
16751
static
const
std::int32_t
ID
= 387541955;
16752
16758
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16759
};
16760
16764
class
deviceTokenApplePushVoIP
final :
public
DeviceToken
{
16769
std::int32_t get_id()
const
final
{
16770
return
ID
;
16771
}
16772
16773
public
:
16775
string
device_token_
;
16777
bool
is_app_sandbox_
;
16779
bool
encrypt_
;
16780
16784
deviceTokenApplePushVoIP
();
16785
16793
deviceTokenApplePushVoIP
(
string
const
&
device_token_
,
bool
is_app_sandbox_
,
bool
encrypt_
);
16794
16796
static
const
std::int32_t
ID
= 804275689;
16797
16803
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16804
};
16805
16809
class
deviceTokenWindowsPush
final :
public
DeviceToken
{
16814
std::int32_t get_id()
const
final
{
16815
return
ID
;
16816
}
16817
16818
public
:
16820
string
access_token_
;
16821
16825
deviceTokenWindowsPush
();
16826
16832
explicit
deviceTokenWindowsPush
(
string
const
&
access_token_
);
16833
16835
static
const
std::int32_t
ID
= -1410514289;
16836
16842
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16843
};
16844
16848
class
deviceTokenMicrosoftPush
final :
public
DeviceToken
{
16853
std::int32_t get_id()
const
final
{
16854
return
ID
;
16855
}
16856
16857
public
:
16859
string
channel_uri_
;
16860
16864
deviceTokenMicrosoftPush
();
16865
16871
explicit
deviceTokenMicrosoftPush
(
string
const
&
channel_uri_
);
16872
16874
static
const
std::int32_t
ID
= 1224269900;
16875
16881
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16882
};
16883
16887
class
deviceTokenMicrosoftPushVoIP
final :
public
DeviceToken
{
16892
std::int32_t get_id()
const
final
{
16893
return
ID
;
16894
}
16895
16896
public
:
16898
string
channel_uri_
;
16899
16903
deviceTokenMicrosoftPushVoIP
();
16904
16910
explicit
deviceTokenMicrosoftPushVoIP
(
string
const
&
channel_uri_
);
16911
16913
static
const
std::int32_t
ID
= -785603759;
16914
16920
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16921
};
16922
16926
class
deviceTokenWebPush
final :
public
DeviceToken
{
16931
std::int32_t get_id()
const
final
{
16932
return
ID
;
16933
}
16934
16935
public
:
16937
string
endpoint_
;
16939
string
p256dh_base64url_
;
16941
string
auth_base64url_
;
16942
16946
deviceTokenWebPush
();
16947
16955
deviceTokenWebPush
(
string
const
&
endpoint_
,
string
const
&
p256dh_base64url_
,
string
const
&
auth_base64url_
);
16956
16958
static
const
std::int32_t
ID
= -1694507273;
16959
16965
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
16966
};
16967
16971
class
deviceTokenSimplePush
final :
public
DeviceToken
{
16976
std::int32_t get_id()
const
final
{
16977
return
ID
;
16978
}
16979
16980
public
:
16982
string
endpoint_
;
16983
16987
deviceTokenSimplePush
();
16988
16994
explicit
deviceTokenSimplePush
(
string
const
&
endpoint_
);
16995
16997
static
const
std::int32_t
ID
= 49584736;
16998
17004
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17005
};
17006
17010
class
deviceTokenUbuntuPush
final :
public
DeviceToken
{
17015
std::int32_t get_id()
const
final
{
17016
return
ID
;
17017
}
17018
17019
public
:
17021
string
token_
;
17022
17026
deviceTokenUbuntuPush
();
17027
17033
explicit
deviceTokenUbuntuPush
(
string
const
&
token_
);
17034
17036
static
const
std::int32_t
ID
= 1782320422;
17037
17043
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17044
};
17045
17049
class
deviceTokenBlackBerryPush
final :
public
DeviceToken
{
17054
std::int32_t get_id()
const
final
{
17055
return
ID
;
17056
}
17057
17058
public
:
17060
string
token_
;
17061
17065
deviceTokenBlackBerryPush
();
17066
17072
explicit
deviceTokenBlackBerryPush
(
string
const
&
token_
);
17073
17075
static
const
std::int32_t
ID
= 1559167234;
17076
17082
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17083
};
17084
17088
class
deviceTokenTizenPush
final :
public
DeviceToken
{
17093
std::int32_t get_id()
const
final
{
17094
return
ID
;
17095
}
17096
17097
public
:
17099
string
reg_id_
;
17100
17104
deviceTokenTizenPush
();
17105
17111
explicit
deviceTokenTizenPush
(
string
const
&
reg_id_
);
17112
17114
static
const
std::int32_t
ID
= -1359947213;
17115
17121
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17122
};
17123
17127
class
deviceTokenHuaweiPush
final :
public
DeviceToken
{
17132
std::int32_t get_id()
const
final
{
17133
return
ID
;
17134
}
17135
17136
public
:
17138
string
token_
;
17140
bool
encrypt_
;
17141
17145
deviceTokenHuaweiPush
();
17146
17153
deviceTokenHuaweiPush
(
string
const
&
token_
,
bool
encrypt_
);
17154
17156
static
const
std::int32_t
ID
= 1989103142;
17157
17163
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17164
};
17165
17166
class
sticker
;
17167
17172
class
DiceStickers
:
public
Object
{
17173
public
:
17174
};
17175
17179
class
diceStickersRegular
final :
public
DiceStickers
{
17184
std::int32_t get_id()
const
final
{
17185
return
ID
;
17186
}
17187
17188
public
:
17190
object_ptr<sticker>
sticker_
;
17191
17195
diceStickersRegular
();
17196
17202
explicit
diceStickersRegular
(
object_ptr<sticker>
&&
sticker_
);
17203
17205
static
const
std::int32_t
ID
= -740299570;
17206
17212
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17213
};
17214
17218
class
diceStickersSlotMachine
final :
public
DiceStickers
{
17223
std::int32_t get_id()
const
final
{
17224
return
ID
;
17225
}
17226
17227
public
:
17229
object_ptr<sticker>
background_
;
17231
object_ptr<sticker>
lever_
;
17233
object_ptr<sticker>
left_reel_
;
17235
object_ptr<sticker>
center_reel_
;
17237
object_ptr<sticker>
right_reel_
;
17238
17242
diceStickersSlotMachine
();
17243
17253
diceStickersSlotMachine
(
object_ptr<sticker>
&&
background_
,
object_ptr<sticker>
&&
lever_
,
object_ptr<sticker>
&&
left_reel_
,
object_ptr<sticker>
&&
center_reel_
,
object_ptr<sticker>
&&
right_reel_
);
17254
17256
static
const
std::int32_t
ID
= -375223124;
17257
17263
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17264
};
17265
17266
class
file
;
17267
17268
class
minithumbnail
;
17269
17270
class
thumbnail
;
17271
17275
class
document
final :
public
Object
{
17280
std::int32_t get_id()
const
final
{
17281
return
ID
;
17282
}
17283
17284
public
:
17286
string
file_name_
;
17288
string
mime_type_
;
17290
object_ptr<minithumbnail>
minithumbnail_
;
17292
object_ptr<thumbnail>
thumbnail_
;
17294
object_ptr<file>
document_
;
17295
17299
document
();
17300
17310
document
(
string
const
&
file_name_
,
string
const
&
mime_type_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
object_ptr<thumbnail>
&&
thumbnail_
,
object_ptr<file>
&&
document_
);
17311
17313
static
const
std::int32_t
ID
= -1357271080;
17314
17320
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17321
};
17322
17326
class
downloadedFileCounts
final :
public
Object
{
17331
std::int32_t get_id()
const
final
{
17332
return
ID
;
17333
}
17334
17335
public
:
17337
int32
active_count_
;
17339
int32
paused_count_
;
17341
int32
completed_count_
;
17342
17346
downloadedFileCounts
();
17347
17355
downloadedFileCounts
(
int32
active_count_
,
int32
paused_count_
,
int32
completed_count_
);
17356
17358
static
const
std::int32_t
ID
= -1973999550;
17359
17365
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17366
};
17367
17368
class
InputMessageContent
;
17369
17370
class
InputMessageReplyTo
;
17371
17375
class
draftMessage
final :
public
Object
{
17380
std::int32_t get_id()
const
final
{
17381
return
ID
;
17382
}
17383
17384
public
:
17386
object_ptr<InputMessageReplyTo>
reply_to_
;
17388
int32
date_
;
17390
object_ptr<InputMessageContent>
input_message_text_
;
17392
int64
effect_id_
;
17393
17397
draftMessage
();
17398
17407
draftMessage
(
object_ptr<InputMessageReplyTo>
&&
reply_to_
,
int32
date_
,
object_ptr<InputMessageContent>
&&
input_message_text_
,
int64
effect_id_
);
17408
17410
static
const
std::int32_t
ID
= 1125328749;
17411
17417
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17418
};
17419
17424
class
EmailAddressAuthentication
:
public
Object
{
17425
public
:
17426
};
17427
17431
class
emailAddressAuthenticationCode
final :
public
EmailAddressAuthentication
{
17436
std::int32_t get_id()
const
final
{
17437
return
ID
;
17438
}
17439
17440
public
:
17442
string
code_
;
17443
17447
emailAddressAuthenticationCode
();
17448
17454
explicit
emailAddressAuthenticationCode
(
string
const
&
code_
);
17455
17457
static
const
std::int32_t
ID
= -993257022;
17458
17464
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17465
};
17466
17470
class
emailAddressAuthenticationAppleId
final :
public
EmailAddressAuthentication
{
17475
std::int32_t get_id()
const
final
{
17476
return
ID
;
17477
}
17478
17479
public
:
17481
string
token_
;
17482
17486
emailAddressAuthenticationAppleId
();
17487
17493
explicit
emailAddressAuthenticationAppleId
(
string
const
&
token_
);
17494
17496
static
const
std::int32_t
ID
= 633948265;
17497
17503
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17504
};
17505
17509
class
emailAddressAuthenticationGoogleId
final :
public
EmailAddressAuthentication
{
17514
std::int32_t get_id()
const
final
{
17515
return
ID
;
17516
}
17517
17518
public
:
17520
string
token_
;
17521
17525
emailAddressAuthenticationGoogleId
();
17526
17532
explicit
emailAddressAuthenticationGoogleId
(
string
const
&
token_
);
17533
17535
static
const
std::int32_t
ID
= -19142846;
17536
17542
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17543
};
17544
17548
class
emailAddressAuthenticationCodeInfo
final :
public
Object
{
17553
std::int32_t get_id()
const
final
{
17554
return
ID
;
17555
}
17556
17557
public
:
17559
string
email_address_pattern_
;
17561
int32
length_
;
17562
17566
emailAddressAuthenticationCodeInfo
();
17567
17574
emailAddressAuthenticationCodeInfo
(
string
const
&
email_address_pattern_
,
int32
length_
);
17575
17577
static
const
std::int32_t
ID
= 1151066659;
17578
17584
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17585
};
17586
17591
class
EmailAddressResetState
:
public
Object
{
17592
public
:
17593
};
17594
17598
class
emailAddressResetStateAvailable
final :
public
EmailAddressResetState
{
17603
std::int32_t get_id()
const
final
{
17604
return
ID
;
17605
}
17606
17607
public
:
17609
int32
wait_period_
;
17610
17614
emailAddressResetStateAvailable
();
17615
17621
explicit
emailAddressResetStateAvailable
(
int32
wait_period_
);
17622
17624
static
const
std::int32_t
ID
= -1917177600;
17625
17631
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17632
};
17633
17637
class
emailAddressResetStatePending
final :
public
EmailAddressResetState
{
17642
std::int32_t get_id()
const
final
{
17643
return
ID
;
17644
}
17645
17646
public
:
17648
int32
reset_in_
;
17649
17653
emailAddressResetStatePending
();
17654
17660
explicit
emailAddressResetStatePending
(
int32
reset_in_
);
17661
17663
static
const
std::int32_t
ID
= -1885966805;
17664
17670
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17671
};
17672
17673
class
emojiCategory
;
17674
17678
class
emojiCategories
final :
public
Object
{
17683
std::int32_t get_id()
const
final
{
17684
return
ID
;
17685
}
17686
17687
public
:
17689
array<object_ptr<emojiCategory>
>
categories_
;
17690
17694
emojiCategories
();
17695
17701
explicit
emojiCategories
(
array
<
object_ptr<emojiCategory>
> &&
categories_
);
17702
17704
static
const
std::int32_t
ID
= -1455387824;
17705
17711
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17712
};
17713
17714
class
EmojiCategorySource
;
17715
17716
class
sticker
;
17717
17721
class
emojiCategory
final :
public
Object
{
17726
std::int32_t get_id()
const
final
{
17727
return
ID
;
17728
}
17729
17730
public
:
17732
string
name_
;
17734
object_ptr<sticker>
icon_
;
17736
object_ptr<EmojiCategorySource>
source_
;
17738
bool
is_greeting_
;
17739
17743
emojiCategory
();
17744
17753
emojiCategory
(
string
const
&
name_
,
object_ptr<sticker>
&&
icon_
,
object_ptr<EmojiCategorySource>
&&
source_
,
bool
is_greeting_
);
17754
17756
static
const
std::int32_t
ID
= 571335919;
17757
17763
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17764
};
17765
17770
class
EmojiCategorySource
:
public
Object
{
17771
public
:
17772
};
17773
17777
class
emojiCategorySourceSearch
final :
public
EmojiCategorySource
{
17782
std::int32_t get_id()
const
final
{
17783
return
ID
;
17784
}
17785
17786
public
:
17788
array<string>
emojis_
;
17789
17793
emojiCategorySourceSearch
();
17794
17800
explicit
emojiCategorySourceSearch
(
array<string>
&&
emojis_
);
17801
17803
static
const
std::int32_t
ID
= -453260262;
17804
17810
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17811
};
17812
17816
class
emojiCategorySourcePremium
final :
public
EmojiCategorySource
{
17821
std::int32_t get_id()
const
final
{
17822
return
ID
;
17823
}
17824
17825
public
:
17826
17830
emojiCategorySourcePremium
();
17831
17833
static
const
std::int32_t
ID
= -1932358388;
17834
17840
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17841
};
17842
17847
class
EmojiCategoryType
:
public
Object
{
17848
public
:
17849
};
17850
17854
class
emojiCategoryTypeDefault
final :
public
EmojiCategoryType
{
17859
std::int32_t get_id()
const
final
{
17860
return
ID
;
17861
}
17862
17863
public
:
17864
17868
emojiCategoryTypeDefault
();
17869
17871
static
const
std::int32_t
ID
= 1188782699;
17872
17878
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17879
};
17880
17884
class
emojiCategoryTypeRegularStickers
final :
public
EmojiCategoryType
{
17889
std::int32_t get_id()
const
final
{
17890
return
ID
;
17891
}
17892
17893
public
:
17894
17898
emojiCategoryTypeRegularStickers
();
17899
17901
static
const
std::int32_t
ID
= -1337484846;
17902
17908
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17909
};
17910
17914
class
emojiCategoryTypeEmojiStatus
final :
public
EmojiCategoryType
{
17919
std::int32_t get_id()
const
final
{
17920
return
ID
;
17921
}
17922
17923
public
:
17924
17928
emojiCategoryTypeEmojiStatus
();
17929
17931
static
const
std::int32_t
ID
= 1381282631;
17932
17938
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17939
};
17940
17944
class
emojiCategoryTypeChatPhoto
final :
public
EmojiCategoryType
{
17949
std::int32_t get_id()
const
final
{
17950
return
ID
;
17951
}
17952
17953
public
:
17954
17958
emojiCategoryTypeChatPhoto
();
17959
17961
static
const
std::int32_t
ID
= 1059063081;
17962
17968
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
17969
};
17970
17974
class
emojiKeyword
final :
public
Object
{
17979
std::int32_t get_id()
const
final
{
17980
return
ID
;
17981
}
17982
17983
public
:
17985
string
emoji_
;
17987
string
keyword_
;
17988
17992
emojiKeyword
();
17993
18000
emojiKeyword
(
string
const
&
emoji_
,
string
const
&
keyword_
);
18001
18003
static
const
std::int32_t
ID
= -2112285985;
18004
18010
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18011
};
18012
18013
class
emojiKeyword
;
18014
18018
class
emojiKeywords
final :
public
Object
{
18023
std::int32_t get_id()
const
final
{
18024
return
ID
;
18025
}
18026
18027
public
:
18029
array<object_ptr<emojiKeyword>
>
emoji_keywords_
;
18030
18034
emojiKeywords
();
18035
18041
explicit
emojiKeywords
(
array
<
object_ptr<emojiKeyword>
> &&
emoji_keywords_
);
18042
18044
static
const
std::int32_t
ID
= 689723339;
18045
18051
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18052
};
18053
18054
class
sticker
;
18055
18059
class
emojiReaction
final :
public
Object
{
18064
std::int32_t get_id()
const
final
{
18065
return
ID
;
18066
}
18067
18068
public
:
18070
string
emoji_
;
18072
string
title_
;
18074
bool
is_active_
;
18076
object_ptr<sticker>
static_icon_
;
18078
object_ptr<sticker>
appear_animation_
;
18080
object_ptr<sticker>
select_animation_
;
18082
object_ptr<sticker>
activate_animation_
;
18084
object_ptr<sticker>
effect_animation_
;
18086
object_ptr<sticker>
around_animation_
;
18088
object_ptr<sticker>
center_animation_
;
18089
18093
emojiReaction
();
18094
18109
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_
);
18110
18112
static
const
std::int32_t
ID
= 1616063583;
18113
18119
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18120
};
18121
18122
class
EmojiStatusType
;
18123
18127
class
emojiStatus
final :
public
Object
{
18132
std::int32_t get_id()
const
final
{
18133
return
ID
;
18134
}
18135
18136
public
:
18138
object_ptr<EmojiStatusType>
type_
;
18140
int32
expiration_date_
;
18141
18145
emojiStatus
();
18146
18153
emojiStatus
(
object_ptr<EmojiStatusType>
&&
type_
,
int32
expiration_date_
);
18154
18156
static
const
std::int32_t
ID
= 973424912;
18157
18163
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18164
};
18165
18169
class
emojiStatusCustomEmojis
final :
public
Object
{
18174
std::int32_t get_id()
const
final
{
18175
return
ID
;
18176
}
18177
18178
public
:
18180
array<int64>
custom_emoji_ids_
;
18181
18185
emojiStatusCustomEmojis
();
18186
18192
explicit
emojiStatusCustomEmojis
(
array<int64>
&&
custom_emoji_ids_
);
18193
18195
static
const
std::int32_t
ID
= 917123337;
18196
18202
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18203
};
18204
18205
class
upgradedGiftBackdropColors
;
18206
18211
class
EmojiStatusType
:
public
Object
{
18212
public
:
18213
};
18214
18218
class
emojiStatusTypeCustomEmoji
final :
public
EmojiStatusType
{
18223
std::int32_t get_id()
const
final
{
18224
return
ID
;
18225
}
18226
18227
public
:
18229
int64
custom_emoji_id_
;
18230
18234
emojiStatusTypeCustomEmoji
();
18235
18241
explicit
emojiStatusTypeCustomEmoji
(
int64
custom_emoji_id_
);
18242
18244
static
const
std::int32_t
ID
= -1666780939;
18245
18251
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18252
};
18253
18257
class
emojiStatusTypeUpgradedGift
final :
public
EmojiStatusType
{
18262
std::int32_t get_id()
const
final
{
18263
return
ID
;
18264
}
18265
18266
public
:
18268
int64
upgraded_gift_id_
;
18270
string
gift_title_
;
18272
string
gift_name_
;
18274
int64
model_custom_emoji_id_
;
18276
int64
symbol_custom_emoji_id_
;
18278
object_ptr<upgradedGiftBackdropColors>
backdrop_colors_
;
18279
18283
emojiStatusTypeUpgradedGift
();
18284
18295
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_
);
18296
18298
static
const
std::int32_t
ID
= -837921804;
18299
18305
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18306
};
18307
18308
class
emojiStatus
;
18309
18313
class
emojiStatuses
final :
public
Object
{
18318
std::int32_t get_id()
const
final
{
18319
return
ID
;
18320
}
18321
18322
public
:
18324
array<object_ptr<emojiStatus>
>
emoji_statuses_
;
18325
18329
emojiStatuses
();
18330
18336
explicit
emojiStatuses
(
array
<
object_ptr<emojiStatus>
> &&
emoji_statuses_
);
18337
18339
static
const
std::int32_t
ID
= 1186104146;
18340
18346
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18347
};
18348
18352
class
emojis
final :
public
Object
{
18357
std::int32_t get_id()
const
final
{
18358
return
ID
;
18359
}
18360
18361
public
:
18363
array<string>
emojis_
;
18364
18368
emojis
();
18369
18375
explicit
emojis
(
array<string>
&&
emojis_
);
18376
18378
static
const
std::int32_t
ID
= 950339552;
18379
18385
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18386
};
18387
18391
class
encryptedCredentials
final :
public
Object
{
18396
std::int32_t get_id()
const
final
{
18397
return
ID
;
18398
}
18399
18400
public
:
18402
bytes
data_
;
18404
bytes
hash_
;
18406
bytes
secret_
;
18407
18411
encryptedCredentials
();
18412
18420
encryptedCredentials
(
bytes
const
&
data_
,
bytes
const
&
hash_
,
bytes
const
&
secret_
);
18421
18423
static
const
std::int32_t
ID
= 1331106766;
18424
18430
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18431
};
18432
18433
class
PassportElementType
;
18434
18435
class
datedFile
;
18436
18440
class
encryptedPassportElement
final :
public
Object
{
18445
std::int32_t get_id()
const
final
{
18446
return
ID
;
18447
}
18448
18449
public
:
18451
object_ptr<PassportElementType>
type_
;
18453
bytes
data_
;
18455
object_ptr<datedFile>
front_side_
;
18457
object_ptr<datedFile>
reverse_side_
;
18459
object_ptr<datedFile>
selfie_
;
18461
array<object_ptr<datedFile>
>
translation_
;
18463
array<object_ptr<datedFile>
>
files_
;
18465
string
value_
;
18467
string
hash_
;
18468
18472
encryptedPassportElement
();
18473
18487
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_
);
18488
18490
static
const
std::int32_t
ID
= 2002386193;
18491
18497
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18498
};
18499
18503
class
error
final :
public
Object
{
18508
std::int32_t get_id()
const
final
{
18509
return
ID
;
18510
}
18511
18512
public
:
18514
int32
code_
;
18516
string
message_
;
18517
18521
error
();
18522
18529
error
(
int32
code_
,
string
const
&
message_
);
18530
18532
static
const
std::int32_t
ID
= -1679978726;
18533
18539
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18540
};
18541
18542
class
formattedText
;
18543
18547
class
factCheck
final :
public
Object
{
18552
std::int32_t get_id()
const
final
{
18553
return
ID
;
18554
}
18555
18556
public
:
18558
object_ptr<formattedText>
text_
;
18560
string
country_code_
;
18561
18565
factCheck
();
18566
18573
factCheck
(
object_ptr<formattedText>
&&
text_
,
string
const
&
country_code_
);
18574
18576
static
const
std::int32_t
ID
= -1048184552;
18577
18583
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18584
};
18585
18589
class
failedToAddMember
final :
public
Object
{
18594
std::int32_t get_id()
const
final
{
18595
return
ID
;
18596
}
18597
18598
public
:
18600
int53
user_id_
;
18602
bool
premium_would_allow_invite_
;
18604
bool
premium_required_to_send_messages_
;
18605
18609
failedToAddMember
();
18610
18618
failedToAddMember
(
int53
user_id_
,
bool
premium_would_allow_invite_
,
bool
premium_required_to_send_messages_
);
18619
18621
static
const
std::int32_t
ID
= -282891070;
18622
18628
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18629
};
18630
18631
class
failedToAddMember
;
18632
18636
class
failedToAddMembers
final :
public
Object
{
18641
std::int32_t get_id()
const
final
{
18642
return
ID
;
18643
}
18644
18645
public
:
18647
array<object_ptr<failedToAddMember>
>
failed_to_add_members_
;
18648
18652
failedToAddMembers
();
18653
18659
explicit
failedToAddMembers
(
array
<
object_ptr<failedToAddMember>
> &&
failed_to_add_members_
);
18660
18662
static
const
std::int32_t
ID
= -272587152;
18663
18669
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18670
};
18671
18672
class
localFile
;
18673
18674
class
remoteFile
;
18675
18679
class
file
final :
public
Object
{
18684
std::int32_t get_id()
const
final
{
18685
return
ID
;
18686
}
18687
18688
public
:
18690
int32
id_
;
18692
int53
size_
;
18694
int53
expected_size_
;
18696
object_ptr<localFile>
local_
;
18698
object_ptr<remoteFile>
remote_
;
18699
18703
file
();
18704
18714
file
(
int32
id_
,
int53
size_
,
int53
expected_size_
,
object_ptr<localFile>
&&
local_
,
object_ptr<remoteFile>
&&
remote_
);
18715
18717
static
const
std::int32_t
ID
= 1263291956;
18718
18724
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18725
};
18726
18727
class
message
;
18728
18732
class
fileDownload
final :
public
Object
{
18737
std::int32_t get_id()
const
final
{
18738
return
ID
;
18739
}
18740
18741
public
:
18743
int32
file_id_
;
18745
object_ptr<message>
message_
;
18747
int32
add_date_
;
18749
int32
complete_date_
;
18751
bool
is_paused_
;
18752
18756
fileDownload
();
18757
18767
fileDownload
(
int32
file_id_
,
object_ptr<message>
&&
message_
,
int32
add_date_
,
int32
complete_date_
,
bool
is_paused_
);
18768
18770
static
const
std::int32_t
ID
= -2092100780;
18771
18777
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18778
};
18779
18783
class
fileDownloadedPrefixSize
final :
public
Object
{
18788
std::int32_t get_id()
const
final
{
18789
return
ID
;
18790
}
18791
18792
public
:
18794
int53
size_
;
18795
18799
fileDownloadedPrefixSize
();
18800
18806
explicit
fileDownloadedPrefixSize
(
int53
size_
);
18807
18809
static
const
std::int32_t
ID
= -2015205381;
18810
18816
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18817
};
18818
18823
class
FileType
:
public
Object
{
18824
public
:
18825
};
18826
18830
class
fileTypeNone
final :
public
FileType
{
18835
std::int32_t get_id()
const
final
{
18836
return
ID
;
18837
}
18838
18839
public
:
18840
18844
fileTypeNone
();
18845
18847
static
const
std::int32_t
ID
= 2003009189;
18848
18854
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18855
};
18856
18860
class
fileTypeAnimation
final :
public
FileType
{
18865
std::int32_t get_id()
const
final
{
18866
return
ID
;
18867
}
18868
18869
public
:
18870
18874
fileTypeAnimation
();
18875
18877
static
const
std::int32_t
ID
= -290816582;
18878
18884
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18885
};
18886
18890
class
fileTypeAudio
final :
public
FileType
{
18895
std::int32_t get_id()
const
final
{
18896
return
ID
;
18897
}
18898
18899
public
:
18900
18904
fileTypeAudio
();
18905
18907
static
const
std::int32_t
ID
= -709112160;
18908
18914
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18915
};
18916
18920
class
fileTypeDocument
final :
public
FileType
{
18925
std::int32_t get_id()
const
final
{
18926
return
ID
;
18927
}
18928
18929
public
:
18930
18934
fileTypeDocument
();
18935
18937
static
const
std::int32_t
ID
= -564722929;
18938
18944
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18945
};
18946
18950
class
fileTypeNotificationSound
final :
public
FileType
{
18955
std::int32_t get_id()
const
final
{
18956
return
ID
;
18957
}
18958
18959
public
:
18960
18964
fileTypeNotificationSound
();
18965
18967
static
const
std::int32_t
ID
= -1020289271;
18968
18974
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
18975
};
18976
18980
class
fileTypePhoto
final :
public
FileType
{
18985
std::int32_t get_id()
const
final
{
18986
return
ID
;
18987
}
18988
18989
public
:
18990
18994
fileTypePhoto
();
18995
18997
static
const
std::int32_t
ID
= -1718914651;
18998
19004
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19005
};
19006
19010
class
fileTypePhotoStory
final :
public
FileType
{
19015
std::int32_t get_id()
const
final
{
19016
return
ID
;
19017
}
19018
19019
public
:
19020
19024
fileTypePhotoStory
();
19025
19027
static
const
std::int32_t
ID
= 2018995956;
19028
19034
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19035
};
19036
19040
class
fileTypeProfilePhoto
final :
public
FileType
{
19045
std::int32_t get_id()
const
final
{
19046
return
ID
;
19047
}
19048
19049
public
:
19050
19054
fileTypeProfilePhoto
();
19055
19057
static
const
std::int32_t
ID
= 1795089315;
19058
19064
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19065
};
19066
19070
class
fileTypeSecret
final :
public
FileType
{
19075
std::int32_t get_id()
const
final
{
19076
return
ID
;
19077
}
19078
19079
public
:
19080
19084
fileTypeSecret
();
19085
19087
static
const
std::int32_t
ID
= -1871899401;
19088
19094
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19095
};
19096
19100
class
fileTypeSecretThumbnail
final :
public
FileType
{
19105
std::int32_t get_id()
const
final
{
19106
return
ID
;
19107
}
19108
19109
public
:
19110
19114
fileTypeSecretThumbnail
();
19115
19117
static
const
std::int32_t
ID
= -1401326026;
19118
19124
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19125
};
19126
19130
class
fileTypeSecure
final :
public
FileType
{
19135
std::int32_t get_id()
const
final
{
19136
return
ID
;
19137
}
19138
19139
public
:
19140
19144
fileTypeSecure
();
19145
19147
static
const
std::int32_t
ID
= -1419133146;
19148
19154
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19155
};
19156
19160
class
fileTypeSelfDestructingPhoto
final :
public
FileType
{
19165
std::int32_t get_id()
const
final
{
19166
return
ID
;
19167
}
19168
19169
public
:
19170
19174
fileTypeSelfDestructingPhoto
();
19175
19177
static
const
std::int32_t
ID
= 2077176475;
19178
19184
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19185
};
19186
19190
class
fileTypeSelfDestructingVideo
final :
public
FileType
{
19195
std::int32_t get_id()
const
final
{
19196
return
ID
;
19197
}
19198
19199
public
:
19200
19204
fileTypeSelfDestructingVideo
();
19205
19207
static
const
std::int32_t
ID
= -1223900123;
19208
19214
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19215
};
19216
19220
class
fileTypeSelfDestructingVideoNote
final :
public
FileType
{
19225
std::int32_t get_id()
const
final
{
19226
return
ID
;
19227
}
19228
19229
public
:
19230
19234
fileTypeSelfDestructingVideoNote
();
19235
19237
static
const
std::int32_t
ID
= 1495274177;
19238
19244
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19245
};
19246
19250
class
fileTypeSelfDestructingVoiceNote
final :
public
FileType
{
19255
std::int32_t get_id()
const
final
{
19256
return
ID
;
19257
}
19258
19259
public
:
19260
19264
fileTypeSelfDestructingVoiceNote
();
19265
19267
static
const
std::int32_t
ID
= 1691409181;
19268
19274
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19275
};
19276
19280
class
fileTypeSticker
final :
public
FileType
{
19285
std::int32_t get_id()
const
final
{
19286
return
ID
;
19287
}
19288
19289
public
:
19290
19294
fileTypeSticker
();
19295
19297
static
const
std::int32_t
ID
= 475233385;
19298
19304
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19305
};
19306
19310
class
fileTypeThumbnail
final :
public
FileType
{
19315
std::int32_t get_id()
const
final
{
19316
return
ID
;
19317
}
19318
19319
public
:
19320
19324
fileTypeThumbnail
();
19325
19327
static
const
std::int32_t
ID
= -12443298;
19328
19334
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19335
};
19336
19340
class
fileTypeUnknown
final :
public
FileType
{
19345
std::int32_t get_id()
const
final
{
19346
return
ID
;
19347
}
19348
19349
public
:
19350
19354
fileTypeUnknown
();
19355
19357
static
const
std::int32_t
ID
= -2011566768;
19358
19364
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19365
};
19366
19370
class
fileTypeVideo
final :
public
FileType
{
19375
std::int32_t get_id()
const
final
{
19376
return
ID
;
19377
}
19378
19379
public
:
19380
19384
fileTypeVideo
();
19385
19387
static
const
std::int32_t
ID
= 1430816539;
19388
19394
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19395
};
19396
19400
class
fileTypeVideoNote
final :
public
FileType
{
19405
std::int32_t get_id()
const
final
{
19406
return
ID
;
19407
}
19408
19409
public
:
19410
19414
fileTypeVideoNote
();
19415
19417
static
const
std::int32_t
ID
= -518412385;
19418
19424
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19425
};
19426
19430
class
fileTypeVideoStory
final :
public
FileType
{
19435
std::int32_t get_id()
const
final
{
19436
return
ID
;
19437
}
19438
19439
public
:
19440
19444
fileTypeVideoStory
();
19445
19447
static
const
std::int32_t
ID
= -2146754143;
19448
19454
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19455
};
19456
19460
class
fileTypeVoiceNote
final :
public
FileType
{
19465
std::int32_t get_id()
const
final
{
19466
return
ID
;
19467
}
19468
19469
public
:
19470
19474
fileTypeVoiceNote
();
19475
19477
static
const
std::int32_t
ID
= -588681661;
19478
19484
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19485
};
19486
19490
class
fileTypeWallpaper
final :
public
FileType
{
19495
std::int32_t get_id()
const
final
{
19496
return
ID
;
19497
}
19498
19499
public
:
19500
19504
fileTypeWallpaper
();
19505
19507
static
const
std::int32_t
ID
= 1854930076;
19508
19514
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19515
};
19516
19521
class
FirebaseAuthenticationSettings
:
public
Object
{
19522
public
:
19523
};
19524
19528
class
firebaseAuthenticationSettingsAndroid
final :
public
FirebaseAuthenticationSettings
{
19533
std::int32_t get_id()
const
final
{
19534
return
ID
;
19535
}
19536
19537
public
:
19538
19542
firebaseAuthenticationSettingsAndroid
();
19543
19545
static
const
std::int32_t
ID
= -1771112932;
19546
19552
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19553
};
19554
19558
class
firebaseAuthenticationSettingsIos
final :
public
FirebaseAuthenticationSettings
{
19563
std::int32_t get_id()
const
final
{
19564
return
ID
;
19565
}
19566
19567
public
:
19569
string
device_token_
;
19571
bool
is_app_sandbox_
;
19572
19576
firebaseAuthenticationSettingsIos
();
19577
19584
firebaseAuthenticationSettingsIos
(
string
const
&
device_token_
,
bool
is_app_sandbox_
);
19585
19587
static
const
std::int32_t
ID
= 222930116;
19588
19594
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19595
};
19596
19601
class
FirebaseDeviceVerificationParameters
:
public
Object
{
19602
public
:
19603
};
19604
19608
class
firebaseDeviceVerificationParametersSafetyNet
final :
public
FirebaseDeviceVerificationParameters
{
19613
std::int32_t get_id()
const
final
{
19614
return
ID
;
19615
}
19616
19617
public
:
19619
bytes
nonce_
;
19620
19624
firebaseDeviceVerificationParametersSafetyNet
();
19625
19631
explicit
firebaseDeviceVerificationParametersSafetyNet
(
bytes
const
&
nonce_
);
19632
19634
static
const
std::int32_t
ID
= 731296497;
19635
19641
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19642
};
19643
19647
class
firebaseDeviceVerificationParametersPlayIntegrity
final :
public
FirebaseDeviceVerificationParameters
{
19652
std::int32_t get_id()
const
final
{
19653
return
ID
;
19654
}
19655
19656
public
:
19658
string
nonce_
;
19660
int64
cloud_project_number_
;
19661
19665
firebaseDeviceVerificationParametersPlayIntegrity
();
19666
19673
firebaseDeviceVerificationParametersPlayIntegrity
(
string
const
&
nonce_
,
int64
cloud_project_number_
);
19674
19676
static
const
std::int32_t
ID
= -889936502;
19677
19683
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19684
};
19685
19686
class
textEntity
;
19687
19691
class
formattedText
final :
public
Object
{
19696
std::int32_t get_id()
const
final
{
19697
return
ID
;
19698
}
19699
19700
public
:
19702
string
text_
;
19704
array<object_ptr<textEntity>
>
entities_
;
19705
19709
formattedText
();
19710
19717
formattedText
(
string
const
&
text_
,
array
<
object_ptr<textEntity>
> &&
entities_
);
19718
19720
static
const
std::int32_t
ID
= -252624564;
19721
19727
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19728
};
19729
19730
class
chatNotificationSettings
;
19731
19732
class
draftMessage
;
19733
19734
class
forumTopicInfo
;
19735
19736
class
message
;
19737
19741
class
forumTopic
final :
public
Object
{
19746
std::int32_t get_id()
const
final
{
19747
return
ID
;
19748
}
19749
19750
public
:
19752
object_ptr<forumTopicInfo>
info_
;
19754
object_ptr<message>
last_message_
;
19756
int64
order_
;
19758
bool
is_pinned_
;
19760
int32
unread_count_
;
19762
int53
last_read_inbox_message_id_
;
19764
int53
last_read_outbox_message_id_
;
19766
int32
unread_mention_count_
;
19768
int32
unread_reaction_count_
;
19770
object_ptr<chatNotificationSettings>
notification_settings_
;
19772
object_ptr<draftMessage>
draft_message_
;
19773
19777
forumTopic
();
19778
19794
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_
);
19795
19797
static
const
std::int32_t
ID
= -2094608976;
19798
19804
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19805
};
19806
19810
class
forumTopicIcon
final :
public
Object
{
19815
std::int32_t get_id()
const
final
{
19816
return
ID
;
19817
}
19818
19819
public
:
19821
int32
color_
;
19823
int64
custom_emoji_id_
;
19824
19828
forumTopicIcon
();
19829
19836
forumTopicIcon
(
int32
color_
,
int64
custom_emoji_id_
);
19837
19839
static
const
std::int32_t
ID
= -818765421;
19840
19846
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19847
};
19848
19849
class
MessageSender
;
19850
19851
class
forumTopicIcon
;
19852
19856
class
forumTopicInfo
final :
public
Object
{
19861
std::int32_t get_id()
const
final
{
19862
return
ID
;
19863
}
19864
19865
public
:
19867
int53
chat_id_
;
19869
int53
message_thread_id_
;
19871
string
name_
;
19873
object_ptr<forumTopicIcon>
icon_
;
19875
int32
creation_date_
;
19877
object_ptr<MessageSender>
creator_id_
;
19879
bool
is_general_
;
19881
bool
is_outgoing_
;
19883
bool
is_closed_
;
19885
bool
is_hidden_
;
19886
19890
forumTopicInfo
();
19891
19906
forumTopicInfo
(
int53
chat_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_
);
19907
19909
static
const
std::int32_t
ID
= -654857606;
19910
19916
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19917
};
19918
19919
class
forumTopic
;
19920
19924
class
forumTopics
final :
public
Object
{
19929
std::int32_t get_id()
const
final
{
19930
return
ID
;
19931
}
19932
19933
public
:
19935
int32
total_count_
;
19937
array<object_ptr<forumTopic>
>
topics_
;
19939
int32
next_offset_date_
;
19941
int53
next_offset_message_id_
;
19943
int53
next_offset_message_thread_id_
;
19944
19948
forumTopics
();
19949
19959
forumTopics
(
int32
total_count_
,
array
<
object_ptr<forumTopic>
> &&
topics_
,
int32
next_offset_date_
,
int53
next_offset_message_id_
,
int53
next_offset_message_thread_id_
);
19960
19962
static
const
std::int32_t
ID
= 732819537;
19963
19969
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
19970
};
19971
19972
class
MessageSender
;
19973
19977
class
forwardSource
final :
public
Object
{
19982
std::int32_t get_id()
const
final
{
19983
return
ID
;
19984
}
19985
19986
public
:
19988
int53
chat_id_
;
19990
int53
message_id_
;
19992
object_ptr<MessageSender>
sender_id_
;
19994
string
sender_name_
;
19996
int32
date_
;
19998
bool
is_outgoing_
;
19999
20003
forwardSource
();
20004
20015
forwardSource
(
int53
chat_id_
,
int53
message_id_
,
object_ptr<MessageSender>
&&
sender_id_
,
string
const
&
sender_name_
,
int32
date_
,
bool
is_outgoing_
);
20016
20018
static
const
std::int32_t
ID
= 1795337929;
20019
20025
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20026
};
20027
20028
class
affiliateProgramInfo
;
20029
20033
class
foundAffiliateProgram
final :
public
Object
{
20038
std::int32_t get_id()
const
final
{
20039
return
ID
;
20040
}
20041
20042
public
:
20044
int53
bot_user_id_
;
20046
object_ptr<affiliateProgramInfo>
info_
;
20047
20051
foundAffiliateProgram
();
20052
20059
foundAffiliateProgram
(
int53
bot_user_id_
,
object_ptr<affiliateProgramInfo>
&&
info_
);
20060
20062
static
const
std::int32_t
ID
= -966565242;
20063
20069
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20070
};
20071
20072
class
foundAffiliateProgram
;
20073
20077
class
foundAffiliatePrograms
final :
public
Object
{
20082
std::int32_t get_id()
const
final
{
20083
return
ID
;
20084
}
20085
20086
public
:
20088
int32
total_count_
;
20090
array<object_ptr<foundAffiliateProgram>
>
programs_
;
20092
string
next_offset_
;
20093
20097
foundAffiliatePrograms
();
20098
20106
foundAffiliatePrograms
(
int32
total_count_
,
array
<
object_ptr<foundAffiliateProgram>
> &&
programs_
,
string
const
&
next_offset_
);
20107
20109
static
const
std::int32_t
ID
= 186317057;
20110
20116
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20117
};
20118
20119
class
chatBoost
;
20120
20124
class
foundChatBoosts
final :
public
Object
{
20129
std::int32_t get_id()
const
final
{
20130
return
ID
;
20131
}
20132
20133
public
:
20135
int32
total_count_
;
20137
array<object_ptr<chatBoost>
>
boosts_
;
20139
string
next_offset_
;
20140
20144
foundChatBoosts
();
20145
20153
foundChatBoosts
(
int32
total_count_
,
array
<
object_ptr<chatBoost>
> &&
boosts_
,
string
const
&
next_offset_
);
20154
20156
static
const
std::int32_t
ID
= 51457680;
20157
20163
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20164
};
20165
20166
class
message
;
20167
20171
class
foundChatMessages
final :
public
Object
{
20176
std::int32_t get_id()
const
final
{
20177
return
ID
;
20178
}
20179
20180
public
:
20182
int32
total_count_
;
20184
array<object_ptr<message>
>
messages_
;
20186
int53
next_from_message_id_
;
20187
20191
foundChatMessages
();
20192
20200
foundChatMessages
(
int32
total_count_
,
array
<
object_ptr<message>
> &&
messages_
,
int53
next_from_message_id_
);
20201
20203
static
const
std::int32_t
ID
= 427484196;
20204
20210
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20211
};
20212
20213
class
downloadedFileCounts
;
20214
20215
class
fileDownload
;
20216
20220
class
foundFileDownloads
final :
public
Object
{
20225
std::int32_t get_id()
const
final
{
20226
return
ID
;
20227
}
20228
20229
public
:
20231
object_ptr<downloadedFileCounts>
total_counts_
;
20233
array<object_ptr<fileDownload>
>
files_
;
20235
string
next_offset_
;
20236
20240
foundFileDownloads
();
20241
20249
foundFileDownloads
(
object_ptr<downloadedFileCounts>
&&
total_counts_
,
array
<
object_ptr<fileDownload>
> &&
files_
,
string
const
&
next_offset_
);
20250
20252
static
const
std::int32_t
ID
= 1395890392;
20253
20259
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20260
};
20261
20262
class
message
;
20263
20267
class
foundMessages
final :
public
Object
{
20272
std::int32_t get_id()
const
final
{
20273
return
ID
;
20274
}
20275
20276
public
:
20278
int32
total_count_
;
20280
array<object_ptr<message>
>
messages_
;
20282
string
next_offset_
;
20283
20287
foundMessages
();
20288
20296
foundMessages
(
int32
total_count_
,
array
<
object_ptr<message>
> &&
messages_
,
string
const
&
next_offset_
);
20297
20299
static
const
std::int32_t
ID
= -529809608;
20300
20306
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20307
};
20308
20312
class
foundPosition
final :
public
Object
{
20317
std::int32_t get_id()
const
final
{
20318
return
ID
;
20319
}
20320
20321
public
:
20323
int32
position_
;
20324
20328
foundPosition
();
20329
20335
explicit
foundPosition
(
int32
position_
);
20336
20338
static
const
std::int32_t
ID
= -1886724216;
20339
20345
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20346
};
20347
20351
class
foundPositions
final :
public
Object
{
20356
std::int32_t get_id()
const
final
{
20357
return
ID
;
20358
}
20359
20360
public
:
20362
int32
total_count_
;
20364
array<int32>
positions_
;
20365
20369
foundPositions
();
20370
20377
foundPositions
(
int32
total_count_
,
array<int32>
&&
positions_
);
20378
20380
static
const
std::int32_t
ID
= -80518368;
20381
20387
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20388
};
20389
20390
class
story
;
20391
20395
class
foundStories
final :
public
Object
{
20400
std::int32_t get_id()
const
final
{
20401
return
ID
;
20402
}
20403
20404
public
:
20406
int32
total_count_
;
20408
array<object_ptr<story>
>
stories_
;
20410
string
next_offset_
;
20411
20415
foundStories
();
20416
20424
foundStories
(
int32
total_count_
,
array
<
object_ptr<story>
> &&
stories_
,
string
const
&
next_offset_
);
20425
20427
static
const
std::int32_t
ID
= 1678513512;
20428
20434
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20435
};
20436
20440
class
foundUsers
final :
public
Object
{
20445
std::int32_t get_id()
const
final
{
20446
return
ID
;
20447
}
20448
20449
public
:
20451
array<int53>
user_ids_
;
20453
string
next_offset_
;
20454
20458
foundUsers
();
20459
20466
foundUsers
(
array<int53>
&&
user_ids_
,
string
const
&
next_offset_
);
20467
20469
static
const
std::int32_t
ID
= 1150570075;
20470
20476
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20477
};
20478
20479
class
webApp
;
20480
20484
class
foundWebApp
final :
public
Object
{
20489
std::int32_t get_id()
const
final
{
20490
return
ID
;
20491
}
20492
20493
public
:
20495
object_ptr<webApp>
web_app_
;
20497
bool
request_write_access_
;
20499
bool
skip_confirmation_
;
20500
20504
foundWebApp
();
20505
20513
foundWebApp
(
object_ptr<webApp>
&&
web_app_
,
bool
request_write_access_
,
bool
skip_confirmation_
);
20514
20516
static
const
std::int32_t
ID
= -290926562;
20517
20523
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20524
};
20525
20526
class
animation
;
20527
20528
class
formattedText
;
20529
20530
class
photo
;
20531
20535
class
game
final :
public
Object
{
20540
std::int32_t get_id()
const
final
{
20541
return
ID
;
20542
}
20543
20544
public
:
20546
int64
id_
;
20548
string
short_name_
;
20550
string
title_
;
20552
object_ptr<formattedText>
text_
;
20554
string
description_
;
20556
object_ptr<photo>
photo_
;
20558
object_ptr<animation>
animation_
;
20559
20563
game
();
20564
20576
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_
);
20577
20579
static
const
std::int32_t
ID
= -1565597752;
20580
20586
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20587
};
20588
20592
class
gameHighScore
final :
public
Object
{
20597
std::int32_t get_id()
const
final
{
20598
return
ID
;
20599
}
20600
20601
public
:
20603
int32
position_
;
20605
int53
user_id_
;
20607
int32
score_
;
20608
20612
gameHighScore
();
20613
20621
gameHighScore
(
int32
position_
,
int53
user_id_
,
int32
score_
);
20622
20624
static
const
std::int32_t
ID
= 342871838;
20625
20631
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20632
};
20633
20634
class
gameHighScore
;
20635
20639
class
gameHighScores
final :
public
Object
{
20644
std::int32_t get_id()
const
final
{
20645
return
ID
;
20646
}
20647
20648
public
:
20650
array<object_ptr<gameHighScore>
>
scores_
;
20651
20655
gameHighScores
();
20656
20662
explicit
gameHighScores
(
array
<
object_ptr<gameHighScore>
> &&
scores_
);
20663
20665
static
const
std::int32_t
ID
= -725770727;
20666
20672
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20673
};
20674
20675
class
sticker
;
20676
20680
class
gift
final :
public
Object
{
20685
std::int32_t get_id()
const
final
{
20686
return
ID
;
20687
}
20688
20689
public
:
20691
int64
id_
;
20693
object_ptr<sticker>
sticker_
;
20695
int53
star_count_
;
20697
int53
default_sell_star_count_
;
20699
int53
upgrade_star_count_
;
20701
bool
is_for_birthday_
;
20703
int32
remaining_count_
;
20705
int32
total_count_
;
20707
int32
first_send_date_
;
20709
int32
last_send_date_
;
20710
20714
gift
();
20715
20730
gift
(
int64
id_
,
object_ptr<sticker>
&&
sticker_
,
int53
star_count_
,
int53
default_sell_star_count_
,
int53
upgrade_star_count_
,
bool
is_for_birthday_
,
int32
remaining_count_
,
int32
total_count_
,
int32
first_send_date_
,
int32
last_send_date_
);
20731
20733
static
const
std::int32_t
ID
= 2096710701;
20734
20740
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20741
};
20742
20743
class
upgradedGift
;
20744
20748
class
giftForResale
final :
public
Object
{
20753
std::int32_t get_id()
const
final
{
20754
return
ID
;
20755
}
20756
20757
public
:
20759
object_ptr<upgradedGift>
gift_
;
20761
string
received_gift_id_
;
20762
20766
giftForResale
();
20767
20774
giftForResale
(
object_ptr<upgradedGift>
&&
gift_
,
string
const
&
received_gift_id_
);
20775
20777
static
const
std::int32_t
ID
= 1130990515;
20778
20784
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20785
};
20786
20791
class
GiftForResaleOrder
:
public
Object
{
20792
public
:
20793
};
20794
20798
class
giftForResaleOrderPrice
final :
public
GiftForResaleOrder
{
20803
std::int32_t get_id()
const
final
{
20804
return
ID
;
20805
}
20806
20807
public
:
20808
20812
giftForResaleOrderPrice
();
20813
20815
static
const
std::int32_t
ID
= 1371740258;
20816
20822
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20823
};
20824
20828
class
giftForResaleOrderPriceChangeDate
final :
public
GiftForResaleOrder
{
20833
std::int32_t get_id()
const
final
{
20834
return
ID
;
20835
}
20836
20837
public
:
20838
20842
giftForResaleOrderPriceChangeDate
();
20843
20845
static
const
std::int32_t
ID
= -1694144054;
20846
20852
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20853
};
20854
20858
class
giftForResaleOrderNumber
final :
public
GiftForResaleOrder
{
20863
std::int32_t get_id()
const
final
{
20864
return
ID
;
20865
}
20866
20867
public
:
20868
20872
giftForResaleOrderNumber
();
20873
20875
static
const
std::int32_t
ID
= -1301157632;
20876
20882
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20883
};
20884
20885
class
acceptedGiftTypes
;
20886
20890
class
giftSettings
final :
public
Object
{
20895
std::int32_t get_id()
const
final
{
20896
return
ID
;
20897
}
20898
20899
public
:
20901
bool
show_gift_button_
;
20903
object_ptr<acceptedGiftTypes>
accepted_gift_types_
;
20904
20908
giftSettings
();
20909
20916
giftSettings
(
bool
show_gift_button_
,
object_ptr<acceptedGiftTypes>
&&
accepted_gift_types_
);
20917
20919
static
const
std::int32_t
ID
= 45783168;
20920
20926
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20927
};
20928
20929
class
upgradedGiftBackdrop
;
20930
20931
class
upgradedGiftModel
;
20932
20933
class
upgradedGiftSymbol
;
20934
20938
class
giftUpgradePreview
final :
public
Object
{
20943
std::int32_t get_id()
const
final
{
20944
return
ID
;
20945
}
20946
20947
public
:
20949
array<object_ptr<upgradedGiftModel>
>
models_
;
20951
array<object_ptr<upgradedGiftSymbol>
>
symbols_
;
20953
array<object_ptr<upgradedGiftBackdrop>
>
backdrops_
;
20954
20958
giftUpgradePreview
();
20959
20967
giftUpgradePreview
(
array
<
object_ptr<upgradedGiftModel>
> &&
models_
,
array
<
object_ptr<upgradedGiftSymbol>
> &&
symbols_
,
array
<
object_ptr<upgradedGiftBackdrop>
> &&
backdrops_
);
20968
20970
static
const
std::int32_t
ID
= 729908218;
20971
20977
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
20978
};
20979
20980
class
giftForResale
;
20981
20982
class
upgradedGiftBackdropCount
;
20983
20984
class
upgradedGiftModelCount
;
20985
20986
class
upgradedGiftSymbolCount
;
20987
20991
class
giftsForResale
final :
public
Object
{
20996
std::int32_t get_id()
const
final
{
20997
return
ID
;
20998
}
20999
21000
public
:
21002
int32
total_count_
;
21004
array<object_ptr<giftForResale>
>
gifts_
;
21006
array<object_ptr<upgradedGiftModelCount>
>
models_
;
21008
array<object_ptr<upgradedGiftSymbolCount>
>
symbols_
;
21010
array<object_ptr<upgradedGiftBackdropCount>
>
backdrops_
;
21012
string
next_offset_
;
21013
21017
giftsForResale
();
21018
21029
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_
);
21030
21032
static
const
std::int32_t
ID
= 35082425;
21033
21039
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21040
};
21041
21042
class
GiveawayParticipantStatus
;
21043
21048
class
GiveawayInfo
:
public
Object
{
21049
public
:
21050
};
21051
21055
class
giveawayInfoOngoing
final :
public
GiveawayInfo
{
21060
std::int32_t get_id()
const
final
{
21061
return
ID
;
21062
}
21063
21064
public
:
21066
int32
creation_date_
;
21068
object_ptr<GiveawayParticipantStatus>
status_
;
21070
bool
is_ended_
;
21071
21075
giveawayInfoOngoing
();
21076
21084
giveawayInfoOngoing
(
int32
creation_date_
,
object_ptr<GiveawayParticipantStatus>
&&
status_
,
bool
is_ended_
);
21085
21087
static
const
std::int32_t
ID
= 1649336400;
21088
21094
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21095
};
21096
21100
class
giveawayInfoCompleted
final :
public
GiveawayInfo
{
21105
std::int32_t get_id()
const
final
{
21106
return
ID
;
21107
}
21108
21109
public
:
21111
int32
creation_date_
;
21113
int32
actual_winners_selection_date_
;
21115
bool
was_refunded_
;
21117
bool
is_winner_
;
21119
int32
winner_count_
;
21121
int32
activation_count_
;
21123
string
gift_code_
;
21125
int53
won_star_count_
;
21126
21130
giveawayInfoCompleted
();
21131
21144
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_
);
21145
21147
static
const
std::int32_t
ID
= 848085852;
21148
21154
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21155
};
21156
21160
class
giveawayParameters
final :
public
Object
{
21165
std::int32_t get_id()
const
final
{
21166
return
ID
;
21167
}
21168
21169
public
:
21171
int53
boosted_chat_id_
;
21173
array<int53>
additional_chat_ids_
;
21175
int32
winners_selection_date_
;
21177
bool
only_new_members_
;
21179
bool
has_public_winners_
;
21181
array<string>
country_codes_
;
21183
string
prize_description_
;
21184
21188
giveawayParameters
();
21189
21201
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_
);
21202
21204
static
const
std::int32_t
ID
= 1171549354;
21205
21211
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21212
};
21213
21218
class
GiveawayParticipantStatus
:
public
Object
{
21219
public
:
21220
};
21221
21225
class
giveawayParticipantStatusEligible
final :
public
GiveawayParticipantStatus
{
21230
std::int32_t get_id()
const
final
{
21231
return
ID
;
21232
}
21233
21234
public
:
21235
21239
giveawayParticipantStatusEligible
();
21240
21242
static
const
std::int32_t
ID
= 304799383;
21243
21249
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21250
};
21251
21255
class
giveawayParticipantStatusParticipating
final :
public
GiveawayParticipantStatus
{
21260
std::int32_t get_id()
const
final
{
21261
return
ID
;
21262
}
21263
21264
public
:
21265
21269
giveawayParticipantStatusParticipating
();
21270
21272
static
const
std::int32_t
ID
= 492036975;
21273
21279
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21280
};
21281
21285
class
giveawayParticipantStatusAlreadyWasMember
final :
public
GiveawayParticipantStatus
{
21290
std::int32_t get_id()
const
final
{
21291
return
ID
;
21292
}
21293
21294
public
:
21296
int32
joined_chat_date_
;
21297
21301
giveawayParticipantStatusAlreadyWasMember
();
21302
21308
explicit
giveawayParticipantStatusAlreadyWasMember
(
int32
joined_chat_date_
);
21309
21311
static
const
std::int32_t
ID
= 301577632;
21312
21318
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21319
};
21320
21324
class
giveawayParticipantStatusAdministrator
final :
public
GiveawayParticipantStatus
{
21329
std::int32_t get_id()
const
final
{
21330
return
ID
;
21331
}
21332
21333
public
:
21335
int53
chat_id_
;
21336
21340
giveawayParticipantStatusAdministrator
();
21341
21347
explicit
giveawayParticipantStatusAdministrator
(
int53
chat_id_
);
21348
21350
static
const
std::int32_t
ID
= -934593931;
21351
21357
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21358
};
21359
21363
class
giveawayParticipantStatusDisallowedCountry
final :
public
GiveawayParticipantStatus
{
21368
std::int32_t get_id()
const
final
{
21369
return
ID
;
21370
}
21371
21372
public
:
21374
string
user_country_code_
;
21375
21379
giveawayParticipantStatusDisallowedCountry
();
21380
21386
explicit
giveawayParticipantStatusDisallowedCountry
(
string
const
&
user_country_code_
);
21387
21389
static
const
std::int32_t
ID
= 1879794779;
21390
21396
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21397
};
21398
21403
class
GiveawayPrize
:
public
Object
{
21404
public
:
21405
};
21406
21410
class
giveawayPrizePremium
final :
public
GiveawayPrize
{
21415
std::int32_t get_id()
const
final
{
21416
return
ID
;
21417
}
21418
21419
public
:
21421
int32
month_count_
;
21422
21426
giveawayPrizePremium
();
21427
21433
explicit
giveawayPrizePremium
(
int32
month_count_
);
21434
21436
static
const
std::int32_t
ID
= 454224248;
21437
21443
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21444
};
21445
21449
class
giveawayPrizeStars
final :
public
GiveawayPrize
{
21454
std::int32_t get_id()
const
final
{
21455
return
ID
;
21456
}
21457
21458
public
:
21460
int53
star_count_
;
21461
21465
giveawayPrizeStars
();
21466
21472
explicit
giveawayPrizeStars
(
int53
star_count_
);
21473
21475
static
const
std::int32_t
ID
= -1790173276;
21476
21482
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21483
};
21484
21485
class
groupCallRecentSpeaker
;
21486
21490
class
groupCall
final :
public
Object
{
21495
std::int32_t get_id()
const
final
{
21496
return
ID
;
21497
}
21498
21499
public
:
21501
int32
id_
;
21503
string
title_
;
21505
string
invite_link_
;
21507
int32
scheduled_start_date_
;
21509
bool
enabled_start_notification_
;
21511
bool
is_active_
;
21513
bool
is_video_chat_
;
21515
bool
is_rtmp_stream_
;
21517
bool
is_joined_
;
21519
bool
need_rejoin_
;
21521
bool
is_owned_
;
21523
bool
can_be_managed_
;
21525
int32
participant_count_
;
21527
bool
has_hidden_listeners_
;
21529
bool
loaded_all_participants_
;
21531
array<object_ptr<groupCallRecentSpeaker>
>
recent_speakers_
;
21533
bool
is_my_video_enabled_
;
21535
bool
is_my_video_paused_
;
21537
bool
can_enable_video_
;
21539
bool
mute_new_participants_
;
21541
bool
can_toggle_mute_new_participants_
;
21543
int32
record_duration_
;
21545
bool
is_video_recorded_
;
21547
int32
duration_
;
21548
21552
groupCall
();
21553
21582
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_
);
21583
21585
static
const
std::int32_t
ID
= -144438687;
21586
21592
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21593
};
21594
21599
class
GroupCallDataChannel
:
public
Object
{
21600
public
:
21601
};
21602
21606
class
groupCallDataChannelMain
final :
public
GroupCallDataChannel
{
21611
std::int32_t get_id()
const
final
{
21612
return
ID
;
21613
}
21614
21615
public
:
21616
21620
groupCallDataChannelMain
();
21621
21623
static
const
std::int32_t
ID
= -32177779;
21624
21630
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21631
};
21632
21636
class
groupCallDataChannelScreenSharing
final :
public
GroupCallDataChannel
{
21641
std::int32_t get_id()
const
final
{
21642
return
ID
;
21643
}
21644
21645
public
:
21646
21650
groupCallDataChannelScreenSharing
();
21651
21653
static
const
std::int32_t
ID
= -601649103;
21654
21660
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21661
};
21662
21666
class
groupCallId
final :
public
Object
{
21671
std::int32_t get_id()
const
final
{
21672
return
ID
;
21673
}
21674
21675
public
:
21677
int32
id_
;
21678
21682
groupCallId
();
21683
21689
explicit
groupCallId
(
int32
id_
);
21690
21692
static
const
std::int32_t
ID
= 350534469;
21693
21699
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21700
};
21701
21705
class
groupCallInfo
final :
public
Object
{
21710
std::int32_t get_id()
const
final
{
21711
return
ID
;
21712
}
21713
21714
public
:
21716
int32
group_call_id_
;
21718
string
join_payload_
;
21719
21723
groupCallInfo
();
21724
21731
groupCallInfo
(
int32
group_call_id_
,
string
const
&
join_payload_
);
21732
21734
static
const
std::int32_t
ID
= 892575956;
21735
21741
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21742
};
21743
21747
class
groupCallJoinParameters
final :
public
Object
{
21752
std::int32_t get_id()
const
final
{
21753
return
ID
;
21754
}
21755
21756
public
:
21758
int32
audio_source_id_
;
21760
string
payload_
;
21762
bool
is_muted_
;
21764
bool
is_my_video_enabled_
;
21765
21769
groupCallJoinParameters
();
21770
21779
groupCallJoinParameters
(
int32
audio_source_id_
,
string
const
&
payload_
,
bool
is_muted_
,
bool
is_my_video_enabled_
);
21780
21782
static
const
std::int32_t
ID
= 1763438054;
21783
21789
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21790
};
21791
21792
class
MessageSender
;
21793
21794
class
groupCallParticipantVideoInfo
;
21795
21799
class
groupCallParticipant
final :
public
Object
{
21804
std::int32_t get_id()
const
final
{
21805
return
ID
;
21806
}
21807
21808
public
:
21810
object_ptr<MessageSender>
participant_id_
;
21812
int32
audio_source_id_
;
21814
int32
screen_sharing_audio_source_id_
;
21816
object_ptr<groupCallParticipantVideoInfo>
video_info_
;
21818
object_ptr<groupCallParticipantVideoInfo>
screen_sharing_video_info_
;
21820
string
bio_
;
21822
bool
is_current_user_
;
21824
bool
is_speaking_
;
21826
bool
is_hand_raised_
;
21828
bool
can_be_muted_for_all_users_
;
21830
bool
can_be_unmuted_for_all_users_
;
21832
bool
can_be_muted_for_current_user_
;
21834
bool
can_be_unmuted_for_current_user_
;
21836
bool
is_muted_for_all_users_
;
21838
bool
is_muted_for_current_user_
;
21840
bool
can_unmute_self_
;
21842
int32
volume_level_
;
21844
string
order_
;
21845
21849
groupCallParticipant
();
21850
21873
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_
);
21874
21876
static
const
std::int32_t
ID
= 2059182571;
21877
21883
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21884
};
21885
21886
class
groupCallVideoSourceGroup
;
21887
21891
class
groupCallParticipantVideoInfo
final :
public
Object
{
21896
std::int32_t get_id()
const
final
{
21897
return
ID
;
21898
}
21899
21900
public
:
21902
array<object_ptr<groupCallVideoSourceGroup>
>
source_groups_
;
21904
string
endpoint_id_
;
21906
bool
is_paused_
;
21907
21911
groupCallParticipantVideoInfo
();
21912
21920
groupCallParticipantVideoInfo
(
array
<
object_ptr<groupCallVideoSourceGroup>
> &&
source_groups_
,
string
const
&
endpoint_id_
,
bool
is_paused_
);
21921
21923
static
const
std::int32_t
ID
= -14294645;
21924
21930
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21931
};
21932
21933
class
MessageSender
;
21934
21938
class
groupCallParticipants
final :
public
Object
{
21943
std::int32_t get_id()
const
final
{
21944
return
ID
;
21945
}
21946
21947
public
:
21949
int32
total_count_
;
21951
array<object_ptr<MessageSender>
>
participant_ids_
;
21952
21956
groupCallParticipants
();
21957
21964
groupCallParticipants
(
int32
total_count_
,
array
<
object_ptr<MessageSender>
> &&
participant_ids_
);
21965
21967
static
const
std::int32_t
ID
= -1042491570;
21968
21974
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
21975
};
21976
21977
class
MessageSender
;
21978
21982
class
groupCallRecentSpeaker
final :
public
Object
{
21987
std::int32_t get_id()
const
final
{
21988
return
ID
;
21989
}
21990
21991
public
:
21993
object_ptr<MessageSender>
participant_id_
;
21995
bool
is_speaking_
;
21996
22000
groupCallRecentSpeaker
();
22001
22008
groupCallRecentSpeaker
(
object_ptr<MessageSender>
&&
participant_id_
,
bool
is_speaking_
);
22009
22011
static
const
std::int32_t
ID
= 1819519436;
22012
22018
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22019
};
22020
22025
class
GroupCallVideoQuality
:
public
Object
{
22026
public
:
22027
};
22028
22032
class
groupCallVideoQualityThumbnail
final :
public
GroupCallVideoQuality
{
22037
std::int32_t get_id()
const
final
{
22038
return
ID
;
22039
}
22040
22041
public
:
22042
22046
groupCallVideoQualityThumbnail
();
22047
22049
static
const
std::int32_t
ID
= -379186304;
22050
22056
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22057
};
22058
22062
class
groupCallVideoQualityMedium
final :
public
GroupCallVideoQuality
{
22067
std::int32_t get_id()
const
final
{
22068
return
ID
;
22069
}
22070
22071
public
:
22072
22076
groupCallVideoQualityMedium
();
22077
22079
static
const
std::int32_t
ID
= 394968234;
22080
22086
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22087
};
22088
22092
class
groupCallVideoQualityFull
final :
public
GroupCallVideoQuality
{
22097
std::int32_t get_id()
const
final
{
22098
return
ID
;
22099
}
22100
22101
public
:
22102
22106
groupCallVideoQualityFull
();
22107
22109
static
const
std::int32_t
ID
= -2125916617;
22110
22116
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22117
};
22118
22122
class
groupCallVideoSourceGroup
final :
public
Object
{
22127
std::int32_t get_id()
const
final
{
22128
return
ID
;
22129
}
22130
22131
public
:
22133
string
semantics_
;
22135
array<int32>
source_ids_
;
22136
22140
groupCallVideoSourceGroup
();
22141
22148
groupCallVideoSourceGroup
(
string
const
&
semantics_
,
array<int32>
&&
source_ids_
);
22149
22151
static
const
std::int32_t
ID
= -1190900785;
22152
22158
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22159
};
22160
22164
class
hashtags
final :
public
Object
{
22169
std::int32_t get_id()
const
final
{
22170
return
ID
;
22171
}
22172
22173
public
:
22175
array<string>
hashtags_
;
22176
22180
hashtags
();
22181
22187
explicit
hashtags
(
array<string>
&&
hashtags_
);
22188
22190
static
const
std::int32_t
ID
= 676798885;
22191
22197
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22198
};
22199
22203
class
httpUrl
final :
public
Object
{
22208
std::int32_t get_id()
const
final
{
22209
return
ID
;
22210
}
22211
22212
public
:
22214
string
url_
;
22215
22219
httpUrl
();
22220
22226
explicit
httpUrl
(
string
const
&
url_
);
22227
22229
static
const
std::int32_t
ID
= -2018019930;
22230
22236
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22237
};
22238
22239
class
date
;
22240
22241
class
datedFile
;
22242
22246
class
identityDocument
final :
public
Object
{
22251
std::int32_t get_id()
const
final
{
22252
return
ID
;
22253
}
22254
22255
public
:
22257
string
number_
;
22259
object_ptr<date>
expiration_date_
;
22261
object_ptr<datedFile>
front_side_
;
22263
object_ptr<datedFile>
reverse_side_
;
22265
object_ptr<datedFile>
selfie_
;
22267
array<object_ptr<datedFile>
>
translation_
;
22268
22272
identityDocument
();
22273
22284
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_
);
22285
22287
static
const
std::int32_t
ID
= 1001703606;
22288
22294
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22295
};
22296
22300
class
importedContacts
final :
public
Object
{
22305
std::int32_t get_id()
const
final
{
22306
return
ID
;
22307
}
22308
22309
public
:
22311
array<int53>
user_ids_
;
22313
array<int32>
importer_count_
;
22314
22318
importedContacts
();
22319
22326
importedContacts
(
array<int53>
&&
user_ids_
,
array<int32>
&&
importer_count_
);
22327
22329
static
const
std::int32_t
ID
= 2068432290;
22330
22336
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22337
};
22338
22339
class
InlineKeyboardButtonType
;
22340
22344
class
inlineKeyboardButton
final :
public
Object
{
22349
std::int32_t get_id()
const
final
{
22350
return
ID
;
22351
}
22352
22353
public
:
22355
string
text_
;
22357
object_ptr<InlineKeyboardButtonType>
type_
;
22358
22362
inlineKeyboardButton
();
22363
22370
inlineKeyboardButton
(
string
const
&
text_
,
object_ptr<InlineKeyboardButtonType>
&&
type_
);
22371
22373
static
const
std::int32_t
ID
= -372105704;
22374
22380
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22381
};
22382
22383
class
TargetChat
;
22384
22389
class
InlineKeyboardButtonType
:
public
Object
{
22390
public
:
22391
};
22392
22396
class
inlineKeyboardButtonTypeUrl
final :
public
InlineKeyboardButtonType
{
22401
std::int32_t get_id()
const
final
{
22402
return
ID
;
22403
}
22404
22405
public
:
22407
string
url_
;
22408
22412
inlineKeyboardButtonTypeUrl
();
22413
22419
explicit
inlineKeyboardButtonTypeUrl
(
string
const
&
url_
);
22420
22422
static
const
std::int32_t
ID
= 1130741420;
22423
22429
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22430
};
22431
22435
class
inlineKeyboardButtonTypeLoginUrl
final :
public
InlineKeyboardButtonType
{
22440
std::int32_t get_id()
const
final
{
22441
return
ID
;
22442
}
22443
22444
public
:
22446
string
url_
;
22448
int53
id_
;
22450
string
forward_text_
;
22451
22455
inlineKeyboardButtonTypeLoginUrl
();
22456
22464
inlineKeyboardButtonTypeLoginUrl
(
string
const
&
url_
,
int53
id_
,
string
const
&
forward_text_
);
22465
22467
static
const
std::int32_t
ID
= -1203413081;
22468
22474
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22475
};
22476
22480
class
inlineKeyboardButtonTypeWebApp
final :
public
InlineKeyboardButtonType
{
22485
std::int32_t get_id()
const
final
{
22486
return
ID
;
22487
}
22488
22489
public
:
22491
string
url_
;
22492
22496
inlineKeyboardButtonTypeWebApp
();
22497
22503
explicit
inlineKeyboardButtonTypeWebApp
(
string
const
&
url_
);
22504
22506
static
const
std::int32_t
ID
= -1767471672;
22507
22513
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22514
};
22515
22519
class
inlineKeyboardButtonTypeCallback
final :
public
InlineKeyboardButtonType
{
22524
std::int32_t get_id()
const
final
{
22525
return
ID
;
22526
}
22527
22528
public
:
22530
bytes
data_
;
22531
22535
inlineKeyboardButtonTypeCallback
();
22536
22542
explicit
inlineKeyboardButtonTypeCallback
(
bytes
const
&
data_
);
22543
22545
static
const
std::int32_t
ID
= -1127515139;
22546
22552
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22553
};
22554
22558
class
inlineKeyboardButtonTypeCallbackWithPassword
final :
public
InlineKeyboardButtonType
{
22563
std::int32_t get_id()
const
final
{
22564
return
ID
;
22565
}
22566
22567
public
:
22569
bytes
data_
;
22570
22574
inlineKeyboardButtonTypeCallbackWithPassword
();
22575
22581
explicit
inlineKeyboardButtonTypeCallbackWithPassword
(
bytes
const
&
data_
);
22582
22584
static
const
std::int32_t
ID
= 908018248;
22585
22591
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22592
};
22593
22597
class
inlineKeyboardButtonTypeCallbackGame
final :
public
InlineKeyboardButtonType
{
22602
std::int32_t get_id()
const
final
{
22603
return
ID
;
22604
}
22605
22606
public
:
22607
22611
inlineKeyboardButtonTypeCallbackGame
();
22612
22614
static
const
std::int32_t
ID
= -383429528;
22615
22621
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22622
};
22623
22627
class
inlineKeyboardButtonTypeSwitchInline
final :
public
InlineKeyboardButtonType
{
22632
std::int32_t get_id()
const
final
{
22633
return
ID
;
22634
}
22635
22636
public
:
22638
string
query_
;
22640
object_ptr<TargetChat>
target_chat_
;
22641
22645
inlineKeyboardButtonTypeSwitchInline
();
22646
22653
inlineKeyboardButtonTypeSwitchInline
(
string
const
&
query_
,
object_ptr<TargetChat>
&&
target_chat_
);
22654
22656
static
const
std::int32_t
ID
= 544906485;
22657
22663
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22664
};
22665
22669
class
inlineKeyboardButtonTypeBuy
final :
public
InlineKeyboardButtonType
{
22674
std::int32_t get_id()
const
final
{
22675
return
ID
;
22676
}
22677
22678
public
:
22679
22683
inlineKeyboardButtonTypeBuy
();
22684
22686
static
const
std::int32_t
ID
= 1360739440;
22687
22693
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22694
};
22695
22699
class
inlineKeyboardButtonTypeUser
final :
public
InlineKeyboardButtonType
{
22704
std::int32_t get_id()
const
final
{
22705
return
ID
;
22706
}
22707
22708
public
:
22710
int53
user_id_
;
22711
22715
inlineKeyboardButtonTypeUser
();
22716
22722
explicit
inlineKeyboardButtonTypeUser
(
int53
user_id_
);
22723
22725
static
const
std::int32_t
ID
= 1836574114;
22726
22732
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22733
};
22734
22738
class
inlineKeyboardButtonTypeCopyText
final :
public
InlineKeyboardButtonType
{
22743
std::int32_t get_id()
const
final
{
22744
return
ID
;
22745
}
22746
22747
public
:
22749
string
text_
;
22750
22754
inlineKeyboardButtonTypeCopyText
();
22755
22761
explicit
inlineKeyboardButtonTypeCopyText
(
string
const
&
text_
);
22762
22764
static
const
std::int32_t
ID
= 68883206;
22765
22771
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22772
};
22773
22774
class
animation
;
22775
22776
class
audio
;
22777
22778
class
contact
;
22779
22780
class
document
;
22781
22782
class
game
;
22783
22784
class
location
;
22785
22786
class
photo
;
22787
22788
class
sticker
;
22789
22790
class
thumbnail
;
22791
22792
class
venue
;
22793
22794
class
video
;
22795
22796
class
voiceNote
;
22797
22802
class
InlineQueryResult
:
public
Object
{
22803
public
:
22804
};
22805
22809
class
inlineQueryResultArticle
final :
public
InlineQueryResult
{
22814
std::int32_t get_id()
const
final
{
22815
return
ID
;
22816
}
22817
22818
public
:
22820
string
id_
;
22822
string
url_
;
22824
string
title_
;
22826
string
description_
;
22828
object_ptr<thumbnail>
thumbnail_
;
22829
22833
inlineQueryResultArticle
();
22834
22844
inlineQueryResultArticle
(
string
const
&
id_
,
string
const
&
url_
,
string
const
&
title_
,
string
const
&
description_
,
object_ptr<thumbnail>
&&
thumbnail_
);
22845
22847
static
const
std::int32_t
ID
= 269930522;
22848
22854
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22855
};
22856
22860
class
inlineQueryResultContact
final :
public
InlineQueryResult
{
22865
std::int32_t get_id()
const
final
{
22866
return
ID
;
22867
}
22868
22869
public
:
22871
string
id_
;
22873
object_ptr<contact>
contact_
;
22875
object_ptr<thumbnail>
thumbnail_
;
22876
22880
inlineQueryResultContact
();
22881
22889
inlineQueryResultContact
(
string
const
&
id_
,
object_ptr<contact>
&&
contact_
,
object_ptr<thumbnail>
&&
thumbnail_
);
22890
22892
static
const
std::int32_t
ID
= -181960174;
22893
22899
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22900
};
22901
22905
class
inlineQueryResultLocation
final :
public
InlineQueryResult
{
22910
std::int32_t get_id()
const
final
{
22911
return
ID
;
22912
}
22913
22914
public
:
22916
string
id_
;
22918
object_ptr<location>
location_
;
22920
string
title_
;
22922
object_ptr<thumbnail>
thumbnail_
;
22923
22927
inlineQueryResultLocation
();
22928
22937
inlineQueryResultLocation
(
string
const
&
id_
,
object_ptr<location>
&&
location_
,
string
const
&
title_
,
object_ptr<thumbnail>
&&
thumbnail_
);
22938
22940
static
const
std::int32_t
ID
= 466004752;
22941
22947
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22948
};
22949
22953
class
inlineQueryResultVenue
final :
public
InlineQueryResult
{
22958
std::int32_t get_id()
const
final
{
22959
return
ID
;
22960
}
22961
22962
public
:
22964
string
id_
;
22966
object_ptr<venue>
venue_
;
22968
object_ptr<thumbnail>
thumbnail_
;
22969
22973
inlineQueryResultVenue
();
22974
22982
inlineQueryResultVenue
(
string
const
&
id_
,
object_ptr<venue>
&&
venue_
,
object_ptr<thumbnail>
&&
thumbnail_
);
22983
22985
static
const
std::int32_t
ID
= 1281036382;
22986
22992
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
22993
};
22994
22998
class
inlineQueryResultGame
final :
public
InlineQueryResult
{
23003
std::int32_t get_id()
const
final
{
23004
return
ID
;
23005
}
23006
23007
public
:
23009
string
id_
;
23011
object_ptr<game>
game_
;
23012
23016
inlineQueryResultGame
();
23017
23024
inlineQueryResultGame
(
string
const
&
id_
,
object_ptr<game>
&&
game_
);
23025
23027
static
const
std::int32_t
ID
= 1706916987;
23028
23034
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23035
};
23036
23040
class
inlineQueryResultAnimation
final :
public
InlineQueryResult
{
23045
std::int32_t get_id()
const
final
{
23046
return
ID
;
23047
}
23048
23049
public
:
23051
string
id_
;
23053
object_ptr<animation>
animation_
;
23055
string
title_
;
23056
23060
inlineQueryResultAnimation
();
23061
23069
inlineQueryResultAnimation
(
string
const
&
id_
,
object_ptr<animation>
&&
animation_
,
string
const
&
title_
);
23070
23072
static
const
std::int32_t
ID
= 2009984267;
23073
23079
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23080
};
23081
23085
class
inlineQueryResultAudio
final :
public
InlineQueryResult
{
23090
std::int32_t get_id()
const
final
{
23091
return
ID
;
23092
}
23093
23094
public
:
23096
string
id_
;
23098
object_ptr<audio>
audio_
;
23099
23103
inlineQueryResultAudio
();
23104
23111
inlineQueryResultAudio
(
string
const
&
id_
,
object_ptr<audio>
&&
audio_
);
23112
23114
static
const
std::int32_t
ID
= 842650360;
23115
23121
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23122
};
23123
23127
class
inlineQueryResultDocument
final :
public
InlineQueryResult
{
23132
std::int32_t get_id()
const
final
{
23133
return
ID
;
23134
}
23135
23136
public
:
23138
string
id_
;
23140
object_ptr<document>
document_
;
23142
string
title_
;
23144
string
description_
;
23145
23149
inlineQueryResultDocument
();
23150
23159
inlineQueryResultDocument
(
string
const
&
id_
,
object_ptr<document>
&&
document_
,
string
const
&
title_
,
string
const
&
description_
);
23160
23162
static
const
std::int32_t
ID
= -1491268539;
23163
23169
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23170
};
23171
23175
class
inlineQueryResultPhoto
final :
public
InlineQueryResult
{
23180
std::int32_t get_id()
const
final
{
23181
return
ID
;
23182
}
23183
23184
public
:
23186
string
id_
;
23188
object_ptr<photo>
photo_
;
23190
string
title_
;
23192
string
description_
;
23193
23197
inlineQueryResultPhoto
();
23198
23207
inlineQueryResultPhoto
(
string
const
&
id_
,
object_ptr<photo>
&&
photo_
,
string
const
&
title_
,
string
const
&
description_
);
23208
23210
static
const
std::int32_t
ID
= 1848319440;
23211
23217
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23218
};
23219
23223
class
inlineQueryResultSticker
final :
public
InlineQueryResult
{
23228
std::int32_t get_id()
const
final
{
23229
return
ID
;
23230
}
23231
23232
public
:
23234
string
id_
;
23236
object_ptr<sticker>
sticker_
;
23237
23241
inlineQueryResultSticker
();
23242
23249
inlineQueryResultSticker
(
string
const
&
id_
,
object_ptr<sticker>
&&
sticker_
);
23250
23252
static
const
std::int32_t
ID
= -1848224245;
23253
23259
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23260
};
23261
23265
class
inlineQueryResultVideo
final :
public
InlineQueryResult
{
23270
std::int32_t get_id()
const
final
{
23271
return
ID
;
23272
}
23273
23274
public
:
23276
string
id_
;
23278
object_ptr<video>
video_
;
23280
string
title_
;
23282
string
description_
;
23283
23287
inlineQueryResultVideo
();
23288
23297
inlineQueryResultVideo
(
string
const
&
id_
,
object_ptr<video>
&&
video_
,
string
const
&
title_
,
string
const
&
description_
);
23298
23300
static
const
std::int32_t
ID
= -1373158683;
23301
23307
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23308
};
23309
23313
class
inlineQueryResultVoiceNote
final :
public
InlineQueryResult
{
23318
std::int32_t get_id()
const
final
{
23319
return
ID
;
23320
}
23321
23322
public
:
23324
string
id_
;
23326
object_ptr<voiceNote>
voice_note_
;
23328
string
title_
;
23329
23333
inlineQueryResultVoiceNote
();
23334
23342
inlineQueryResultVoiceNote
(
string
const
&
id_
,
object_ptr<voiceNote>
&&
voice_note_
,
string
const
&
title_
);
23343
23345
static
const
std::int32_t
ID
= -1897393105;
23346
23352
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23353
};
23354
23355
class
InlineQueryResult
;
23356
23357
class
inlineQueryResultsButton
;
23358
23362
class
inlineQueryResults
final :
public
Object
{
23367
std::int32_t get_id()
const
final
{
23368
return
ID
;
23369
}
23370
23371
public
:
23373
int64
inline_query_id_
;
23375
object_ptr<inlineQueryResultsButton>
button_
;
23377
array<object_ptr<InlineQueryResult>
>
results_
;
23379
string
next_offset_
;
23380
23384
inlineQueryResults
();
23385
23394
inlineQueryResults
(
int64
inline_query_id_
,
object_ptr<inlineQueryResultsButton>
&&
button_
,
array
<
object_ptr<InlineQueryResult>
> &&
results_
,
string
const
&
next_offset_
);
23395
23397
static
const
std::int32_t
ID
= 1830685615;
23398
23404
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23405
};
23406
23407
class
InlineQueryResultsButtonType
;
23408
23412
class
inlineQueryResultsButton
final :
public
Object
{
23417
std::int32_t get_id()
const
final
{
23418
return
ID
;
23419
}
23420
23421
public
:
23423
string
text_
;
23425
object_ptr<InlineQueryResultsButtonType>
type_
;
23426
23430
inlineQueryResultsButton
();
23431
23438
inlineQueryResultsButton
(
string
const
&
text_
,
object_ptr<InlineQueryResultsButtonType>
&&
type_
);
23439
23441
static
const
std::int32_t
ID
= -790689618;
23442
23448
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23449
};
23450
23455
class
InlineQueryResultsButtonType
:
public
Object
{
23456
public
:
23457
};
23458
23462
class
inlineQueryResultsButtonTypeStartBot
final :
public
InlineQueryResultsButtonType
{
23467
std::int32_t get_id()
const
final
{
23468
return
ID
;
23469
}
23470
23471
public
:
23473
string
parameter_
;
23474
23478
inlineQueryResultsButtonTypeStartBot
();
23479
23485
explicit
inlineQueryResultsButtonTypeStartBot
(
string
const
&
parameter_
);
23486
23488
static
const
std::int32_t
ID
= -23400235;
23489
23495
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23496
};
23497
23501
class
inlineQueryResultsButtonTypeWebApp
final :
public
InlineQueryResultsButtonType
{
23506
std::int32_t get_id()
const
final
{
23507
return
ID
;
23508
}
23509
23510
public
:
23512
string
url_
;
23513
23517
inlineQueryResultsButtonTypeWebApp
();
23518
23524
explicit
inlineQueryResultsButtonTypeWebApp
(
string
const
&
url_
);
23525
23527
static
const
std::int32_t
ID
= -1197382814;
23528
23534
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23535
};
23536
23537
class
InputFile
;
23538
23543
class
InputBackground
:
public
Object
{
23544
public
:
23545
};
23546
23550
class
inputBackgroundLocal
final :
public
InputBackground
{
23555
std::int32_t get_id()
const
final
{
23556
return
ID
;
23557
}
23558
23559
public
:
23561
object_ptr<InputFile>
background_
;
23562
23566
inputBackgroundLocal
();
23567
23573
explicit
inputBackgroundLocal
(
object_ptr<InputFile>
&&
background_
);
23574
23576
static
const
std::int32_t
ID
= -1747094364;
23577
23583
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23584
};
23585
23589
class
inputBackgroundRemote
final :
public
InputBackground
{
23594
std::int32_t get_id()
const
final
{
23595
return
ID
;
23596
}
23597
23598
public
:
23600
int64
background_id_
;
23601
23605
inputBackgroundRemote
();
23606
23612
explicit
inputBackgroundRemote
(
int64
background_id_
);
23613
23615
static
const
std::int32_t
ID
= -274976231;
23616
23622
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23623
};
23624
23628
class
inputBackgroundPrevious
final :
public
InputBackground
{
23633
std::int32_t get_id()
const
final
{
23634
return
ID
;
23635
}
23636
23637
public
:
23639
int53
message_id_
;
23640
23644
inputBackgroundPrevious
();
23645
23651
explicit
inputBackgroundPrevious
(
int53
message_id_
);
23652
23654
static
const
std::int32_t
ID
= -351905954;
23655
23661
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23662
};
23663
23664
class
formattedText
;
23665
23669
class
inputBusinessChatLink
final :
public
Object
{
23674
std::int32_t get_id()
const
final
{
23675
return
ID
;
23676
}
23677
23678
public
:
23680
object_ptr<formattedText>
text_
;
23682
string
title_
;
23683
23687
inputBusinessChatLink
();
23688
23695
inputBusinessChatLink
(
object_ptr<formattedText>
&&
text_
,
string
const
&
title_
);
23696
23698
static
const
std::int32_t
ID
= 237858296;
23699
23705
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23706
};
23707
23708
class
InputFile
;
23709
23713
class
inputBusinessStartPage
final :
public
Object
{
23718
std::int32_t get_id()
const
final
{
23719
return
ID
;
23720
}
23721
23722
public
:
23724
string
title_
;
23726
string
message_
;
23728
object_ptr<InputFile>
sticker_
;
23729
23733
inputBusinessStartPage
();
23734
23742
inputBusinessStartPage
(
string
const
&
title_
,
string
const
&
message_
,
object_ptr<InputFile>
&&
sticker_
);
23743
23745
static
const
std::int32_t
ID
= -327383072;
23746
23752
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23753
};
23754
23755
class
InputFile
;
23756
23757
class
chatPhotoSticker
;
23758
23763
class
InputChatPhoto
:
public
Object
{
23764
public
:
23765
};
23766
23770
class
inputChatPhotoPrevious
final :
public
InputChatPhoto
{
23775
std::int32_t get_id()
const
final
{
23776
return
ID
;
23777
}
23778
23779
public
:
23781
int64
chat_photo_id_
;
23782
23786
inputChatPhotoPrevious
();
23787
23793
explicit
inputChatPhotoPrevious
(
int64
chat_photo_id_
);
23794
23796
static
const
std::int32_t
ID
= 23128529;
23797
23803
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23804
};
23805
23809
class
inputChatPhotoStatic
final :
public
InputChatPhoto
{
23814
std::int32_t get_id()
const
final
{
23815
return
ID
;
23816
}
23817
23818
public
:
23820
object_ptr<InputFile>
photo_
;
23821
23825
inputChatPhotoStatic
();
23826
23832
explicit
inputChatPhotoStatic
(
object_ptr<InputFile>
&&
photo_
);
23833
23835
static
const
std::int32_t
ID
= 1979179699;
23836
23842
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23843
};
23844
23848
class
inputChatPhotoAnimation
final :
public
InputChatPhoto
{
23853
std::int32_t get_id()
const
final
{
23854
return
ID
;
23855
}
23856
23857
public
:
23859
object_ptr<InputFile>
animation_
;
23861
double
main_frame_timestamp_
;
23862
23866
inputChatPhotoAnimation
();
23867
23874
inputChatPhotoAnimation
(
object_ptr<InputFile>
&&
animation_
,
double
main_frame_timestamp_
);
23875
23877
static
const
std::int32_t
ID
= 90846242;
23878
23884
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23885
};
23886
23890
class
inputChatPhotoSticker
final :
public
InputChatPhoto
{
23895
std::int32_t get_id()
const
final
{
23896
return
ID
;
23897
}
23898
23899
public
:
23901
object_ptr<chatPhotoSticker>
sticker_
;
23902
23906
inputChatPhotoSticker
();
23907
23913
explicit
inputChatPhotoSticker
(
object_ptr<chatPhotoSticker>
&&
sticker_
);
23914
23916
static
const
std::int32_t
ID
= 1315861341;
23917
23923
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23924
};
23925
23930
class
InputCredentials
:
public
Object
{
23931
public
:
23932
};
23933
23937
class
inputCredentialsSaved
final :
public
InputCredentials
{
23942
std::int32_t get_id()
const
final
{
23943
return
ID
;
23944
}
23945
23946
public
:
23948
string
saved_credentials_id_
;
23949
23953
inputCredentialsSaved
();
23954
23960
explicit
inputCredentialsSaved
(
string
const
&
saved_credentials_id_
);
23961
23963
static
const
std::int32_t
ID
= -2034385364;
23964
23970
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
23971
};
23972
23976
class
inputCredentialsNew
final :
public
InputCredentials
{
23981
std::int32_t get_id()
const
final
{
23982
return
ID
;
23983
}
23984
23985
public
:
23987
string
data_
;
23989
bool
allow_save_
;
23990
23994
inputCredentialsNew
();
23995
24002
inputCredentialsNew
(
string
const
&
data_
,
bool
allow_save_
);
24003
24005
static
const
std::int32_t
ID
= -829689558;
24006
24012
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24013
};
24014
24018
class
inputCredentialsApplePay
final :
public
InputCredentials
{
24023
std::int32_t get_id()
const
final
{
24024
return
ID
;
24025
}
24026
24027
public
:
24029
string
data_
;
24030
24034
inputCredentialsApplePay
();
24035
24041
explicit
inputCredentialsApplePay
(
string
const
&
data_
);
24042
24044
static
const
std::int32_t
ID
= -1246570799;
24045
24051
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24052
};
24053
24057
class
inputCredentialsGooglePay
final :
public
InputCredentials
{
24062
std::int32_t get_id()
const
final
{
24063
return
ID
;
24064
}
24065
24066
public
:
24068
string
data_
;
24069
24073
inputCredentialsGooglePay
();
24074
24080
explicit
inputCredentialsGooglePay
(
string
const
&
data_
);
24081
24083
static
const
std::int32_t
ID
= 844384100;
24084
24090
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24091
};
24092
24097
class
InputFile
:
public
Object
{
24098
public
:
24099
};
24100
24104
class
inputFileId
final :
public
InputFile
{
24109
std::int32_t get_id()
const
final
{
24110
return
ID
;
24111
}
24112
24113
public
:
24115
int32
id_
;
24116
24120
inputFileId
();
24121
24127
explicit
inputFileId
(
int32
id_
);
24128
24130
static
const
std::int32_t
ID
= 1788906253;
24131
24137
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24138
};
24139
24143
class
inputFileRemote
final :
public
InputFile
{
24148
std::int32_t get_id()
const
final
{
24149
return
ID
;
24150
}
24151
24152
public
:
24154
string
id_
;
24155
24159
inputFileRemote
();
24160
24166
explicit
inputFileRemote
(
string
const
&
id_
);
24167
24169
static
const
std::int32_t
ID
= -107574466;
24170
24176
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24177
};
24178
24182
class
inputFileLocal
final :
public
InputFile
{
24187
std::int32_t get_id()
const
final
{
24188
return
ID
;
24189
}
24190
24191
public
:
24193
string
path_
;
24194
24198
inputFileLocal
();
24199
24205
explicit
inputFileLocal
(
string
const
&
path_
);
24206
24208
static
const
std::int32_t
ID
= 2056030919;
24209
24215
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24216
};
24217
24221
class
inputFileGenerated
final :
public
InputFile
{
24226
std::int32_t get_id()
const
final
{
24227
return
ID
;
24228
}
24229
24230
public
:
24232
string
original_path_
;
24234
string
conversion_
;
24236
int53
expected_size_
;
24237
24241
inputFileGenerated
();
24242
24250
inputFileGenerated
(
string
const
&
original_path_
,
string
const
&
conversion_
,
int53
expected_size_
);
24251
24253
static
const
std::int32_t
ID
= -1333385216;
24254
24260
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24261
};
24262
24267
class
InputGroupCall
:
public
Object
{
24268
public
:
24269
};
24270
24274
class
inputGroupCallLink
final :
public
InputGroupCall
{
24279
std::int32_t get_id()
const
final
{
24280
return
ID
;
24281
}
24282
24283
public
:
24285
string
link_
;
24286
24290
inputGroupCallLink
();
24291
24297
explicit
inputGroupCallLink
(
string
const
&
link_
);
24298
24300
static
const
std::int32_t
ID
= -812157480;
24301
24307
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24308
};
24309
24313
class
inputGroupCallMessage
final :
public
InputGroupCall
{
24318
std::int32_t get_id()
const
final
{
24319
return
ID
;
24320
}
24321
24322
public
:
24324
int53
chat_id_
;
24326
int53
message_id_
;
24327
24331
inputGroupCallMessage
();
24332
24339
inputGroupCallMessage
(
int53
chat_id_
,
int53
message_id_
);
24340
24342
static
const
std::int32_t
ID
= -341793768;
24343
24349
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24350
};
24351
24352
class
InputFile
;
24353
24354
class
date
;
24355
24359
class
inputIdentityDocument
final :
public
Object
{
24364
std::int32_t get_id()
const
final
{
24365
return
ID
;
24366
}
24367
24368
public
:
24370
string
number_
;
24372
object_ptr<date>
expiration_date_
;
24374
object_ptr<InputFile>
front_side_
;
24376
object_ptr<InputFile>
reverse_side_
;
24378
object_ptr<InputFile>
selfie_
;
24380
array<object_ptr<InputFile>
>
translation_
;
24381
24385
inputIdentityDocument
();
24386
24397
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_
);
24398
24400
static
const
std::int32_t
ID
= 767353688;
24401
24407
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24408
};
24409
24410
class
InputMessageContent
;
24411
24412
class
ReplyMarkup
;
24413
24414
class
contact
;
24415
24416
class
location
;
24417
24418
class
venue
;
24419
24424
class
InputInlineQueryResult
:
public
Object
{
24425
public
:
24426
};
24427
24431
class
inputInlineQueryResultAnimation
final :
public
InputInlineQueryResult
{
24436
std::int32_t get_id()
const
final
{
24437
return
ID
;
24438
}
24439
24440
public
:
24442
string
id_
;
24444
string
title_
;
24446
string
thumbnail_url_
;
24448
string
thumbnail_mime_type_
;
24450
string
video_url_
;
24452
string
video_mime_type_
;
24454
int32
video_duration_
;
24456
int32
video_width_
;
24458
int32
video_height_
;
24460
object_ptr<ReplyMarkup>
reply_markup_
;
24462
object_ptr<InputMessageContent>
input_message_content_
;
24463
24467
inputInlineQueryResultAnimation
();
24468
24484
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_
);
24485
24487
static
const
std::int32_t
ID
= -1489808874;
24488
24494
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24495
};
24496
24500
class
inputInlineQueryResultArticle
final :
public
InputInlineQueryResult
{
24505
std::int32_t get_id()
const
final
{
24506
return
ID
;
24507
}
24508
24509
public
:
24511
string
id_
;
24513
string
url_
;
24515
string
title_
;
24517
string
description_
;
24519
string
thumbnail_url_
;
24521
int32
thumbnail_width_
;
24523
int32
thumbnail_height_
;
24525
object_ptr<ReplyMarkup>
reply_markup_
;
24527
object_ptr<InputMessageContent>
input_message_content_
;
24528
24532
inputInlineQueryResultArticle
();
24533
24547
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_
);
24548
24550
static
const
std::int32_t
ID
= 1983218620;
24551
24557
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24558
};
24559
24563
class
inputInlineQueryResultAudio
final :
public
InputInlineQueryResult
{
24568
std::int32_t get_id()
const
final
{
24569
return
ID
;
24570
}
24571
24572
public
:
24574
string
id_
;
24576
string
title_
;
24578
string
performer_
;
24580
string
audio_url_
;
24582
int32
audio_duration_
;
24584
object_ptr<ReplyMarkup>
reply_markup_
;
24586
object_ptr<InputMessageContent>
input_message_content_
;
24587
24591
inputInlineQueryResultAudio
();
24592
24604
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_
);
24605
24607
static
const
std::int32_t
ID
= 1260139988;
24608
24614
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24615
};
24616
24620
class
inputInlineQueryResultContact
final :
public
InputInlineQueryResult
{
24625
std::int32_t get_id()
const
final
{
24626
return
ID
;
24627
}
24628
24629
public
:
24631
string
id_
;
24633
object_ptr<contact>
contact_
;
24635
string
thumbnail_url_
;
24637
int32
thumbnail_width_
;
24639
int32
thumbnail_height_
;
24641
object_ptr<ReplyMarkup>
reply_markup_
;
24643
object_ptr<InputMessageContent>
input_message_content_
;
24644
24648
inputInlineQueryResultContact
();
24649
24661
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_
);
24662
24664
static
const
std::int32_t
ID
= 1846064594;
24665
24671
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24672
};
24673
24677
class
inputInlineQueryResultDocument
final :
public
InputInlineQueryResult
{
24682
std::int32_t get_id()
const
final
{
24683
return
ID
;
24684
}
24685
24686
public
:
24688
string
id_
;
24690
string
title_
;
24692
string
description_
;
24694
string
document_url_
;
24696
string
mime_type_
;
24698
string
thumbnail_url_
;
24700
int32
thumbnail_width_
;
24702
int32
thumbnail_height_
;
24704
object_ptr<ReplyMarkup>
reply_markup_
;
24706
object_ptr<InputMessageContent>
input_message_content_
;
24707
24711
inputInlineQueryResultDocument
();
24712
24727
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_
);
24728
24730
static
const
std::int32_t
ID
= 578801869;
24731
24737
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24738
};
24739
24743
class
inputInlineQueryResultGame
final :
public
InputInlineQueryResult
{
24748
std::int32_t get_id()
const
final
{
24749
return
ID
;
24750
}
24751
24752
public
:
24754
string
id_
;
24756
string
game_short_name_
;
24758
object_ptr<ReplyMarkup>
reply_markup_
;
24759
24763
inputInlineQueryResultGame
();
24764
24772
inputInlineQueryResultGame
(
string
const
&
id_
,
string
const
&
game_short_name_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
);
24773
24775
static
const
std::int32_t
ID
= 966074327;
24776
24782
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24783
};
24784
24788
class
inputInlineQueryResultLocation
final :
public
InputInlineQueryResult
{
24793
std::int32_t get_id()
const
final
{
24794
return
ID
;
24795
}
24796
24797
public
:
24799
string
id_
;
24801
object_ptr<location>
location_
;
24803
int32
live_period_
;
24805
string
title_
;
24807
string
thumbnail_url_
;
24809
int32
thumbnail_width_
;
24811
int32
thumbnail_height_
;
24813
object_ptr<ReplyMarkup>
reply_markup_
;
24815
object_ptr<InputMessageContent>
input_message_content_
;
24816
24820
inputInlineQueryResultLocation
();
24821
24835
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_
);
24836
24838
static
const
std::int32_t
ID
= -1887650218;
24839
24845
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24846
};
24847
24851
class
inputInlineQueryResultPhoto
final :
public
InputInlineQueryResult
{
24856
std::int32_t get_id()
const
final
{
24857
return
ID
;
24858
}
24859
24860
public
:
24862
string
id_
;
24864
string
title_
;
24866
string
description_
;
24868
string
thumbnail_url_
;
24870
string
photo_url_
;
24872
int32
photo_width_
;
24874
int32
photo_height_
;
24876
object_ptr<ReplyMarkup>
reply_markup_
;
24878
object_ptr<InputMessageContent>
input_message_content_
;
24879
24883
inputInlineQueryResultPhoto
();
24884
24898
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_
);
24899
24901
static
const
std::int32_t
ID
= -1123338721;
24902
24908
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24909
};
24910
24914
class
inputInlineQueryResultSticker
final :
public
InputInlineQueryResult
{
24919
std::int32_t get_id()
const
final
{
24920
return
ID
;
24921
}
24922
24923
public
:
24925
string
id_
;
24927
string
thumbnail_url_
;
24929
string
sticker_url_
;
24931
int32
sticker_width_
;
24933
int32
sticker_height_
;
24935
object_ptr<ReplyMarkup>
reply_markup_
;
24937
object_ptr<InputMessageContent>
input_message_content_
;
24938
24942
inputInlineQueryResultSticker
();
24943
24955
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_
);
24956
24958
static
const
std::int32_t
ID
= 274007129;
24959
24965
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
24966
};
24967
24971
class
inputInlineQueryResultVenue
final :
public
InputInlineQueryResult
{
24976
std::int32_t get_id()
const
final
{
24977
return
ID
;
24978
}
24979
24980
public
:
24982
string
id_
;
24984
object_ptr<venue>
venue_
;
24986
string
thumbnail_url_
;
24988
int32
thumbnail_width_
;
24990
int32
thumbnail_height_
;
24992
object_ptr<ReplyMarkup>
reply_markup_
;
24994
object_ptr<InputMessageContent>
input_message_content_
;
24995
24999
inputInlineQueryResultVenue
();
25000
25012
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_
);
25013
25015
static
const
std::int32_t
ID
= 541704509;
25016
25022
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25023
};
25024
25028
class
inputInlineQueryResultVideo
final :
public
InputInlineQueryResult
{
25033
std::int32_t get_id()
const
final
{
25034
return
ID
;
25035
}
25036
25037
public
:
25039
string
id_
;
25041
string
title_
;
25043
string
description_
;
25045
string
thumbnail_url_
;
25047
string
video_url_
;
25049
string
mime_type_
;
25051
int32
video_width_
;
25053
int32
video_height_
;
25055
int32
video_duration_
;
25057
object_ptr<ReplyMarkup>
reply_markup_
;
25059
object_ptr<InputMessageContent>
input_message_content_
;
25060
25064
inputInlineQueryResultVideo
();
25065
25081
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_
);
25082
25084
static
const
std::int32_t
ID
= 1724073191;
25085
25091
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25092
};
25093
25097
class
inputInlineQueryResultVoiceNote
final :
public
InputInlineQueryResult
{
25102
std::int32_t get_id()
const
final
{
25103
return
ID
;
25104
}
25105
25106
public
:
25108
string
id_
;
25110
string
title_
;
25112
string
voice_note_url_
;
25114
int32
voice_note_duration_
;
25116
object_ptr<ReplyMarkup>
reply_markup_
;
25118
object_ptr<InputMessageContent>
input_message_content_
;
25119
25123
inputInlineQueryResultVoiceNote
();
25124
25135
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_
);
25136
25138
static
const
std::int32_t
ID
= -1790072503;
25139
25145
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25146
};
25147
25148
class
TelegramPaymentPurpose
;
25149
25154
class
InputInvoice
:
public
Object
{
25155
public
:
25156
};
25157
25161
class
inputInvoiceMessage
final :
public
InputInvoice
{
25166
std::int32_t get_id()
const
final
{
25167
return
ID
;
25168
}
25169
25170
public
:
25172
int53
chat_id_
;
25174
int53
message_id_
;
25175
25179
inputInvoiceMessage
();
25180
25187
inputInvoiceMessage
(
int53
chat_id_
,
int53
message_id_
);
25188
25190
static
const
std::int32_t
ID
= 1490872848;
25191
25197
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25198
};
25199
25203
class
inputInvoiceName
final :
public
InputInvoice
{
25208
std::int32_t get_id()
const
final
{
25209
return
ID
;
25210
}
25211
25212
public
:
25214
string
name_
;
25215
25219
inputInvoiceName
();
25220
25226
explicit
inputInvoiceName
(
string
const
&
name_
);
25227
25229
static
const
std::int32_t
ID
= -1312155917;
25230
25236
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25237
};
25238
25242
class
inputInvoiceTelegram
final :
public
InputInvoice
{
25247
std::int32_t get_id()
const
final
{
25248
return
ID
;
25249
}
25250
25251
public
:
25253
object_ptr<TelegramPaymentPurpose>
purpose_
;
25254
25258
inputInvoiceTelegram
();
25259
25265
explicit
inputInvoiceTelegram
(
object_ptr<TelegramPaymentPurpose>
&&
purpose_
);
25266
25268
static
const
std::int32_t
ID
= -1762853139;
25269
25275
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25276
};
25277
25278
class
InputFile
;
25279
25280
class
MessageSelfDestructType
;
25281
25282
class
PollType
;
25283
25284
class
contact
;
25285
25286
class
formattedText
;
25287
25288
class
inputPaidMedia
;
25289
25290
class
inputThumbnail
;
25291
25292
class
invoice
;
25293
25294
class
linkPreviewOptions
;
25295
25296
class
location
;
25297
25298
class
messageCopyOptions
;
25299
25300
class
venue
;
25301
25306
class
InputMessageContent
:
public
Object
{
25307
public
:
25308
};
25309
25313
class
inputMessageText
final :
public
InputMessageContent
{
25318
std::int32_t get_id()
const
final
{
25319
return
ID
;
25320
}
25321
25322
public
:
25324
object_ptr<formattedText>
text_
;
25326
object_ptr<linkPreviewOptions>
link_preview_options_
;
25328
bool
clear_draft_
;
25329
25333
inputMessageText
();
25334
25342
inputMessageText
(
object_ptr<formattedText>
&&
text_
,
object_ptr<linkPreviewOptions>
&&
link_preview_options_
,
bool
clear_draft_
);
25343
25345
static
const
std::int32_t
ID
= -212805484;
25346
25352
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25353
};
25354
25358
class
inputMessageAnimation
final :
public
InputMessageContent
{
25363
std::int32_t get_id()
const
final
{
25364
return
ID
;
25365
}
25366
25367
public
:
25369
object_ptr<InputFile>
animation_
;
25371
object_ptr<inputThumbnail>
thumbnail_
;
25373
array<int32>
added_sticker_file_ids_
;
25375
int32
duration_
;
25377
int32
width_
;
25379
int32
height_
;
25381
object_ptr<formattedText>
caption_
;
25383
bool
show_caption_above_media_
;
25385
bool
has_spoiler_
;
25386
25390
inputMessageAnimation
();
25391
25405
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_
);
25406
25408
static
const
std::int32_t
ID
= -210404059;
25409
25415
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25416
};
25417
25421
class
inputMessageAudio
final :
public
InputMessageContent
{
25426
std::int32_t get_id()
const
final
{
25427
return
ID
;
25428
}
25429
25430
public
:
25432
object_ptr<InputFile>
audio_
;
25434
object_ptr<inputThumbnail>
album_cover_thumbnail_
;
25436
int32
duration_
;
25438
string
title_
;
25440
string
performer_
;
25442
object_ptr<formattedText>
caption_
;
25443
25447
inputMessageAudio
();
25448
25459
inputMessageAudio
(
object_ptr<InputFile>
&&
audio_
,
object_ptr<inputThumbnail>
&&
album_cover_thumbnail_
,
int32
duration_
,
string
const
&
title_
,
string
const
&
performer_
,
object_ptr<formattedText>
&&
caption_
);
25460
25462
static
const
std::int32_t
ID
= -626786126;
25463
25469
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25470
};
25471
25475
class
inputMessageDocument
final :
public
InputMessageContent
{
25480
std::int32_t get_id()
const
final
{
25481
return
ID
;
25482
}
25483
25484
public
:
25486
object_ptr<InputFile>
document_
;
25488
object_ptr<inputThumbnail>
thumbnail_
;
25490
bool
disable_content_type_detection_
;
25492
object_ptr<formattedText>
caption_
;
25493
25497
inputMessageDocument
();
25498
25507
inputMessageDocument
(
object_ptr<InputFile>
&&
document_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
bool
disable_content_type_detection_
,
object_ptr<formattedText>
&&
caption_
);
25508
25510
static
const
std::int32_t
ID
= 1633383097;
25511
25517
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25518
};
25519
25523
class
inputMessagePaidMedia
final :
public
InputMessageContent
{
25528
std::int32_t get_id()
const
final
{
25529
return
ID
;
25530
}
25531
25532
public
:
25534
int53
star_count_
;
25536
array<object_ptr<inputPaidMedia>
>
paid_media_
;
25538
object_ptr<formattedText>
caption_
;
25540
bool
show_caption_above_media_
;
25542
string
payload_
;
25543
25547
inputMessagePaidMedia
();
25548
25558
inputMessagePaidMedia
(
int53
star_count_
,
array
<
object_ptr<inputPaidMedia>
> &&
paid_media_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
string
const
&
payload_
);
25559
25561
static
const
std::int32_t
ID
= -1274819374;
25562
25568
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25569
};
25570
25574
class
inputMessagePhoto
final :
public
InputMessageContent
{
25579
std::int32_t get_id()
const
final
{
25580
return
ID
;
25581
}
25582
25583
public
:
25585
object_ptr<InputFile>
photo_
;
25587
object_ptr<inputThumbnail>
thumbnail_
;
25589
array<int32>
added_sticker_file_ids_
;
25591
int32
width_
;
25593
int32
height_
;
25595
object_ptr<formattedText>
caption_
;
25597
bool
show_caption_above_media_
;
25599
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
25601
bool
has_spoiler_
;
25602
25606
inputMessagePhoto
();
25607
25621
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_
);
25622
25624
static
const
std::int32_t
ID
= -810129442;
25625
25631
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25632
};
25633
25637
class
inputMessageSticker
final :
public
InputMessageContent
{
25642
std::int32_t get_id()
const
final
{
25643
return
ID
;
25644
}
25645
25646
public
:
25648
object_ptr<InputFile>
sticker_
;
25650
object_ptr<inputThumbnail>
thumbnail_
;
25652
int32
width_
;
25654
int32
height_
;
25656
string
emoji_
;
25657
25661
inputMessageSticker
();
25662
25672
inputMessageSticker
(
object_ptr<InputFile>
&&
sticker_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
int32
width_
,
int32
height_
,
string
const
&
emoji_
);
25673
25675
static
const
std::int32_t
ID
= 1072805625;
25676
25682
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25683
};
25684
25688
class
inputMessageVideo
final :
public
InputMessageContent
{
25693
std::int32_t get_id()
const
final
{
25694
return
ID
;
25695
}
25696
25697
public
:
25699
object_ptr<InputFile>
video_
;
25701
object_ptr<inputThumbnail>
thumbnail_
;
25703
object_ptr<InputFile>
cover_
;
25705
int32
start_timestamp_
;
25707
array<int32>
added_sticker_file_ids_
;
25709
int32
duration_
;
25711
int32
width_
;
25713
int32
height_
;
25715
bool
supports_streaming_
;
25717
object_ptr<formattedText>
caption_
;
25719
bool
show_caption_above_media_
;
25721
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
25723
bool
has_spoiler_
;
25724
25728
inputMessageVideo
();
25729
25747
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_
);
25748
25750
static
const
std::int32_t
ID
= -605958271;
25751
25757
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25758
};
25759
25763
class
inputMessageVideoNote
final :
public
InputMessageContent
{
25768
std::int32_t get_id()
const
final
{
25769
return
ID
;
25770
}
25771
25772
public
:
25774
object_ptr<InputFile>
video_note_
;
25776
object_ptr<inputThumbnail>
thumbnail_
;
25778
int32
duration_
;
25780
int32
length_
;
25782
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
25783
25787
inputMessageVideoNote
();
25788
25798
inputMessageVideoNote
(
object_ptr<InputFile>
&&
video_note_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
int32
duration_
,
int32
length_
,
object_ptr<MessageSelfDestructType>
&&
self_destruct_type_
);
25799
25801
static
const
std::int32_t
ID
= -714598691;
25802
25808
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25809
};
25810
25814
class
inputMessageVoiceNote
final :
public
InputMessageContent
{
25819
std::int32_t get_id()
const
final
{
25820
return
ID
;
25821
}
25822
25823
public
:
25825
object_ptr<InputFile>
voice_note_
;
25827
int32
duration_
;
25829
bytes
waveform_
;
25831
object_ptr<formattedText>
caption_
;
25833
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
25834
25838
inputMessageVoiceNote
();
25839
25849
inputMessageVoiceNote
(
object_ptr<InputFile>
&&
voice_note_
,
int32
duration_
,
bytes
const
&
waveform_
,
object_ptr<formattedText>
&&
caption_
,
object_ptr<MessageSelfDestructType>
&&
self_destruct_type_
);
25850
25852
static
const
std::int32_t
ID
= 1461977004;
25853
25859
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25860
};
25861
25865
class
inputMessageLocation
final :
public
InputMessageContent
{
25870
std::int32_t get_id()
const
final
{
25871
return
ID
;
25872
}
25873
25874
public
:
25876
object_ptr<location>
location_
;
25878
int32
live_period_
;
25880
int32
heading_
;
25882
int32
proximity_alert_radius_
;
25883
25887
inputMessageLocation
();
25888
25897
inputMessageLocation
(
object_ptr<location>
&&
location_
,
int32
live_period_
,
int32
heading_
,
int32
proximity_alert_radius_
);
25898
25900
static
const
std::int32_t
ID
= 648735088;
25901
25907
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25908
};
25909
25913
class
inputMessageVenue
final :
public
InputMessageContent
{
25918
std::int32_t get_id()
const
final
{
25919
return
ID
;
25920
}
25921
25922
public
:
25924
object_ptr<venue>
venue_
;
25925
25929
inputMessageVenue
();
25930
25936
explicit
inputMessageVenue
(
object_ptr<venue>
&&
venue_
);
25937
25939
static
const
std::int32_t
ID
= 1447926269;
25940
25946
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25947
};
25948
25952
class
inputMessageContact
final :
public
InputMessageContent
{
25957
std::int32_t get_id()
const
final
{
25958
return
ID
;
25959
}
25960
25961
public
:
25963
object_ptr<contact>
contact_
;
25964
25968
inputMessageContact
();
25969
25975
explicit
inputMessageContact
(
object_ptr<contact>
&&
contact_
);
25976
25978
static
const
std::int32_t
ID
= -982446849;
25979
25985
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
25986
};
25987
25991
class
inputMessageDice
final :
public
InputMessageContent
{
25996
std::int32_t get_id()
const
final
{
25997
return
ID
;
25998
}
25999
26000
public
:
26002
string
emoji_
;
26004
bool
clear_draft_
;
26005
26009
inputMessageDice
();
26010
26017
inputMessageDice
(
string
const
&
emoji_
,
bool
clear_draft_
);
26018
26020
static
const
std::int32_t
ID
= 841574313;
26021
26027
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26028
};
26029
26033
class
inputMessageGame
final :
public
InputMessageContent
{
26038
std::int32_t get_id()
const
final
{
26039
return
ID
;
26040
}
26041
26042
public
:
26044
int53
bot_user_id_
;
26046
string
game_short_name_
;
26047
26051
inputMessageGame
();
26052
26059
inputMessageGame
(
int53
bot_user_id_
,
string
const
&
game_short_name_
);
26060
26062
static
const
std::int32_t
ID
= 1252944610;
26063
26069
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26070
};
26071
26075
class
inputMessageInvoice
final :
public
InputMessageContent
{
26080
std::int32_t get_id()
const
final
{
26081
return
ID
;
26082
}
26083
26084
public
:
26086
object_ptr<invoice>
invoice_
;
26088
string
title_
;
26090
string
description_
;
26092
string
photo_url_
;
26094
int32
photo_size_
;
26096
int32
photo_width_
;
26098
int32
photo_height_
;
26100
bytes
payload_
;
26102
string
provider_token_
;
26104
string
provider_data_
;
26106
string
start_parameter_
;
26108
object_ptr<inputPaidMedia>
paid_media_
;
26110
object_ptr<formattedText>
paid_media_caption_
;
26111
26115
inputMessageInvoice
();
26116
26134
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_
);
26135
26137
static
const
std::int32_t
ID
= -1162047631;
26138
26144
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26145
};
26146
26150
class
inputMessagePoll
final :
public
InputMessageContent
{
26155
std::int32_t get_id()
const
final
{
26156
return
ID
;
26157
}
26158
26159
public
:
26161
object_ptr<formattedText>
question_
;
26163
array<object_ptr<formattedText>
>
options_
;
26165
bool
is_anonymous_
;
26167
object_ptr<PollType>
type_
;
26169
int32
open_period_
;
26171
int32
close_date_
;
26173
bool
is_closed_
;
26174
26178
inputMessagePoll
();
26179
26191
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_
);
26192
26194
static
const
std::int32_t
ID
= -263337164;
26195
26201
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26202
};
26203
26207
class
inputMessageStory
final :
public
InputMessageContent
{
26212
std::int32_t get_id()
const
final
{
26213
return
ID
;
26214
}
26215
26216
public
:
26218
int53
story_poster_chat_id_
;
26220
int32
story_id_
;
26221
26225
inputMessageStory
();
26226
26233
inputMessageStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
26234
26236
static
const
std::int32_t
ID
= -370732053;
26237
26243
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26244
};
26245
26249
class
inputMessageForwarded
final :
public
InputMessageContent
{
26254
std::int32_t get_id()
const
final
{
26255
return
ID
;
26256
}
26257
26258
public
:
26260
int53
from_chat_id_
;
26262
int53
message_id_
;
26264
bool
in_game_share_
;
26266
bool
replace_video_start_timestamp_
;
26268
int32
new_video_start_timestamp_
;
26270
object_ptr<messageCopyOptions>
copy_options_
;
26271
26275
inputMessageForwarded
();
26276
26287
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_
);
26288
26290
static
const
std::int32_t
ID
= -1076506316;
26291
26297
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26298
};
26299
26300
class
inputTextQuote
;
26301
26306
class
InputMessageReplyTo
:
public
Object
{
26307
public
:
26308
};
26309
26313
class
inputMessageReplyToMessage
final :
public
InputMessageReplyTo
{
26318
std::int32_t get_id()
const
final
{
26319
return
ID
;
26320
}
26321
26322
public
:
26324
int53
message_id_
;
26326
object_ptr<inputTextQuote>
quote_
;
26327
26331
inputMessageReplyToMessage
();
26332
26339
inputMessageReplyToMessage
(
int53
message_id_
,
object_ptr<inputTextQuote>
&&
quote_
);
26340
26342
static
const
std::int32_t
ID
= -1033987837;
26343
26349
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26350
};
26351
26355
class
inputMessageReplyToExternalMessage
final :
public
InputMessageReplyTo
{
26360
std::int32_t get_id()
const
final
{
26361
return
ID
;
26362
}
26363
26364
public
:
26366
int53
chat_id_
;
26368
int53
message_id_
;
26370
object_ptr<inputTextQuote>
quote_
;
26371
26375
inputMessageReplyToExternalMessage
();
26376
26384
inputMessageReplyToExternalMessage
(
int53
chat_id_
,
int53
message_id_
,
object_ptr<inputTextQuote>
&&
quote_
);
26385
26387
static
const
std::int32_t
ID
= -1993530582;
26388
26394
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26395
};
26396
26400
class
inputMessageReplyToStory
final :
public
InputMessageReplyTo
{
26405
std::int32_t get_id()
const
final
{
26406
return
ID
;
26407
}
26408
26409
public
:
26411
int53
story_poster_chat_id_
;
26413
int32
story_id_
;
26414
26418
inputMessageReplyToStory
();
26419
26426
inputMessageReplyToStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
26427
26429
static
const
std::int32_t
ID
= -1723842320;
26430
26436
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26437
};
26438
26439
class
InputFile
;
26440
26441
class
InputPaidMediaType
;
26442
26443
class
inputThumbnail
;
26444
26448
class
inputPaidMedia
final :
public
Object
{
26453
std::int32_t get_id()
const
final
{
26454
return
ID
;
26455
}
26456
26457
public
:
26459
object_ptr<InputPaidMediaType>
type_
;
26461
object_ptr<InputFile>
media_
;
26463
object_ptr<inputThumbnail>
thumbnail_
;
26465
array<int32>
added_sticker_file_ids_
;
26467
int32
width_
;
26469
int32
height_
;
26470
26474
inputPaidMedia
();
26475
26486
inputPaidMedia
(
object_ptr<InputPaidMediaType>
&&
type_
,
object_ptr<InputFile>
&&
media_
,
object_ptr<inputThumbnail>
&&
thumbnail_
,
array<int32>
&&
added_sticker_file_ids_
,
int32
width_
,
int32
height_
);
26487
26489
static
const
std::int32_t
ID
= 475844035;
26490
26496
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26497
};
26498
26499
class
InputFile
;
26500
26505
class
InputPaidMediaType
:
public
Object
{
26506
public
:
26507
};
26508
26512
class
inputPaidMediaTypePhoto
final :
public
InputPaidMediaType
{
26517
std::int32_t get_id()
const
final
{
26518
return
ID
;
26519
}
26520
26521
public
:
26522
26526
inputPaidMediaTypePhoto
();
26527
26529
static
const
std::int32_t
ID
= -761660134;
26530
26536
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26537
};
26538
26542
class
inputPaidMediaTypeVideo
final :
public
InputPaidMediaType
{
26547
std::int32_t get_id()
const
final
{
26548
return
ID
;
26549
}
26550
26551
public
:
26553
object_ptr<InputFile>
cover_
;
26555
int32
start_timestamp_
;
26557
int32
duration_
;
26559
bool
supports_streaming_
;
26560
26564
inputPaidMediaTypeVideo
();
26565
26574
inputPaidMediaTypeVideo
(
object_ptr<InputFile>
&&
cover_
,
int32
start_timestamp_
,
int32
duration_
,
bool
supports_streaming_
);
26575
26577
static
const
std::int32_t
ID
= 1793741625;
26578
26584
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26585
};
26586
26587
class
address
;
26588
26589
class
inputIdentityDocument
;
26590
26591
class
inputPersonalDocument
;
26592
26593
class
personalDetails
;
26594
26599
class
InputPassportElement
:
public
Object
{
26600
public
:
26601
};
26602
26606
class
inputPassportElementPersonalDetails
final :
public
InputPassportElement
{
26611
std::int32_t get_id()
const
final
{
26612
return
ID
;
26613
}
26614
26615
public
:
26617
object_ptr<personalDetails>
personal_details_
;
26618
26622
inputPassportElementPersonalDetails
();
26623
26629
explicit
inputPassportElementPersonalDetails
(
object_ptr<personalDetails>
&&
personal_details_
);
26630
26632
static
const
std::int32_t
ID
= 164791359;
26633
26639
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26640
};
26641
26645
class
inputPassportElementPassport
final :
public
InputPassportElement
{
26650
std::int32_t get_id()
const
final
{
26651
return
ID
;
26652
}
26653
26654
public
:
26656
object_ptr<inputIdentityDocument>
passport_
;
26657
26661
inputPassportElementPassport
();
26662
26668
explicit
inputPassportElementPassport
(
object_ptr<inputIdentityDocument>
&&
passport_
);
26669
26671
static
const
std::int32_t
ID
= -497011356;
26672
26678
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26679
};
26680
26684
class
inputPassportElementDriverLicense
final :
public
InputPassportElement
{
26689
std::int32_t get_id()
const
final
{
26690
return
ID
;
26691
}
26692
26693
public
:
26695
object_ptr<inputIdentityDocument>
driver_license_
;
26696
26700
inputPassportElementDriverLicense
();
26701
26707
explicit
inputPassportElementDriverLicense
(
object_ptr<inputIdentityDocument>
&&
driver_license_
);
26708
26710
static
const
std::int32_t
ID
= 304813264;
26711
26717
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26718
};
26719
26723
class
inputPassportElementIdentityCard
final :
public
InputPassportElement
{
26728
std::int32_t get_id()
const
final
{
26729
return
ID
;
26730
}
26731
26732
public
:
26734
object_ptr<inputIdentityDocument>
identity_card_
;
26735
26739
inputPassportElementIdentityCard
();
26740
26746
explicit
inputPassportElementIdentityCard
(
object_ptr<inputIdentityDocument>
&&
identity_card_
);
26747
26749
static
const
std::int32_t
ID
= -9963390;
26750
26756
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26757
};
26758
26762
class
inputPassportElementInternalPassport
final :
public
InputPassportElement
{
26767
std::int32_t get_id()
const
final
{
26768
return
ID
;
26769
}
26770
26771
public
:
26773
object_ptr<inputIdentityDocument>
internal_passport_
;
26774
26778
inputPassportElementInternalPassport
();
26779
26785
explicit
inputPassportElementInternalPassport
(
object_ptr<inputIdentityDocument>
&&
internal_passport_
);
26786
26788
static
const
std::int32_t
ID
= 715360043;
26789
26795
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26796
};
26797
26801
class
inputPassportElementAddress
final :
public
InputPassportElement
{
26806
std::int32_t get_id()
const
final
{
26807
return
ID
;
26808
}
26809
26810
public
:
26812
object_ptr<address>
address_
;
26813
26817
inputPassportElementAddress
();
26818
26824
explicit
inputPassportElementAddress
(
object_ptr<address>
&&
address_
);
26825
26827
static
const
std::int32_t
ID
= 461630480;
26828
26834
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26835
};
26836
26840
class
inputPassportElementUtilityBill
final :
public
InputPassportElement
{
26845
std::int32_t get_id()
const
final
{
26846
return
ID
;
26847
}
26848
26849
public
:
26851
object_ptr<inputPersonalDocument>
utility_bill_
;
26852
26856
inputPassportElementUtilityBill
();
26857
26863
explicit
inputPassportElementUtilityBill
(
object_ptr<inputPersonalDocument>
&&
utility_bill_
);
26864
26866
static
const
std::int32_t
ID
= 1389203841;
26867
26873
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26874
};
26875
26879
class
inputPassportElementBankStatement
final :
public
InputPassportElement
{
26884
std::int32_t get_id()
const
final
{
26885
return
ID
;
26886
}
26887
26888
public
:
26890
object_ptr<inputPersonalDocument>
bank_statement_
;
26891
26895
inputPassportElementBankStatement
();
26896
26902
explicit
inputPassportElementBankStatement
(
object_ptr<inputPersonalDocument>
&&
bank_statement_
);
26903
26905
static
const
std::int32_t
ID
= -26585208;
26906
26912
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26913
};
26914
26918
class
inputPassportElementRentalAgreement
final :
public
InputPassportElement
{
26923
std::int32_t get_id()
const
final
{
26924
return
ID
;
26925
}
26926
26927
public
:
26929
object_ptr<inputPersonalDocument>
rental_agreement_
;
26930
26934
inputPassportElementRentalAgreement
();
26935
26941
explicit
inputPassportElementRentalAgreement
(
object_ptr<inputPersonalDocument>
&&
rental_agreement_
);
26942
26944
static
const
std::int32_t
ID
= 1736154155;
26945
26951
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26952
};
26953
26957
class
inputPassportElementPassportRegistration
final :
public
InputPassportElement
{
26962
std::int32_t get_id()
const
final
{
26963
return
ID
;
26964
}
26965
26966
public
:
26968
object_ptr<inputPersonalDocument>
passport_registration_
;
26969
26973
inputPassportElementPassportRegistration
();
26974
26980
explicit
inputPassportElementPassportRegistration
(
object_ptr<inputPersonalDocument>
&&
passport_registration_
);
26981
26983
static
const
std::int32_t
ID
= 1314562128;
26984
26990
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
26991
};
26992
26996
class
inputPassportElementTemporaryRegistration
final :
public
InputPassportElement
{
27001
std::int32_t get_id()
const
final
{
27002
return
ID
;
27003
}
27004
27005
public
:
27007
object_ptr<inputPersonalDocument>
temporary_registration_
;
27008
27012
inputPassportElementTemporaryRegistration
();
27013
27019
explicit
inputPassportElementTemporaryRegistration
(
object_ptr<inputPersonalDocument>
&&
temporary_registration_
);
27020
27022
static
const
std::int32_t
ID
= -1913238047;
27023
27029
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27030
};
27031
27035
class
inputPassportElementPhoneNumber
final :
public
InputPassportElement
{
27040
std::int32_t get_id()
const
final
{
27041
return
ID
;
27042
}
27043
27044
public
:
27046
string
phone_number_
;
27047
27051
inputPassportElementPhoneNumber
();
27052
27058
explicit
inputPassportElementPhoneNumber
(
string
const
&
phone_number_
);
27059
27061
static
const
std::int32_t
ID
= 1319357497;
27062
27068
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27069
};
27070
27074
class
inputPassportElementEmailAddress
final :
public
InputPassportElement
{
27079
std::int32_t get_id()
const
final
{
27080
return
ID
;
27081
}
27082
27083
public
:
27085
string
email_address_
;
27086
27090
inputPassportElementEmailAddress
();
27091
27097
explicit
inputPassportElementEmailAddress
(
string
const
&
email_address_
);
27098
27100
static
const
std::int32_t
ID
= -248605659;
27101
27107
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27108
};
27109
27110
class
InputPassportElementErrorSource
;
27111
27112
class
PassportElementType
;
27113
27117
class
inputPassportElementError
final :
public
Object
{
27122
std::int32_t get_id()
const
final
{
27123
return
ID
;
27124
}
27125
27126
public
:
27128
object_ptr<PassportElementType>
type_
;
27130
string
message_
;
27132
object_ptr<InputPassportElementErrorSource>
source_
;
27133
27137
inputPassportElementError
();
27138
27146
inputPassportElementError
(
object_ptr<PassportElementType>
&&
type_
,
string
const
&
message_
,
object_ptr<InputPassportElementErrorSource>
&&
source_
);
27147
27149
static
const
std::int32_t
ID
= 285756898;
27150
27156
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27157
};
27158
27163
class
InputPassportElementErrorSource
:
public
Object
{
27164
public
:
27165
};
27166
27170
class
inputPassportElementErrorSourceUnspecified
final :
public
InputPassportElementErrorSource
{
27175
std::int32_t get_id()
const
final
{
27176
return
ID
;
27177
}
27178
27179
public
:
27181
bytes
element_hash_
;
27182
27186
inputPassportElementErrorSourceUnspecified
();
27187
27193
explicit
inputPassportElementErrorSourceUnspecified
(
bytes
const
&
element_hash_
);
27194
27196
static
const
std::int32_t
ID
= 267230319;
27197
27203
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27204
};
27205
27209
class
inputPassportElementErrorSourceDataField
final :
public
InputPassportElementErrorSource
{
27214
std::int32_t get_id()
const
final
{
27215
return
ID
;
27216
}
27217
27218
public
:
27220
string
field_name_
;
27222
bytes
data_hash_
;
27223
27227
inputPassportElementErrorSourceDataField
();
27228
27235
inputPassportElementErrorSourceDataField
(
string
const
&
field_name_
,
bytes
const
&
data_hash_
);
27236
27238
static
const
std::int32_t
ID
= -426795002;
27239
27245
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27246
};
27247
27251
class
inputPassportElementErrorSourceFrontSide
final :
public
InputPassportElementErrorSource
{
27256
std::int32_t get_id()
const
final
{
27257
return
ID
;
27258
}
27259
27260
public
:
27262
bytes
file_hash_
;
27263
27267
inputPassportElementErrorSourceFrontSide
();
27268
27274
explicit
inputPassportElementErrorSourceFrontSide
(
bytes
const
&
file_hash_
);
27275
27277
static
const
std::int32_t
ID
= 588023741;
27278
27284
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27285
};
27286
27290
class
inputPassportElementErrorSourceReverseSide
final :
public
InputPassportElementErrorSource
{
27295
std::int32_t get_id()
const
final
{
27296
return
ID
;
27297
}
27298
27299
public
:
27301
bytes
file_hash_
;
27302
27306
inputPassportElementErrorSourceReverseSide
();
27307
27313
explicit
inputPassportElementErrorSourceReverseSide
(
bytes
const
&
file_hash_
);
27314
27316
static
const
std::int32_t
ID
= 413072891;
27317
27323
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27324
};
27325
27329
class
inputPassportElementErrorSourceSelfie
final :
public
InputPassportElementErrorSource
{
27334
std::int32_t get_id()
const
final
{
27335
return
ID
;
27336
}
27337
27338
public
:
27340
bytes
file_hash_
;
27341
27345
inputPassportElementErrorSourceSelfie
();
27346
27352
explicit
inputPassportElementErrorSourceSelfie
(
bytes
const
&
file_hash_
);
27353
27355
static
const
std::int32_t
ID
= -773575528;
27356
27362
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27363
};
27364
27368
class
inputPassportElementErrorSourceTranslationFile
final :
public
InputPassportElementErrorSource
{
27373
std::int32_t get_id()
const
final
{
27374
return
ID
;
27375
}
27376
27377
public
:
27379
bytes
file_hash_
;
27380
27384
inputPassportElementErrorSourceTranslationFile
();
27385
27391
explicit
inputPassportElementErrorSourceTranslationFile
(
bytes
const
&
file_hash_
);
27392
27394
static
const
std::int32_t
ID
= 505842299;
27395
27401
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27402
};
27403
27407
class
inputPassportElementErrorSourceTranslationFiles
final :
public
InputPassportElementErrorSource
{
27412
std::int32_t get_id()
const
final
{
27413
return
ID
;
27414
}
27415
27416
public
:
27418
array<bytes>
file_hashes_
;
27419
27423
inputPassportElementErrorSourceTranslationFiles
();
27424
27430
explicit
inputPassportElementErrorSourceTranslationFiles
(
array<bytes>
&&
file_hashes_
);
27431
27433
static
const
std::int32_t
ID
= -527254048;
27434
27440
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27441
};
27442
27446
class
inputPassportElementErrorSourceFile
final :
public
InputPassportElementErrorSource
{
27451
std::int32_t get_id()
const
final
{
27452
return
ID
;
27453
}
27454
27455
public
:
27457
bytes
file_hash_
;
27458
27462
inputPassportElementErrorSourceFile
();
27463
27469
explicit
inputPassportElementErrorSourceFile
(
bytes
const
&
file_hash_
);
27470
27472
static
const
std::int32_t
ID
= -298492469;
27473
27479
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27480
};
27481
27485
class
inputPassportElementErrorSourceFiles
final :
public
InputPassportElementErrorSource
{
27490
std::int32_t get_id()
const
final
{
27491
return
ID
;
27492
}
27493
27494
public
:
27496
array<bytes>
file_hashes_
;
27497
27501
inputPassportElementErrorSourceFiles
();
27502
27508
explicit
inputPassportElementErrorSourceFiles
(
array<bytes>
&&
file_hashes_
);
27509
27511
static
const
std::int32_t
ID
= -2008541640;
27512
27518
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27519
};
27520
27521
class
InputFile
;
27522
27526
class
inputPersonalDocument
final :
public
Object
{
27531
std::int32_t get_id()
const
final
{
27532
return
ID
;
27533
}
27534
27535
public
:
27537
array<object_ptr<InputFile>
>
files_
;
27539
array<object_ptr<InputFile>
>
translation_
;
27540
27544
inputPersonalDocument
();
27545
27552
inputPersonalDocument
(
array
<
object_ptr<InputFile>
> &&
files_
,
array
<
object_ptr<InputFile>
> &&
translation_
);
27553
27555
static
const
std::int32_t
ID
= 1676966826;
27556
27562
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27563
};
27564
27565
class
InputFile
;
27566
27567
class
StickerFormat
;
27568
27569
class
maskPosition
;
27570
27574
class
inputSticker
final :
public
Object
{
27579
std::int32_t get_id()
const
final
{
27580
return
ID
;
27581
}
27582
27583
public
:
27585
object_ptr<InputFile>
sticker_
;
27587
object_ptr<StickerFormat>
format_
;
27589
string
emojis_
;
27591
object_ptr<maskPosition>
mask_position_
;
27593
array<string>
keywords_
;
27594
27598
inputSticker
();
27599
27609
inputSticker
(
object_ptr<InputFile>
&&
sticker_
,
object_ptr<StickerFormat>
&&
format_
,
string
const
&
emojis_
,
object_ptr<maskPosition>
&&
mask_position_
,
array<string>
&&
keywords_
);
27610
27612
static
const
std::int32_t
ID
= 1589392402;
27613
27619
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27620
};
27621
27622
class
InputStoryAreaType
;
27623
27624
class
storyAreaPosition
;
27625
27629
class
inputStoryArea
final :
public
Object
{
27634
std::int32_t get_id()
const
final
{
27635
return
ID
;
27636
}
27637
27638
public
:
27640
object_ptr<storyAreaPosition>
position_
;
27642
object_ptr<InputStoryAreaType>
type_
;
27643
27647
inputStoryArea
();
27648
27655
inputStoryArea
(
object_ptr<storyAreaPosition>
&&
position_
,
object_ptr<InputStoryAreaType>
&&
type_
);
27656
27658
static
const
std::int32_t
ID
= 122859135;
27659
27665
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27666
};
27667
27668
class
ReactionType
;
27669
27670
class
location
;
27671
27672
class
locationAddress
;
27673
27678
class
InputStoryAreaType
:
public
Object
{
27679
public
:
27680
};
27681
27685
class
inputStoryAreaTypeLocation
final :
public
InputStoryAreaType
{
27690
std::int32_t get_id()
const
final
{
27691
return
ID
;
27692
}
27693
27694
public
:
27696
object_ptr<location>
location_
;
27698
object_ptr<locationAddress>
address_
;
27699
27703
inputStoryAreaTypeLocation
();
27704
27711
inputStoryAreaTypeLocation
(
object_ptr<location>
&&
location_
,
object_ptr<locationAddress>
&&
address_
);
27712
27714
static
const
std::int32_t
ID
= -1433714887;
27715
27721
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27722
};
27723
27727
class
inputStoryAreaTypeFoundVenue
final :
public
InputStoryAreaType
{
27732
std::int32_t get_id()
const
final
{
27733
return
ID
;
27734
}
27735
27736
public
:
27738
int64
query_id_
;
27740
string
result_id_
;
27741
27745
inputStoryAreaTypeFoundVenue
();
27746
27753
inputStoryAreaTypeFoundVenue
(
int64
query_id_
,
string
const
&
result_id_
);
27754
27756
static
const
std::int32_t
ID
= -1395809130;
27757
27763
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27764
};
27765
27769
class
inputStoryAreaTypePreviousVenue
final :
public
InputStoryAreaType
{
27774
std::int32_t get_id()
const
final
{
27775
return
ID
;
27776
}
27777
27778
public
:
27780
string
venue_provider_
;
27782
string
venue_id_
;
27783
27787
inputStoryAreaTypePreviousVenue
();
27788
27795
inputStoryAreaTypePreviousVenue
(
string
const
&
venue_provider_
,
string
const
&
venue_id_
);
27796
27798
static
const
std::int32_t
ID
= 1846693388;
27799
27805
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27806
};
27807
27811
class
inputStoryAreaTypeSuggestedReaction
final :
public
InputStoryAreaType
{
27816
std::int32_t get_id()
const
final
{
27817
return
ID
;
27818
}
27819
27820
public
:
27822
object_ptr<ReactionType>
reaction_type_
;
27824
bool
is_dark_
;
27826
bool
is_flipped_
;
27827
27831
inputStoryAreaTypeSuggestedReaction
();
27832
27840
inputStoryAreaTypeSuggestedReaction
(
object_ptr<ReactionType>
&&
reaction_type_
,
bool
is_dark_
,
bool
is_flipped_
);
27841
27843
static
const
std::int32_t
ID
= 2101826003;
27844
27850
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27851
};
27852
27856
class
inputStoryAreaTypeMessage
final :
public
InputStoryAreaType
{
27861
std::int32_t get_id()
const
final
{
27862
return
ID
;
27863
}
27864
27865
public
:
27867
int53
chat_id_
;
27869
int53
message_id_
;
27870
27874
inputStoryAreaTypeMessage
();
27875
27882
inputStoryAreaTypeMessage
(
int53
chat_id_
,
int53
message_id_
);
27883
27885
static
const
std::int32_t
ID
= -266607529;
27886
27892
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27893
};
27894
27898
class
inputStoryAreaTypeLink
final :
public
InputStoryAreaType
{
27903
std::int32_t get_id()
const
final
{
27904
return
ID
;
27905
}
27906
27907
public
:
27909
string
url_
;
27910
27914
inputStoryAreaTypeLink
();
27915
27921
explicit
inputStoryAreaTypeLink
(
string
const
&
url_
);
27922
27924
static
const
std::int32_t
ID
= 1408441160;
27925
27931
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27932
};
27933
27937
class
inputStoryAreaTypeWeather
final :
public
InputStoryAreaType
{
27942
std::int32_t get_id()
const
final
{
27943
return
ID
;
27944
}
27945
27946
public
:
27948
double
temperature_
;
27950
string
emoji_
;
27952
int32
background_color_
;
27953
27957
inputStoryAreaTypeWeather
();
27958
27966
inputStoryAreaTypeWeather
(
double
temperature_
,
string
const
&
emoji_
,
int32
background_color_
);
27967
27969
static
const
std::int32_t
ID
= -1212686691;
27970
27976
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
27977
};
27978
27982
class
inputStoryAreaTypeUpgradedGift
final :
public
InputStoryAreaType
{
27987
std::int32_t get_id()
const
final
{
27988
return
ID
;
27989
}
27990
27991
public
:
27993
string
gift_name_
;
27994
27998
inputStoryAreaTypeUpgradedGift
();
27999
28005
explicit
inputStoryAreaTypeUpgradedGift
(
string
const
&
gift_name_
);
28006
28008
static
const
std::int32_t
ID
= 793059694;
28009
28015
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28016
};
28017
28018
class
inputStoryArea
;
28019
28023
class
inputStoryAreas
final :
public
Object
{
28028
std::int32_t get_id()
const
final
{
28029
return
ID
;
28030
}
28031
28032
public
:
28034
array<object_ptr<inputStoryArea>
>
areas_
;
28035
28039
inputStoryAreas
();
28040
28046
explicit
inputStoryAreas
(
array
<
object_ptr<inputStoryArea>
> &&
areas_
);
28047
28049
static
const
std::int32_t
ID
= -883247088;
28050
28056
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28057
};
28058
28059
class
InputFile
;
28060
28065
class
InputStoryContent
:
public
Object
{
28066
public
:
28067
};
28068
28072
class
inputStoryContentPhoto
final :
public
InputStoryContent
{
28077
std::int32_t get_id()
const
final
{
28078
return
ID
;
28079
}
28080
28081
public
:
28083
object_ptr<InputFile>
photo_
;
28085
array<int32>
added_sticker_file_ids_
;
28086
28090
inputStoryContentPhoto
();
28091
28098
inputStoryContentPhoto
(
object_ptr<InputFile>
&&
photo_
,
array<int32>
&&
added_sticker_file_ids_
);
28099
28101
static
const
std::int32_t
ID
= -309196727;
28102
28108
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28109
};
28110
28114
class
inputStoryContentVideo
final :
public
InputStoryContent
{
28119
std::int32_t get_id()
const
final
{
28120
return
ID
;
28121
}
28122
28123
public
:
28125
object_ptr<InputFile>
video_
;
28127
array<int32>
added_sticker_file_ids_
;
28129
double
duration_
;
28131
double
cover_frame_timestamp_
;
28133
bool
is_animation_
;
28134
28138
inputStoryContentVideo
();
28139
28149
inputStoryContentVideo
(
object_ptr<InputFile>
&&
video_
,
array<int32>
&&
added_sticker_file_ids_
,
double
duration_
,
double
cover_frame_timestamp_
,
bool
is_animation_
);
28150
28152
static
const
std::int32_t
ID
= 3809243;
28153
28159
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28160
};
28161
28162
class
formattedText
;
28163
28167
class
inputTextQuote
final :
public
Object
{
28172
std::int32_t get_id()
const
final
{
28173
return
ID
;
28174
}
28175
28176
public
:
28178
object_ptr<formattedText>
text_
;
28180
int32
position_
;
28181
28185
inputTextQuote
();
28186
28193
inputTextQuote
(
object_ptr<formattedText>
&&
text_
,
int32
position_
);
28194
28196
static
const
std::int32_t
ID
= -1219859172;
28197
28203
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28204
};
28205
28206
class
InputFile
;
28207
28211
class
inputThumbnail
final :
public
Object
{
28216
std::int32_t get_id()
const
final
{
28217
return
ID
;
28218
}
28219
28220
public
:
28222
object_ptr<InputFile>
thumbnail_
;
28224
int32
width_
;
28226
int32
height_
;
28227
28231
inputThumbnail
();
28232
28240
inputThumbnail
(
object_ptr<InputFile>
&&
thumbnail_
,
int32
width_
,
int32
height_
);
28241
28243
static
const
std::int32_t
ID
= 1582387236;
28244
28250
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28251
};
28252
28253
class
ProxyType
;
28254
28255
class
TargetChat
;
28256
28257
class
WebAppOpenMode
;
28258
28259
class
chatAdministratorRights
;
28260
28261
class
formattedText
;
28262
28267
class
InternalLinkType
:
public
Object
{
28268
public
:
28269
};
28270
28274
class
internalLinkTypeActiveSessions
final :
public
InternalLinkType
{
28279
std::int32_t get_id()
const
final
{
28280
return
ID
;
28281
}
28282
28283
public
:
28284
28288
internalLinkTypeActiveSessions
();
28289
28291
static
const
std::int32_t
ID
= 1886108589;
28292
28298
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28299
};
28300
28304
class
internalLinkTypeAttachmentMenuBot
final :
public
InternalLinkType
{
28309
std::int32_t get_id()
const
final
{
28310
return
ID
;
28311
}
28312
28313
public
:
28315
object_ptr<TargetChat>
target_chat_
;
28317
string
bot_username_
;
28319
string
url_
;
28320
28324
internalLinkTypeAttachmentMenuBot
();
28325
28333
internalLinkTypeAttachmentMenuBot
(
object_ptr<TargetChat>
&&
target_chat_
,
string
const
&
bot_username_
,
string
const
&
url_
);
28334
28336
static
const
std::int32_t
ID
= 1682719269;
28337
28343
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28344
};
28345
28349
class
internalLinkTypeAuthenticationCode
final :
public
InternalLinkType
{
28354
std::int32_t get_id()
const
final
{
28355
return
ID
;
28356
}
28357
28358
public
:
28360
string
code_
;
28361
28365
internalLinkTypeAuthenticationCode
();
28366
28372
explicit
internalLinkTypeAuthenticationCode
(
string
const
&
code_
);
28373
28375
static
const
std::int32_t
ID
= -209235982;
28376
28382
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28383
};
28384
28388
class
internalLinkTypeBackground
final :
public
InternalLinkType
{
28393
std::int32_t get_id()
const
final
{
28394
return
ID
;
28395
}
28396
28397
public
:
28399
string
background_name_
;
28400
28404
internalLinkTypeBackground
();
28405
28411
explicit
internalLinkTypeBackground
(
string
const
&
background_name_
);
28412
28414
static
const
std::int32_t
ID
= 185411848;
28415
28421
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28422
};
28423
28427
class
internalLinkTypeBotAddToChannel
final :
public
InternalLinkType
{
28432
std::int32_t get_id()
const
final
{
28433
return
ID
;
28434
}
28435
28436
public
:
28438
string
bot_username_
;
28440
object_ptr<chatAdministratorRights>
administrator_rights_
;
28441
28445
internalLinkTypeBotAddToChannel
();
28446
28453
internalLinkTypeBotAddToChannel
(
string
const
&
bot_username_
,
object_ptr<chatAdministratorRights>
&&
administrator_rights_
);
28454
28456
static
const
std::int32_t
ID
= 1401602752;
28457
28463
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28464
};
28465
28469
class
internalLinkTypeBotStart
final :
public
InternalLinkType
{
28474
std::int32_t get_id()
const
final
{
28475
return
ID
;
28476
}
28477
28478
public
:
28480
string
bot_username_
;
28482
string
start_parameter_
;
28484
bool
autostart_
;
28485
28489
internalLinkTypeBotStart
();
28490
28498
internalLinkTypeBotStart
(
string
const
&
bot_username_
,
string
const
&
start_parameter_
,
bool
autostart_
);
28499
28501
static
const
std::int32_t
ID
= 1066950637;
28502
28508
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28509
};
28510
28514
class
internalLinkTypeBotStartInGroup
final :
public
InternalLinkType
{
28519
std::int32_t get_id()
const
final
{
28520
return
ID
;
28521
}
28522
28523
public
:
28525
string
bot_username_
;
28527
string
start_parameter_
;
28529
object_ptr<chatAdministratorRights>
administrator_rights_
;
28530
28534
internalLinkTypeBotStartInGroup
();
28535
28543
internalLinkTypeBotStartInGroup
(
string
const
&
bot_username_
,
string
const
&
start_parameter_
,
object_ptr<chatAdministratorRights>
&&
administrator_rights_
);
28544
28546
static
const
std::int32_t
ID
= -905081650;
28547
28553
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28554
};
28555
28559
class
internalLinkTypeBusinessChat
final :
public
InternalLinkType
{
28564
std::int32_t get_id()
const
final
{
28565
return
ID
;
28566
}
28567
28568
public
:
28570
string
link_name_
;
28571
28575
internalLinkTypeBusinessChat
();
28576
28582
explicit
internalLinkTypeBusinessChat
(
string
const
&
link_name_
);
28583
28585
static
const
std::int32_t
ID
= -1606751785;
28586
28592
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28593
};
28594
28598
class
internalLinkTypeBuyStars
final :
public
InternalLinkType
{
28603
std::int32_t get_id()
const
final
{
28604
return
ID
;
28605
}
28606
28607
public
:
28609
int53
star_count_
;
28611
string
purpose_
;
28612
28616
internalLinkTypeBuyStars
();
28617
28624
internalLinkTypeBuyStars
(
int53
star_count_
,
string
const
&
purpose_
);
28625
28627
static
const
std::int32_t
ID
= -1454587065;
28628
28634
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28635
};
28636
28640
class
internalLinkTypeChangePhoneNumber
final :
public
InternalLinkType
{
28645
std::int32_t get_id()
const
final
{
28646
return
ID
;
28647
}
28648
28649
public
:
28650
28654
internalLinkTypeChangePhoneNumber
();
28655
28657
static
const
std::int32_t
ID
= -265856255;
28658
28664
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28665
};
28666
28670
class
internalLinkTypeChatAffiliateProgram
final :
public
InternalLinkType
{
28675
std::int32_t get_id()
const
final
{
28676
return
ID
;
28677
}
28678
28679
public
:
28681
string
username_
;
28683
string
referrer_
;
28684
28688
internalLinkTypeChatAffiliateProgram
();
28689
28696
internalLinkTypeChatAffiliateProgram
(
string
const
&
username_
,
string
const
&
referrer_
);
28697
28699
static
const
std::int32_t
ID
= 632049700;
28700
28706
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28707
};
28708
28712
class
internalLinkTypeChatBoost
final :
public
InternalLinkType
{
28717
std::int32_t get_id()
const
final
{
28718
return
ID
;
28719
}
28720
28721
public
:
28723
string
url_
;
28724
28728
internalLinkTypeChatBoost
();
28729
28735
explicit
internalLinkTypeChatBoost
(
string
const
&
url_
);
28736
28738
static
const
std::int32_t
ID
= -716571328;
28739
28745
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28746
};
28747
28751
class
internalLinkTypeChatFolderInvite
final :
public
InternalLinkType
{
28756
std::int32_t get_id()
const
final
{
28757
return
ID
;
28758
}
28759
28760
public
:
28762
string
invite_link_
;
28763
28767
internalLinkTypeChatFolderInvite
();
28768
28774
explicit
internalLinkTypeChatFolderInvite
(
string
const
&
invite_link_
);
28775
28777
static
const
std::int32_t
ID
= -1984804546;
28778
28784
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28785
};
28786
28790
class
internalLinkTypeChatFolderSettings
final :
public
InternalLinkType
{
28795
std::int32_t get_id()
const
final
{
28796
return
ID
;
28797
}
28798
28799
public
:
28800
28804
internalLinkTypeChatFolderSettings
();
28805
28807
static
const
std::int32_t
ID
= -1073805988;
28808
28814
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28815
};
28816
28820
class
internalLinkTypeChatInvite
final :
public
InternalLinkType
{
28825
std::int32_t get_id()
const
final
{
28826
return
ID
;
28827
}
28828
28829
public
:
28831
string
invite_link_
;
28832
28836
internalLinkTypeChatInvite
();
28837
28843
explicit
internalLinkTypeChatInvite
(
string
const
&
invite_link_
);
28844
28846
static
const
std::int32_t
ID
= 428621017;
28847
28853
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28854
};
28855
28859
class
internalLinkTypeDefaultMessageAutoDeleteTimerSettings
final :
public
InternalLinkType
{
28864
std::int32_t get_id()
const
final
{
28865
return
ID
;
28866
}
28867
28868
public
:
28869
28873
internalLinkTypeDefaultMessageAutoDeleteTimerSettings
();
28874
28876
static
const
std::int32_t
ID
= 732625201;
28877
28883
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28884
};
28885
28889
class
internalLinkTypeEditProfileSettings
final :
public
InternalLinkType
{
28894
std::int32_t get_id()
const
final
{
28895
return
ID
;
28896
}
28897
28898
public
:
28899
28903
internalLinkTypeEditProfileSettings
();
28904
28906
static
const
std::int32_t
ID
= -1022472090;
28907
28913
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28914
};
28915
28919
class
internalLinkTypeGame
final :
public
InternalLinkType
{
28924
std::int32_t get_id()
const
final
{
28925
return
ID
;
28926
}
28927
28928
public
:
28930
string
bot_username_
;
28932
string
game_short_name_
;
28933
28937
internalLinkTypeGame
();
28938
28945
internalLinkTypeGame
(
string
const
&
bot_username_
,
string
const
&
game_short_name_
);
28946
28948
static
const
std::int32_t
ID
= -260788787;
28949
28955
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28956
};
28957
28961
class
internalLinkTypeGroupCall
final :
public
InternalLinkType
{
28966
std::int32_t get_id()
const
final
{
28967
return
ID
;
28968
}
28969
28970
public
:
28972
string
invite_link_
;
28973
28977
internalLinkTypeGroupCall
();
28978
28984
explicit
internalLinkTypeGroupCall
(
string
const
&
invite_link_
);
28985
28987
static
const
std::int32_t
ID
= 1953084438;
28988
28994
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
28995
};
28996
29000
class
internalLinkTypeInstantView
final :
public
InternalLinkType
{
29005
std::int32_t get_id()
const
final
{
29006
return
ID
;
29007
}
29008
29009
public
:
29011
string
url_
;
29013
string
fallback_url_
;
29014
29018
internalLinkTypeInstantView
();
29019
29026
internalLinkTypeInstantView
(
string
const
&
url_
,
string
const
&
fallback_url_
);
29027
29029
static
const
std::int32_t
ID
= 1776607039;
29030
29036
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29037
};
29038
29042
class
internalLinkTypeInvoice
final :
public
InternalLinkType
{
29047
std::int32_t get_id()
const
final
{
29048
return
ID
;
29049
}
29050
29051
public
:
29053
string
invoice_name_
;
29054
29058
internalLinkTypeInvoice
();
29059
29065
explicit
internalLinkTypeInvoice
(
string
const
&
invoice_name_
);
29066
29068
static
const
std::int32_t
ID
= -213094996;
29069
29075
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29076
};
29077
29081
class
internalLinkTypeLanguagePack
final :
public
InternalLinkType
{
29086
std::int32_t get_id()
const
final
{
29087
return
ID
;
29088
}
29089
29090
public
:
29092
string
language_pack_id_
;
29093
29097
internalLinkTypeLanguagePack
();
29098
29104
explicit
internalLinkTypeLanguagePack
(
string
const
&
language_pack_id_
);
29105
29107
static
const
std::int32_t
ID
= -1450766996;
29108
29114
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29115
};
29116
29120
class
internalLinkTypeLanguageSettings
final :
public
InternalLinkType
{
29125
std::int32_t get_id()
const
final
{
29126
return
ID
;
29127
}
29128
29129
public
:
29130
29134
internalLinkTypeLanguageSettings
();
29135
29137
static
const
std::int32_t
ID
= -1340479770;
29138
29144
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29145
};
29146
29150
class
internalLinkTypeMainWebApp
final :
public
InternalLinkType
{
29155
std::int32_t get_id()
const
final
{
29156
return
ID
;
29157
}
29158
29159
public
:
29161
string
bot_username_
;
29163
string
start_parameter_
;
29165
object_ptr<WebAppOpenMode>
mode_
;
29166
29170
internalLinkTypeMainWebApp
();
29171
29179
internalLinkTypeMainWebApp
(
string
const
&
bot_username_
,
string
const
&
start_parameter_
,
object_ptr<WebAppOpenMode>
&&
mode_
);
29180
29182
static
const
std::int32_t
ID
= 1574925033;
29183
29189
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29190
};
29191
29195
class
internalLinkTypeMessage
final :
public
InternalLinkType
{
29200
std::int32_t get_id()
const
final
{
29201
return
ID
;
29202
}
29203
29204
public
:
29206
string
url_
;
29207
29211
internalLinkTypeMessage
();
29212
29218
explicit
internalLinkTypeMessage
(
string
const
&
url_
);
29219
29221
static
const
std::int32_t
ID
= 978541650;
29222
29228
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29229
};
29230
29234
class
internalLinkTypeMessageDraft
final :
public
InternalLinkType
{
29239
std::int32_t get_id()
const
final
{
29240
return
ID
;
29241
}
29242
29243
public
:
29245
object_ptr<formattedText>
text_
;
29247
bool
contains_link_
;
29248
29252
internalLinkTypeMessageDraft
();
29253
29260
internalLinkTypeMessageDraft
(
object_ptr<formattedText>
&&
text_
,
bool
contains_link_
);
29261
29263
static
const
std::int32_t
ID
= 661633749;
29264
29270
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29271
};
29272
29276
class
internalLinkTypeMyStars
final :
public
InternalLinkType
{
29281
std::int32_t get_id()
const
final
{
29282
return
ID
;
29283
}
29284
29285
public
:
29286
29290
internalLinkTypeMyStars
();
29291
29293
static
const
std::int32_t
ID
= 1613887070;
29294
29300
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29301
};
29302
29306
class
internalLinkTypePassportDataRequest
final :
public
InternalLinkType
{
29311
std::int32_t get_id()
const
final
{
29312
return
ID
;
29313
}
29314
29315
public
:
29317
int53
bot_user_id_
;
29319
string
scope_
;
29321
string
public_key_
;
29323
string
nonce_
;
29325
string
callback_url_
;
29326
29330
internalLinkTypePassportDataRequest
();
29331
29341
internalLinkTypePassportDataRequest
(
int53
bot_user_id_
,
string
const
&
scope_
,
string
const
&
public_key_
,
string
const
&
nonce_
,
string
const
&
callback_url_
);
29342
29344
static
const
std::int32_t
ID
= -988819839;
29345
29351
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29352
};
29353
29357
class
internalLinkTypePhoneNumberConfirmation
final :
public
InternalLinkType
{
29362
std::int32_t get_id()
const
final
{
29363
return
ID
;
29364
}
29365
29366
public
:
29368
string
hash_
;
29370
string
phone_number_
;
29371
29375
internalLinkTypePhoneNumberConfirmation
();
29376
29383
internalLinkTypePhoneNumberConfirmation
(
string
const
&
hash_
,
string
const
&
phone_number_
);
29384
29386
static
const
std::int32_t
ID
= 1757375254;
29387
29393
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29394
};
29395
29399
class
internalLinkTypePremiumFeatures
final :
public
InternalLinkType
{
29404
std::int32_t get_id()
const
final
{
29405
return
ID
;
29406
}
29407
29408
public
:
29410
string
referrer_
;
29411
29415
internalLinkTypePremiumFeatures
();
29416
29422
explicit
internalLinkTypePremiumFeatures
(
string
const
&
referrer_
);
29423
29425
static
const
std::int32_t
ID
= 1216892745;
29426
29432
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29433
};
29434
29438
class
internalLinkTypePremiumGift
final :
public
InternalLinkType
{
29443
std::int32_t get_id()
const
final
{
29444
return
ID
;
29445
}
29446
29447
public
:
29449
string
referrer_
;
29450
29454
internalLinkTypePremiumGift
();
29455
29461
explicit
internalLinkTypePremiumGift
(
string
const
&
referrer_
);
29462
29464
static
const
std::int32_t
ID
= 1523936577;
29465
29471
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29472
};
29473
29477
class
internalLinkTypePremiumGiftCode
final :
public
InternalLinkType
{
29482
std::int32_t get_id()
const
final
{
29483
return
ID
;
29484
}
29485
29486
public
:
29488
string
code_
;
29489
29493
internalLinkTypePremiumGiftCode
();
29494
29500
explicit
internalLinkTypePremiumGiftCode
(
string
const
&
code_
);
29501
29503
static
const
std::int32_t
ID
= -564356974;
29504
29510
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29511
};
29512
29516
class
internalLinkTypePrivacyAndSecuritySettings
final :
public
InternalLinkType
{
29521
std::int32_t get_id()
const
final
{
29522
return
ID
;
29523
}
29524
29525
public
:
29526
29530
internalLinkTypePrivacyAndSecuritySettings
();
29531
29533
static
const
std::int32_t
ID
= -1386255665;
29534
29540
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29541
};
29542
29546
class
internalLinkTypeProxy
final :
public
InternalLinkType
{
29551
std::int32_t get_id()
const
final
{
29552
return
ID
;
29553
}
29554
29555
public
:
29557
string
server_
;
29559
int32
port_
;
29561
object_ptr<ProxyType>
type_
;
29562
29566
internalLinkTypeProxy
();
29567
29575
internalLinkTypeProxy
(
string
const
&
server_
,
int32
port_
,
object_ptr<ProxyType>
&&
type_
);
29576
29578
static
const
std::int32_t
ID
= -1313788694;
29579
29585
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29586
};
29587
29591
class
internalLinkTypePublicChat
final :
public
InternalLinkType
{
29596
std::int32_t get_id()
const
final
{
29597
return
ID
;
29598
}
29599
29600
public
:
29602
string
chat_username_
;
29604
string
draft_text_
;
29606
bool
open_profile_
;
29607
29611
internalLinkTypePublicChat
();
29612
29620
internalLinkTypePublicChat
(
string
const
&
chat_username_
,
string
const
&
draft_text_
,
bool
open_profile_
);
29621
29623
static
const
std::int32_t
ID
= 1769614592;
29624
29630
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29631
};
29632
29636
class
internalLinkTypeQrCodeAuthentication
final :
public
InternalLinkType
{
29641
std::int32_t get_id()
const
final
{
29642
return
ID
;
29643
}
29644
29645
public
:
29646
29650
internalLinkTypeQrCodeAuthentication
();
29651
29653
static
const
std::int32_t
ID
= -1089332956;
29654
29660
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29661
};
29662
29666
class
internalLinkTypeRestorePurchases
final :
public
InternalLinkType
{
29671
std::int32_t get_id()
const
final
{
29672
return
ID
;
29673
}
29674
29675
public
:
29676
29680
internalLinkTypeRestorePurchases
();
29681
29683
static
const
std::int32_t
ID
= 606090371;
29684
29690
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29691
};
29692
29696
class
internalLinkTypeSettings
final :
public
InternalLinkType
{
29701
std::int32_t get_id()
const
final
{
29702
return
ID
;
29703
}
29704
29705
public
:
29706
29710
internalLinkTypeSettings
();
29711
29713
static
const
std::int32_t
ID
= 393561524;
29714
29720
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29721
};
29722
29726
class
internalLinkTypeStickerSet
final :
public
InternalLinkType
{
29731
std::int32_t get_id()
const
final
{
29732
return
ID
;
29733
}
29734
29735
public
:
29737
string
sticker_set_name_
;
29739
bool
expect_custom_emoji_
;
29740
29744
internalLinkTypeStickerSet
();
29745
29752
internalLinkTypeStickerSet
(
string
const
&
sticker_set_name_
,
bool
expect_custom_emoji_
);
29753
29755
static
const
std::int32_t
ID
= -1589227614;
29756
29762
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29763
};
29764
29768
class
internalLinkTypeStory
final :
public
InternalLinkType
{
29773
std::int32_t get_id()
const
final
{
29774
return
ID
;
29775
}
29776
29777
public
:
29779
string
story_poster_username_
;
29781
int32
story_id_
;
29782
29786
internalLinkTypeStory
();
29787
29794
internalLinkTypeStory
(
string
const
&
story_poster_username_
,
int32
story_id_
);
29795
29797
static
const
std::int32_t
ID
= 1852042869;
29798
29804
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29805
};
29806
29810
class
internalLinkTypeTheme
final :
public
InternalLinkType
{
29815
std::int32_t get_id()
const
final
{
29816
return
ID
;
29817
}
29818
29819
public
:
29821
string
theme_name_
;
29822
29826
internalLinkTypeTheme
();
29827
29833
explicit
internalLinkTypeTheme
(
string
const
&
theme_name_
);
29834
29836
static
const
std::int32_t
ID
= -200935417;
29837
29843
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29844
};
29845
29849
class
internalLinkTypeThemeSettings
final :
public
InternalLinkType
{
29854
std::int32_t get_id()
const
final
{
29855
return
ID
;
29856
}
29857
29858
public
:
29859
29863
internalLinkTypeThemeSettings
();
29864
29866
static
const
std::int32_t
ID
= -1051903722;
29867
29873
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29874
};
29875
29879
class
internalLinkTypeUnknownDeepLink
final :
public
InternalLinkType
{
29884
std::int32_t get_id()
const
final
{
29885
return
ID
;
29886
}
29887
29888
public
:
29890
string
link_
;
29891
29895
internalLinkTypeUnknownDeepLink
();
29896
29902
explicit
internalLinkTypeUnknownDeepLink
(
string
const
&
link_
);
29903
29905
static
const
std::int32_t
ID
= 625596379;
29906
29912
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29913
};
29914
29918
class
internalLinkTypeUnsupportedProxy
final :
public
InternalLinkType
{
29923
std::int32_t get_id()
const
final
{
29924
return
ID
;
29925
}
29926
29927
public
:
29928
29932
internalLinkTypeUnsupportedProxy
();
29933
29935
static
const
std::int32_t
ID
= -566649079;
29936
29942
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29943
};
29944
29948
class
internalLinkTypeUpgradedGift
final :
public
InternalLinkType
{
29953
std::int32_t get_id()
const
final
{
29954
return
ID
;
29955
}
29956
29957
public
:
29959
string
name_
;
29960
29964
internalLinkTypeUpgradedGift
();
29965
29971
explicit
internalLinkTypeUpgradedGift
(
string
const
&
name_
);
29972
29974
static
const
std::int32_t
ID
= -708405605;
29975
29981
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
29982
};
29983
29987
class
internalLinkTypeUserPhoneNumber
final :
public
InternalLinkType
{
29992
std::int32_t get_id()
const
final
{
29993
return
ID
;
29994
}
29995
29996
public
:
29998
string
phone_number_
;
30000
string
draft_text_
;
30002
bool
open_profile_
;
30003
30007
internalLinkTypeUserPhoneNumber
();
30008
30016
internalLinkTypeUserPhoneNumber
(
string
const
&
phone_number_
,
string
const
&
draft_text_
,
bool
open_profile_
);
30017
30019
static
const
std::int32_t
ID
= 273398536;
30020
30026
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30027
};
30028
30032
class
internalLinkTypeUserToken
final :
public
InternalLinkType
{
30037
std::int32_t get_id()
const
final
{
30038
return
ID
;
30039
}
30040
30041
public
:
30043
string
token_
;
30044
30048
internalLinkTypeUserToken
();
30049
30055
explicit
internalLinkTypeUserToken
(
string
const
&
token_
);
30056
30058
static
const
std::int32_t
ID
= -1462248615;
30059
30065
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30066
};
30067
30071
class
internalLinkTypeVideoChat
final :
public
InternalLinkType
{
30076
std::int32_t get_id()
const
final
{
30077
return
ID
;
30078
}
30079
30080
public
:
30082
string
chat_username_
;
30084
string
invite_hash_
;
30086
bool
is_live_stream_
;
30087
30091
internalLinkTypeVideoChat
();
30092
30100
internalLinkTypeVideoChat
(
string
const
&
chat_username_
,
string
const
&
invite_hash_
,
bool
is_live_stream_
);
30101
30103
static
const
std::int32_t
ID
= -2020149068;
30104
30110
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30111
};
30112
30116
class
internalLinkTypeWebApp
final :
public
InternalLinkType
{
30121
std::int32_t get_id()
const
final
{
30122
return
ID
;
30123
}
30124
30125
public
:
30127
string
bot_username_
;
30129
string
web_app_short_name_
;
30131
string
start_parameter_
;
30133
object_ptr<WebAppOpenMode>
mode_
;
30134
30138
internalLinkTypeWebApp
();
30139
30148
internalLinkTypeWebApp
(
string
const
&
bot_username_
,
string
const
&
web_app_short_name_
,
string
const
&
start_parameter_
,
object_ptr<WebAppOpenMode>
&&
mode_
);
30149
30151
static
const
std::int32_t
ID
= 2062112045;
30152
30158
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30159
};
30160
30165
class
InviteGroupCallParticipantResult
:
public
Object
{
30166
public
:
30167
};
30168
30172
class
inviteGroupCallParticipantResultUserPrivacyRestricted
final :
public
InviteGroupCallParticipantResult
{
30177
std::int32_t get_id()
const
final
{
30178
return
ID
;
30179
}
30180
30181
public
:
30182
30186
inviteGroupCallParticipantResultUserPrivacyRestricted
();
30187
30189
static
const
std::int32_t
ID
= 53003769;
30190
30196
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30197
};
30198
30202
class
inviteGroupCallParticipantResultUserAlreadyParticipant
final :
public
InviteGroupCallParticipantResult
{
30207
std::int32_t get_id()
const
final
{
30208
return
ID
;
30209
}
30210
30211
public
:
30212
30216
inviteGroupCallParticipantResultUserAlreadyParticipant
();
30217
30219
static
const
std::int32_t
ID
= 661526151;
30220
30226
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30227
};
30228
30232
class
inviteGroupCallParticipantResultUserWasBanned
final :
public
InviteGroupCallParticipantResult
{
30237
std::int32_t get_id()
const
final
{
30238
return
ID
;
30239
}
30240
30241
public
:
30242
30246
inviteGroupCallParticipantResultUserWasBanned
();
30247
30249
static
const
std::int32_t
ID
= -204345357;
30250
30256
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30257
};
30258
30262
class
inviteGroupCallParticipantResultSuccess
final :
public
InviteGroupCallParticipantResult
{
30267
std::int32_t get_id()
const
final
{
30268
return
ID
;
30269
}
30270
30271
public
:
30273
int53
chat_id_
;
30275
int53
message_id_
;
30276
30280
inviteGroupCallParticipantResultSuccess
();
30281
30288
inviteGroupCallParticipantResultSuccess
(
int53
chat_id_
,
int53
message_id_
);
30289
30291
static
const
std::int32_t
ID
= -1914309427;
30292
30298
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30299
};
30300
30305
class
InviteLinkChatType
:
public
Object
{
30306
public
:
30307
};
30308
30312
class
inviteLinkChatTypeBasicGroup
final :
public
InviteLinkChatType
{
30317
std::int32_t get_id()
const
final
{
30318
return
ID
;
30319
}
30320
30321
public
:
30322
30326
inviteLinkChatTypeBasicGroup
();
30327
30329
static
const
std::int32_t
ID
= 1296287214;
30330
30336
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30337
};
30338
30342
class
inviteLinkChatTypeSupergroup
final :
public
InviteLinkChatType
{
30347
std::int32_t get_id()
const
final
{
30348
return
ID
;
30349
}
30350
30351
public
:
30352
30356
inviteLinkChatTypeSupergroup
();
30357
30359
static
const
std::int32_t
ID
= 1038640984;
30360
30366
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30367
};
30368
30372
class
inviteLinkChatTypeChannel
final :
public
InviteLinkChatType
{
30377
std::int32_t get_id()
const
final
{
30378
return
ID
;
30379
}
30380
30381
public
:
30382
30386
inviteLinkChatTypeChannel
();
30387
30389
static
const
std::int32_t
ID
= 806547211;
30390
30396
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30397
};
30398
30399
class
labeledPricePart
;
30400
30404
class
invoice
final :
public
Object
{
30409
std::int32_t get_id()
const
final
{
30410
return
ID
;
30411
}
30412
30413
public
:
30415
string
currency_
;
30417
array<object_ptr<labeledPricePart>
>
price_parts_
;
30419
int32
subscription_period_
;
30421
int53
max_tip_amount_
;
30423
array<int53>
suggested_tip_amounts_
;
30425
string
recurring_payment_terms_of_service_url_
;
30427
string
terms_of_service_url_
;
30429
bool
is_test_
;
30431
bool
need_name_
;
30433
bool
need_phone_number_
;
30435
bool
need_email_address_
;
30437
bool
need_shipping_address_
;
30439
bool
send_phone_number_to_provider_
;
30441
bool
send_email_address_to_provider_
;
30443
bool
is_flexible_
;
30444
30448
invoice
();
30449
30469
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_
);
30470
30472
static
const
std::int32_t
ID
= 113204876;
30473
30479
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30480
};
30481
30482
class
JsonValue
;
30483
30487
class
jsonObjectMember
final :
public
Object
{
30492
std::int32_t get_id()
const
final
{
30493
return
ID
;
30494
}
30495
30496
public
:
30498
string
key_
;
30500
object_ptr<JsonValue>
value_
;
30501
30505
jsonObjectMember
();
30506
30513
jsonObjectMember
(
string
const
&
key_
,
object_ptr<JsonValue>
&&
value_
);
30514
30516
static
const
std::int32_t
ID
= -1803309418;
30517
30523
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30524
};
30525
30526
class
JsonValue
;
30527
30528
class
jsonObjectMember
;
30529
30534
class
JsonValue
:
public
Object
{
30535
public
:
30536
};
30537
30541
class
jsonValueNull
final :
public
JsonValue
{
30546
std::int32_t get_id()
const
final
{
30547
return
ID
;
30548
}
30549
30550
public
:
30551
30555
jsonValueNull
();
30556
30558
static
const
std::int32_t
ID
= -92872499;
30559
30565
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30566
};
30567
30571
class
jsonValueBoolean
final :
public
JsonValue
{
30576
std::int32_t get_id()
const
final
{
30577
return
ID
;
30578
}
30579
30580
public
:
30582
bool
value_
;
30583
30587
jsonValueBoolean
();
30588
30594
explicit
jsonValueBoolean
(
bool
value_
);
30595
30597
static
const
std::int32_t
ID
= -2142186576;
30598
30604
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30605
};
30606
30610
class
jsonValueNumber
final :
public
JsonValue
{
30615
std::int32_t get_id()
const
final
{
30616
return
ID
;
30617
}
30618
30619
public
:
30621
double
value_
;
30622
30626
jsonValueNumber
();
30627
30633
explicit
jsonValueNumber
(
double
value_
);
30634
30636
static
const
std::int32_t
ID
= -1010822033;
30637
30643
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30644
};
30645
30649
class
jsonValueString
final :
public
JsonValue
{
30654
std::int32_t get_id()
const
final
{
30655
return
ID
;
30656
}
30657
30658
public
:
30660
string
value_
;
30661
30665
jsonValueString
();
30666
30672
explicit
jsonValueString
(
string
const
&
value_
);
30673
30675
static
const
std::int32_t
ID
= 1597947313;
30676
30682
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30683
};
30684
30688
class
jsonValueArray
final :
public
JsonValue
{
30693
std::int32_t get_id()
const
final
{
30694
return
ID
;
30695
}
30696
30697
public
:
30699
array<object_ptr<JsonValue>
>
values_
;
30700
30704
jsonValueArray
();
30705
30711
explicit
jsonValueArray
(
array
<
object_ptr<JsonValue>
> &&
values_
);
30712
30714
static
const
std::int32_t
ID
= -183913546;
30715
30721
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30722
};
30723
30727
class
jsonValueObject
final :
public
JsonValue
{
30732
std::int32_t get_id()
const
final
{
30733
return
ID
;
30734
}
30735
30736
public
:
30738
array<object_ptr<jsonObjectMember>
>
members_
;
30739
30743
jsonValueObject
();
30744
30750
explicit
jsonValueObject
(
array
<
object_ptr<jsonObjectMember>
> &&
members_
);
30751
30753
static
const
std::int32_t
ID
= 520252026;
30754
30760
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30761
};
30762
30763
class
KeyboardButtonType
;
30764
30768
class
keyboardButton
final :
public
Object
{
30773
std::int32_t get_id()
const
final
{
30774
return
ID
;
30775
}
30776
30777
public
:
30779
string
text_
;
30781
object_ptr<KeyboardButtonType>
type_
;
30782
30786
keyboardButton
();
30787
30794
keyboardButton
(
string
const
&
text_
,
object_ptr<KeyboardButtonType>
&&
type_
);
30795
30797
static
const
std::int32_t
ID
= -2069836172;
30798
30804
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30805
};
30806
30807
class
chatAdministratorRights
;
30808
30813
class
KeyboardButtonType
:
public
Object
{
30814
public
:
30815
};
30816
30820
class
keyboardButtonTypeText
final :
public
KeyboardButtonType
{
30825
std::int32_t get_id()
const
final
{
30826
return
ID
;
30827
}
30828
30829
public
:
30830
30834
keyboardButtonTypeText
();
30835
30837
static
const
std::int32_t
ID
= -1773037256;
30838
30844
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30845
};
30846
30850
class
keyboardButtonTypeRequestPhoneNumber
final :
public
KeyboardButtonType
{
30855
std::int32_t get_id()
const
final
{
30856
return
ID
;
30857
}
30858
30859
public
:
30860
30864
keyboardButtonTypeRequestPhoneNumber
();
30865
30867
static
const
std::int32_t
ID
= -1529235527;
30868
30874
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30875
};
30876
30880
class
keyboardButtonTypeRequestLocation
final :
public
KeyboardButtonType
{
30885
std::int32_t get_id()
const
final
{
30886
return
ID
;
30887
}
30888
30889
public
:
30890
30894
keyboardButtonTypeRequestLocation
();
30895
30897
static
const
std::int32_t
ID
= -125661955;
30898
30904
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30905
};
30906
30910
class
keyboardButtonTypeRequestPoll
final :
public
KeyboardButtonType
{
30915
std::int32_t get_id()
const
final
{
30916
return
ID
;
30917
}
30918
30919
public
:
30921
bool
force_regular_
;
30923
bool
force_quiz_
;
30924
30928
keyboardButtonTypeRequestPoll
();
30929
30936
keyboardButtonTypeRequestPoll
(
bool
force_regular_
,
bool
force_quiz_
);
30937
30939
static
const
std::int32_t
ID
= 1902435512;
30940
30946
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
30947
};
30948
30952
class
keyboardButtonTypeRequestUsers
final :
public
KeyboardButtonType
{
30957
std::int32_t get_id()
const
final
{
30958
return
ID
;
30959
}
30960
30961
public
:
30963
int32
id_
;
30965
bool
restrict_user_is_bot_
;
30967
bool
user_is_bot_
;
30969
bool
restrict_user_is_premium_
;
30971
bool
user_is_premium_
;
30973
int32
max_quantity_
;
30975
bool
request_name_
;
30977
bool
request_username_
;
30979
bool
request_photo_
;
30980
30984
keyboardButtonTypeRequestUsers
();
30985
30999
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_
);
31000
31002
static
const
std::int32_t
ID
= -1738765315;
31003
31009
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31010
};
31011
31015
class
keyboardButtonTypeRequestChat
final :
public
KeyboardButtonType
{
31020
std::int32_t get_id()
const
final
{
31021
return
ID
;
31022
}
31023
31024
public
:
31026
int32
id_
;
31028
bool
chat_is_channel_
;
31030
bool
restrict_chat_is_forum_
;
31032
bool
chat_is_forum_
;
31034
bool
restrict_chat_has_username_
;
31036
bool
chat_has_username_
;
31038
bool
chat_is_created_
;
31040
object_ptr<chatAdministratorRights>
user_administrator_rights_
;
31042
object_ptr<chatAdministratorRights>
bot_administrator_rights_
;
31044
bool
bot_is_member_
;
31046
bool
request_title_
;
31048
bool
request_username_
;
31050
bool
request_photo_
;
31051
31055
keyboardButtonTypeRequestChat
();
31056
31074
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_
);
31075
31077
static
const
std::int32_t
ID
= 1511138485;
31078
31084
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31085
};
31086
31090
class
keyboardButtonTypeWebApp
final :
public
KeyboardButtonType
{
31095
std::int32_t get_id()
const
final
{
31096
return
ID
;
31097
}
31098
31099
public
:
31101
string
url_
;
31102
31106
keyboardButtonTypeWebApp
();
31107
31113
explicit
keyboardButtonTypeWebApp
(
string
const
&
url_
);
31114
31116
static
const
std::int32_t
ID
= 1892220770;
31117
31123
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31124
};
31125
31129
class
labeledPricePart
final :
public
Object
{
31134
std::int32_t get_id()
const
final
{
31135
return
ID
;
31136
}
31137
31138
public
:
31140
string
label_
;
31142
int53
amount_
;
31143
31147
labeledPricePart
();
31148
31155
labeledPricePart
(
string
const
&
label_
,
int53
amount_
);
31156
31158
static
const
std::int32_t
ID
= 552789798;
31159
31165
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31166
};
31167
31171
class
languagePackInfo
final :
public
Object
{
31176
std::int32_t get_id()
const
final
{
31177
return
ID
;
31178
}
31179
31180
public
:
31182
string
id_
;
31184
string
base_language_pack_id_
;
31186
string
name_
;
31188
string
native_name_
;
31190
string
plural_code_
;
31192
bool
is_official_
;
31194
bool
is_rtl_
;
31196
bool
is_beta_
;
31198
bool
is_installed_
;
31200
int32
total_string_count_
;
31202
int32
translated_string_count_
;
31204
int32
local_string_count_
;
31206
string
translation_url_
;
31207
31211
languagePackInfo
();
31212
31230
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_
);
31231
31233
static
const
std::int32_t
ID
= 542199642;
31234
31240
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31241
};
31242
31243
class
LanguagePackStringValue
;
31244
31248
class
languagePackString
final :
public
Object
{
31253
std::int32_t get_id()
const
final
{
31254
return
ID
;
31255
}
31256
31257
public
:
31259
string
key_
;
31261
object_ptr<LanguagePackStringValue>
value_
;
31262
31266
languagePackString
();
31267
31274
languagePackString
(
string
const
&
key_
,
object_ptr<LanguagePackStringValue>
&&
value_
);
31275
31277
static
const
std::int32_t
ID
= 1307632736;
31278
31284
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31285
};
31286
31291
class
LanguagePackStringValue
:
public
Object
{
31292
public
:
31293
};
31294
31298
class
languagePackStringValueOrdinary
final :
public
LanguagePackStringValue
{
31303
std::int32_t get_id()
const
final
{
31304
return
ID
;
31305
}
31306
31307
public
:
31309
string
value_
;
31310
31314
languagePackStringValueOrdinary
();
31315
31321
explicit
languagePackStringValueOrdinary
(
string
const
&
value_
);
31322
31324
static
const
std::int32_t
ID
= -249256352;
31325
31331
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31332
};
31333
31337
class
languagePackStringValuePluralized
final :
public
LanguagePackStringValue
{
31342
std::int32_t get_id()
const
final
{
31343
return
ID
;
31344
}
31345
31346
public
:
31348
string
zero_value_
;
31350
string
one_value_
;
31352
string
two_value_
;
31354
string
few_value_
;
31356
string
many_value_
;
31358
string
other_value_
;
31359
31363
languagePackStringValuePluralized
();
31364
31375
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_
);
31376
31378
static
const
std::int32_t
ID
= 1906840261;
31379
31385
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31386
};
31387
31391
class
languagePackStringValueDeleted
final :
public
LanguagePackStringValue
{
31396
std::int32_t get_id()
const
final
{
31397
return
ID
;
31398
}
31399
31400
public
:
31401
31405
languagePackStringValueDeleted
();
31406
31408
static
const
std::int32_t
ID
= 1834792698;
31409
31415
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31416
};
31417
31418
class
languagePackString
;
31419
31423
class
languagePackStrings
final :
public
Object
{
31428
std::int32_t get_id()
const
final
{
31429
return
ID
;
31430
}
31431
31432
public
:
31434
array<object_ptr<languagePackString>
>
strings_
;
31435
31439
languagePackStrings
();
31440
31446
explicit
languagePackStrings
(
array
<
object_ptr<languagePackString>
> &&
strings_
);
31447
31449
static
const
std::int32_t
ID
= 1172082922;
31450
31456
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31457
};
31458
31459
class
LinkPreviewType
;
31460
31461
class
formattedText
;
31462
31466
class
linkPreview
final :
public
Object
{
31471
std::int32_t get_id()
const
final
{
31472
return
ID
;
31473
}
31474
31475
public
:
31477
string
url_
;
31479
string
display_url_
;
31481
string
site_name_
;
31483
string
title_
;
31485
object_ptr<formattedText>
description_
;
31487
string
author_
;
31489
object_ptr<LinkPreviewType>
type_
;
31491
bool
has_large_media_
;
31493
bool
show_large_media_
;
31495
bool
show_media_above_description_
;
31497
bool
skip_confirmation_
;
31499
bool
show_above_text_
;
31501
int32
instant_view_version_
;
31502
31506
linkPreview
();
31507
31525
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_
);
31526
31528
static
const
std::int32_t
ID
= 1729417714;
31529
31535
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31536
};
31537
31538
class
photo
;
31539
31540
class
video
;
31541
31546
class
LinkPreviewAlbumMedia
:
public
Object
{
31547
public
:
31548
};
31549
31553
class
linkPreviewAlbumMediaPhoto
final :
public
LinkPreviewAlbumMedia
{
31558
std::int32_t get_id()
const
final
{
31559
return
ID
;
31560
}
31561
31562
public
:
31564
object_ptr<photo>
photo_
;
31565
31569
linkPreviewAlbumMediaPhoto
();
31570
31576
explicit
linkPreviewAlbumMediaPhoto
(
object_ptr<photo>
&&
photo_
);
31577
31579
static
const
std::int32_t
ID
= -935480434;
31580
31586
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31587
};
31588
31592
class
linkPreviewAlbumMediaVideo
final :
public
LinkPreviewAlbumMedia
{
31597
std::int32_t get_id()
const
final
{
31598
return
ID
;
31599
}
31600
31601
public
:
31603
object_ptr<video>
video_
;
31604
31608
linkPreviewAlbumMediaVideo
();
31609
31615
explicit
linkPreviewAlbumMediaVideo
(
object_ptr<video>
&&
video_
);
31616
31618
static
const
std::int32_t
ID
= 390616795;
31619
31625
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31626
};
31627
31631
class
linkPreviewOptions
final :
public
Object
{
31636
std::int32_t get_id()
const
final
{
31637
return
ID
;
31638
}
31639
31640
public
:
31642
bool
is_disabled_
;
31644
string
url_
;
31646
bool
force_small_media_
;
31648
bool
force_large_media_
;
31650
bool
show_above_text_
;
31651
31655
linkPreviewOptions
();
31656
31666
linkPreviewOptions
(
bool
is_disabled_
,
string
const
&
url_
,
bool
force_small_media_
,
bool
force_large_media_
,
bool
show_above_text_
);
31667
31669
static
const
std::int32_t
ID
= 1046590451;
31670
31676
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31677
};
31678
31679
class
BackgroundType
;
31680
31681
class
InviteLinkChatType
;
31682
31683
class
LinkPreviewAlbumMedia
;
31684
31685
class
animation
;
31686
31687
class
audio
;
31688
31689
class
chatPhoto
;
31690
31691
class
document
;
31692
31693
class
photo
;
31694
31695
class
sticker
;
31696
31697
class
themeSettings
;
31698
31699
class
upgradedGift
;
31700
31701
class
video
;
31702
31703
class
videoNote
;
31704
31705
class
voiceNote
;
31706
31711
class
LinkPreviewType
:
public
Object
{
31712
public
:
31713
};
31714
31718
class
linkPreviewTypeAlbum
final :
public
LinkPreviewType
{
31723
std::int32_t get_id()
const
final
{
31724
return
ID
;
31725
}
31726
31727
public
:
31729
array<object_ptr<LinkPreviewAlbumMedia>
>
media_
;
31731
string
caption_
;
31732
31736
linkPreviewTypeAlbum
();
31737
31744
linkPreviewTypeAlbum
(
array
<
object_ptr<LinkPreviewAlbumMedia>
> &&
media_
,
string
const
&
caption_
);
31745
31747
static
const
std::int32_t
ID
= -919156671;
31748
31754
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31755
};
31756
31760
class
linkPreviewTypeAnimation
final :
public
LinkPreviewType
{
31765
std::int32_t get_id()
const
final
{
31766
return
ID
;
31767
}
31768
31769
public
:
31771
object_ptr<animation>
animation_
;
31772
31776
linkPreviewTypeAnimation
();
31777
31783
explicit
linkPreviewTypeAnimation
(
object_ptr<animation>
&&
animation_
);
31784
31786
static
const
std::int32_t
ID
= -1386429132;
31787
31793
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31794
};
31795
31799
class
linkPreviewTypeApp
final :
public
LinkPreviewType
{
31804
std::int32_t get_id()
const
final
{
31805
return
ID
;
31806
}
31807
31808
public
:
31810
object_ptr<photo>
photo_
;
31811
31815
linkPreviewTypeApp
();
31816
31822
explicit
linkPreviewTypeApp
(
object_ptr<photo>
&&
photo_
);
31823
31825
static
const
std::int32_t
ID
= -475623953;
31826
31832
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31833
};
31834
31838
class
linkPreviewTypeArticle
final :
public
LinkPreviewType
{
31843
std::int32_t get_id()
const
final
{
31844
return
ID
;
31845
}
31846
31847
public
:
31849
object_ptr<photo>
photo_
;
31850
31854
linkPreviewTypeArticle
();
31855
31861
explicit
linkPreviewTypeArticle
(
object_ptr<photo>
&&
photo_
);
31862
31864
static
const
std::int32_t
ID
= 2093915097;
31865
31871
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31872
};
31873
31877
class
linkPreviewTypeAudio
final :
public
LinkPreviewType
{
31882
std::int32_t get_id()
const
final
{
31883
return
ID
;
31884
}
31885
31886
public
:
31888
object_ptr<audio>
audio_
;
31889
31893
linkPreviewTypeAudio
();
31894
31900
explicit
linkPreviewTypeAudio
(
object_ptr<audio>
&&
audio_
);
31901
31903
static
const
std::int32_t
ID
= 1977878482;
31904
31910
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31911
};
31912
31916
class
linkPreviewTypeBackground
final :
public
LinkPreviewType
{
31921
std::int32_t get_id()
const
final
{
31922
return
ID
;
31923
}
31924
31925
public
:
31927
object_ptr<document>
document_
;
31929
object_ptr<BackgroundType>
background_type_
;
31930
31934
linkPreviewTypeBackground
();
31935
31942
linkPreviewTypeBackground
(
object_ptr<document>
&&
document_
,
object_ptr<BackgroundType>
&&
background_type_
);
31943
31945
static
const
std::int32_t
ID
= 977838560;
31946
31952
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31953
};
31954
31958
class
linkPreviewTypeChannelBoost
final :
public
LinkPreviewType
{
31963
std::int32_t get_id()
const
final
{
31964
return
ID
;
31965
}
31966
31967
public
:
31969
object_ptr<chatPhoto>
photo_
;
31970
31974
linkPreviewTypeChannelBoost
();
31975
31981
explicit
linkPreviewTypeChannelBoost
(
object_ptr<chatPhoto>
&&
photo_
);
31982
31984
static
const
std::int32_t
ID
= -957086634;
31985
31991
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
31992
};
31993
31997
class
linkPreviewTypeChat
final :
public
LinkPreviewType
{
32002
std::int32_t get_id()
const
final
{
32003
return
ID
;
32004
}
32005
32006
public
:
32008
object_ptr<InviteLinkChatType>
type_
;
32010
object_ptr<chatPhoto>
photo_
;
32012
bool
creates_join_request_
;
32013
32017
linkPreviewTypeChat
();
32018
32026
linkPreviewTypeChat
(
object_ptr<InviteLinkChatType>
&&
type_
,
object_ptr<chatPhoto>
&&
photo_
,
bool
creates_join_request_
);
32027
32029
static
const
std::int32_t
ID
= -1372610270;
32030
32036
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32037
};
32038
32042
class
linkPreviewTypeDocument
final :
public
LinkPreviewType
{
32047
std::int32_t get_id()
const
final
{
32048
return
ID
;
32049
}
32050
32051
public
:
32053
object_ptr<document>
document_
;
32054
32058
linkPreviewTypeDocument
();
32059
32065
explicit
linkPreviewTypeDocument
(
object_ptr<document>
&&
document_
);
32066
32068
static
const
std::int32_t
ID
= -1090426462;
32069
32075
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32076
};
32077
32081
class
linkPreviewTypeEmbeddedAnimationPlayer
final :
public
LinkPreviewType
{
32086
std::int32_t get_id()
const
final
{
32087
return
ID
;
32088
}
32089
32090
public
:
32092
string
url_
;
32094
object_ptr<photo>
thumbnail_
;
32096
int32
duration_
;
32098
int32
width_
;
32100
int32
height_
;
32101
32105
linkPreviewTypeEmbeddedAnimationPlayer
();
32106
32116
linkPreviewTypeEmbeddedAnimationPlayer
(
string
const
&
url_
,
object_ptr<photo>
&&
thumbnail_
,
int32
duration_
,
int32
width_
,
int32
height_
);
32117
32119
static
const
std::int32_t
ID
= -1436887547;
32120
32126
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32127
};
32128
32132
class
linkPreviewTypeEmbeddedAudioPlayer
final :
public
LinkPreviewType
{
32137
std::int32_t get_id()
const
final
{
32138
return
ID
;
32139
}
32140
32141
public
:
32143
string
url_
;
32145
object_ptr<photo>
thumbnail_
;
32147
int32
duration_
;
32149
int32
width_
;
32151
int32
height_
;
32152
32156
linkPreviewTypeEmbeddedAudioPlayer
();
32157
32167
linkPreviewTypeEmbeddedAudioPlayer
(
string
const
&
url_
,
object_ptr<photo>
&&
thumbnail_
,
int32
duration_
,
int32
width_
,
int32
height_
);
32168
32170
static
const
std::int32_t
ID
= 571163292;
32171
32177
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32178
};
32179
32183
class
linkPreviewTypeEmbeddedVideoPlayer
final :
public
LinkPreviewType
{
32188
std::int32_t get_id()
const
final
{
32189
return
ID
;
32190
}
32191
32192
public
:
32194
string
url_
;
32196
object_ptr<photo>
thumbnail_
;
32198
int32
duration_
;
32200
int32
width_
;
32202
int32
height_
;
32203
32207
linkPreviewTypeEmbeddedVideoPlayer
();
32208
32218
linkPreviewTypeEmbeddedVideoPlayer
(
string
const
&
url_
,
object_ptr<photo>
&&
thumbnail_
,
int32
duration_
,
int32
width_
,
int32
height_
);
32219
32221
static
const
std::int32_t
ID
= -1480606973;
32222
32228
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32229
};
32230
32234
class
linkPreviewTypeExternalAudio
final :
public
LinkPreviewType
{
32239
std::int32_t get_id()
const
final
{
32240
return
ID
;
32241
}
32242
32243
public
:
32245
string
url_
;
32247
string
mime_type_
;
32249
int32
duration_
;
32250
32254
linkPreviewTypeExternalAudio
();
32255
32263
linkPreviewTypeExternalAudio
(
string
const
&
url_
,
string
const
&
mime_type_
,
int32
duration_
);
32264
32266
static
const
std::int32_t
ID
= -1971126291;
32267
32273
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32274
};
32275
32279
class
linkPreviewTypeExternalVideo
final :
public
LinkPreviewType
{
32284
std::int32_t get_id()
const
final
{
32285
return
ID
;
32286
}
32287
32288
public
:
32290
string
url_
;
32292
string
mime_type_
;
32294
int32
width_
;
32296
int32
height_
;
32298
int32
duration_
;
32299
32303
linkPreviewTypeExternalVideo
();
32304
32314
linkPreviewTypeExternalVideo
(
string
const
&
url_
,
string
const
&
mime_type_
,
int32
width_
,
int32
height_
,
int32
duration_
);
32315
32317
static
const
std::int32_t
ID
= 1367198616;
32318
32324
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32325
};
32326
32330
class
linkPreviewTypeGroupCall
final :
public
LinkPreviewType
{
32335
std::int32_t get_id()
const
final
{
32336
return
ID
;
32337
}
32338
32339
public
:
32340
32344
linkPreviewTypeGroupCall
();
32345
32347
static
const
std::int32_t
ID
= -1242459936;
32348
32354
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32355
};
32356
32360
class
linkPreviewTypeInvoice
final :
public
LinkPreviewType
{
32365
std::int32_t get_id()
const
final
{
32366
return
ID
;
32367
}
32368
32369
public
:
32370
32374
linkPreviewTypeInvoice
();
32375
32377
static
const
std::int32_t
ID
= -729855782;
32378
32384
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32385
};
32386
32390
class
linkPreviewTypeMessage
final :
public
LinkPreviewType
{
32395
std::int32_t get_id()
const
final
{
32396
return
ID
;
32397
}
32398
32399
public
:
32400
32404
linkPreviewTypeMessage
();
32405
32407
static
const
std::int32_t
ID
= 435470750;
32408
32414
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32415
};
32416
32420
class
linkPreviewTypePhoto
final :
public
LinkPreviewType
{
32425
std::int32_t get_id()
const
final
{
32426
return
ID
;
32427
}
32428
32429
public
:
32431
object_ptr<photo>
photo_
;
32432
32436
linkPreviewTypePhoto
();
32437
32443
explicit
linkPreviewTypePhoto
(
object_ptr<photo>
&&
photo_
);
32444
32446
static
const
std::int32_t
ID
= -1362122068;
32447
32453
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32454
};
32455
32459
class
linkPreviewTypePremiumGiftCode
final :
public
LinkPreviewType
{
32464
std::int32_t get_id()
const
final
{
32465
return
ID
;
32466
}
32467
32468
public
:
32469
32473
linkPreviewTypePremiumGiftCode
();
32474
32476
static
const
std::int32_t
ID
= 1309507761;
32477
32483
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32484
};
32485
32489
class
linkPreviewTypeShareableChatFolder
final :
public
LinkPreviewType
{
32494
std::int32_t get_id()
const
final
{
32495
return
ID
;
32496
}
32497
32498
public
:
32499
32503
linkPreviewTypeShareableChatFolder
();
32504
32506
static
const
std::int32_t
ID
= -2141539524;
32507
32513
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32514
};
32515
32519
class
linkPreviewTypeSticker
final :
public
LinkPreviewType
{
32524
std::int32_t get_id()
const
final
{
32525
return
ID
;
32526
}
32527
32528
public
:
32530
object_ptr<sticker>
sticker_
;
32531
32535
linkPreviewTypeSticker
();
32536
32542
explicit
linkPreviewTypeSticker
(
object_ptr<sticker>
&&
sticker_
);
32543
32545
static
const
std::int32_t
ID
= 610225445;
32546
32552
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32553
};
32554
32558
class
linkPreviewTypeStickerSet
final :
public
LinkPreviewType
{
32563
std::int32_t get_id()
const
final
{
32564
return
ID
;
32565
}
32566
32567
public
:
32569
array<object_ptr<sticker>
>
stickers_
;
32570
32574
linkPreviewTypeStickerSet
();
32575
32581
explicit
linkPreviewTypeStickerSet
(
array
<
object_ptr<sticker>
> &&
stickers_
);
32582
32584
static
const
std::int32_t
ID
= -145958768;
32585
32591
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32592
};
32593
32597
class
linkPreviewTypeStory
final :
public
LinkPreviewType
{
32602
std::int32_t get_id()
const
final
{
32603
return
ID
;
32604
}
32605
32606
public
:
32608
int53
story_poster_chat_id_
;
32610
int32
story_id_
;
32611
32615
linkPreviewTypeStory
();
32616
32623
linkPreviewTypeStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
32624
32626
static
const
std::int32_t
ID
= 1045709531;
32627
32633
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32634
};
32635
32639
class
linkPreviewTypeSupergroupBoost
final :
public
LinkPreviewType
{
32644
std::int32_t get_id()
const
final
{
32645
return
ID
;
32646
}
32647
32648
public
:
32650
object_ptr<chatPhoto>
photo_
;
32651
32655
linkPreviewTypeSupergroupBoost
();
32656
32662
explicit
linkPreviewTypeSupergroupBoost
(
object_ptr<chatPhoto>
&&
photo_
);
32663
32665
static
const
std::int32_t
ID
= -1873345418;
32666
32672
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32673
};
32674
32678
class
linkPreviewTypeTheme
final :
public
LinkPreviewType
{
32683
std::int32_t get_id()
const
final
{
32684
return
ID
;
32685
}
32686
32687
public
:
32689
array<object_ptr<document>
>
documents_
;
32691
object_ptr<themeSettings>
settings_
;
32692
32696
linkPreviewTypeTheme
();
32697
32704
linkPreviewTypeTheme
(
array
<
object_ptr<document>
> &&
documents_
,
object_ptr<themeSettings>
&&
settings_
);
32705
32707
static
const
std::int32_t
ID
= -226118489;
32708
32714
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32715
};
32716
32720
class
linkPreviewTypeUnsupported
final :
public
LinkPreviewType
{
32725
std::int32_t get_id()
const
final
{
32726
return
ID
;
32727
}
32728
32729
public
:
32730
32734
linkPreviewTypeUnsupported
();
32735
32737
static
const
std::int32_t
ID
= 1924738233;
32738
32744
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32745
};
32746
32750
class
linkPreviewTypeUpgradedGift
final :
public
LinkPreviewType
{
32755
std::int32_t get_id()
const
final
{
32756
return
ID
;
32757
}
32758
32759
public
:
32761
object_ptr<upgradedGift>
gift_
;
32762
32766
linkPreviewTypeUpgradedGift
();
32767
32773
explicit
linkPreviewTypeUpgradedGift
(
object_ptr<upgradedGift>
&&
gift_
);
32774
32776
static
const
std::int32_t
ID
= 293249807;
32777
32783
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32784
};
32785
32789
class
linkPreviewTypeUser
final :
public
LinkPreviewType
{
32794
std::int32_t get_id()
const
final
{
32795
return
ID
;
32796
}
32797
32798
public
:
32800
object_ptr<chatPhoto>
photo_
;
32802
bool
is_bot_
;
32803
32807
linkPreviewTypeUser
();
32808
32815
linkPreviewTypeUser
(
object_ptr<chatPhoto>
&&
photo_
,
bool
is_bot_
);
32816
32818
static
const
std::int32_t
ID
= -1465024132;
32819
32825
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32826
};
32827
32831
class
linkPreviewTypeVideo
final :
public
LinkPreviewType
{
32836
std::int32_t get_id()
const
final
{
32837
return
ID
;
32838
}
32839
32840
public
:
32842
object_ptr<video>
video_
;
32844
object_ptr<photo>
cover_
;
32846
int32
start_timestamp_
;
32847
32851
linkPreviewTypeVideo
();
32852
32860
linkPreviewTypeVideo
(
object_ptr<video>
&&
video_
,
object_ptr<photo>
&&
cover_
,
int32
start_timestamp_
);
32861
32863
static
const
std::int32_t
ID
= 1573057926;
32864
32870
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32871
};
32872
32876
class
linkPreviewTypeVideoChat
final :
public
LinkPreviewType
{
32881
std::int32_t get_id()
const
final
{
32882
return
ID
;
32883
}
32884
32885
public
:
32887
object_ptr<chatPhoto>
photo_
;
32889
bool
is_live_stream_
;
32890
32894
linkPreviewTypeVideoChat
();
32895
32902
linkPreviewTypeVideoChat
(
object_ptr<chatPhoto>
&&
photo_
,
bool
is_live_stream_
);
32903
32905
static
const
std::int32_t
ID
= 420015635;
32906
32912
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32913
};
32914
32918
class
linkPreviewTypeVideoNote
final :
public
LinkPreviewType
{
32923
std::int32_t get_id()
const
final
{
32924
return
ID
;
32925
}
32926
32927
public
:
32929
object_ptr<videoNote>
video_note_
;
32930
32934
linkPreviewTypeVideoNote
();
32935
32941
explicit
linkPreviewTypeVideoNote
(
object_ptr<videoNote>
&&
video_note_
);
32942
32944
static
const
std::int32_t
ID
= -814687391;
32945
32951
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32952
};
32953
32957
class
linkPreviewTypeVoiceNote
final :
public
LinkPreviewType
{
32962
std::int32_t get_id()
const
final
{
32963
return
ID
;
32964
}
32965
32966
public
:
32968
object_ptr<voiceNote>
voice_note_
;
32969
32973
linkPreviewTypeVoiceNote
();
32974
32980
explicit
linkPreviewTypeVoiceNote
(
object_ptr<voiceNote>
&&
voice_note_
);
32981
32983
static
const
std::int32_t
ID
= -757936341;
32984
32990
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
32991
};
32992
32996
class
linkPreviewTypeWebApp
final :
public
LinkPreviewType
{
33001
std::int32_t get_id()
const
final
{
33002
return
ID
;
33003
}
33004
33005
public
:
33007
object_ptr<photo>
photo_
;
33008
33012
linkPreviewTypeWebApp
();
33013
33019
explicit
linkPreviewTypeWebApp
(
object_ptr<photo>
&&
photo_
);
33020
33022
static
const
std::int32_t
ID
= -1506873462;
33023
33029
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33030
};
33031
33035
class
localFile
final :
public
Object
{
33040
std::int32_t get_id()
const
final
{
33041
return
ID
;
33042
}
33043
33044
public
:
33046
string
path_
;
33048
bool
can_be_downloaded_
;
33050
bool
can_be_deleted_
;
33052
bool
is_downloading_active_
;
33054
bool
is_downloading_completed_
;
33056
int53
download_offset_
;
33058
int53
downloaded_prefix_size_
;
33060
int53
downloaded_size_
;
33061
33065
localFile
();
33066
33079
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_
);
33080
33082
static
const
std::int32_t
ID
= -1562732153;
33083
33089
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33090
};
33091
33092
class
languagePackInfo
;
33093
33097
class
localizationTargetInfo
final :
public
Object
{
33102
std::int32_t get_id()
const
final
{
33103
return
ID
;
33104
}
33105
33106
public
:
33108
array<object_ptr<languagePackInfo>
>
language_packs_
;
33109
33113
localizationTargetInfo
();
33114
33120
explicit
localizationTargetInfo
(
array
<
object_ptr<languagePackInfo>
> &&
language_packs_
);
33121
33123
static
const
std::int32_t
ID
= -2048670809;
33124
33130
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33131
};
33132
33136
class
location
final :
public
Object
{
33141
std::int32_t get_id()
const
final
{
33142
return
ID
;
33143
}
33144
33145
public
:
33147
double
latitude_
;
33149
double
longitude_
;
33151
double
horizontal_accuracy_
;
33152
33156
location
();
33157
33165
location
(
double
latitude_
,
double
longitude_
,
double
horizontal_accuracy_
);
33166
33168
static
const
std::int32_t
ID
= -443392141;
33169
33175
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33176
};
33177
33181
class
locationAddress
final :
public
Object
{
33186
std::int32_t get_id()
const
final
{
33187
return
ID
;
33188
}
33189
33190
public
:
33192
string
country_code_
;
33194
string
state_
;
33196
string
city_
;
33198
string
street_
;
33199
33203
locationAddress
();
33204
33213
locationAddress
(
string
const
&
country_code_
,
string
const
&
state_
,
string
const
&
city_
,
string
const
&
street_
);
33214
33216
static
const
std::int32_t
ID
= -1545940190;
33217
33223
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33224
};
33225
33230
class
LogStream
:
public
Object
{
33231
public
:
33232
};
33233
33237
class
logStreamDefault
final :
public
LogStream
{
33242
std::int32_t get_id()
const
final
{
33243
return
ID
;
33244
}
33245
33246
public
:
33247
33251
logStreamDefault
();
33252
33254
static
const
std::int32_t
ID
= 1390581436;
33255
33261
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33262
};
33263
33267
class
logStreamFile
final :
public
LogStream
{
33272
std::int32_t get_id()
const
final
{
33273
return
ID
;
33274
}
33275
33276
public
:
33278
string
path_
;
33280
int53
max_file_size_
;
33282
bool
redirect_stderr_
;
33283
33287
logStreamFile
();
33288
33296
logStreamFile
(
string
const
&
path_
,
int53
max_file_size_
,
bool
redirect_stderr_
);
33297
33299
static
const
std::int32_t
ID
= 1532136933;
33300
33306
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33307
};
33308
33312
class
logStreamEmpty
final :
public
LogStream
{
33317
std::int32_t get_id()
const
final
{
33318
return
ID
;
33319
}
33320
33321
public
:
33322
33326
logStreamEmpty
();
33327
33329
static
const
std::int32_t
ID
= -499912244;
33330
33336
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33337
};
33338
33342
class
logTags
final :
public
Object
{
33347
std::int32_t get_id()
const
final
{
33348
return
ID
;
33349
}
33350
33351
public
:
33353
array<string>
tags_
;
33354
33358
logTags
();
33359
33365
explicit
logTags
(
array<string>
&&
tags_
);
33366
33368
static
const
std::int32_t
ID
= -1604930601;
33369
33375
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33376
};
33377
33381
class
logVerbosityLevel
final :
public
Object
{
33386
std::int32_t get_id()
const
final
{
33387
return
ID
;
33388
}
33389
33390
public
:
33392
int32
verbosity_level_
;
33393
33397
logVerbosityLevel
();
33398
33404
explicit
logVerbosityLevel
(
int32
verbosity_level_
);
33405
33407
static
const
std::int32_t
ID
= 1734624234;
33408
33414
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33415
};
33416
33421
class
LoginUrlInfo
:
public
Object
{
33422
public
:
33423
};
33424
33428
class
loginUrlInfoOpen
final :
public
LoginUrlInfo
{
33433
std::int32_t get_id()
const
final
{
33434
return
ID
;
33435
}
33436
33437
public
:
33439
string
url_
;
33441
bool
skip_confirmation_
;
33442
33446
loginUrlInfoOpen
();
33447
33454
loginUrlInfoOpen
(
string
const
&
url_
,
bool
skip_confirmation_
);
33455
33457
static
const
std::int32_t
ID
= 837282306;
33458
33464
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33465
};
33466
33470
class
loginUrlInfoRequestConfirmation
final :
public
LoginUrlInfo
{
33475
std::int32_t get_id()
const
final
{
33476
return
ID
;
33477
}
33478
33479
public
:
33481
string
url_
;
33483
string
domain_
;
33485
int53
bot_user_id_
;
33487
bool
request_write_access_
;
33488
33492
loginUrlInfoRequestConfirmation
();
33493
33502
loginUrlInfoRequestConfirmation
(
string
const
&
url_
,
string
const
&
domain_
,
int53
bot_user_id_
,
bool
request_write_access_
);
33503
33505
static
const
std::int32_t
ID
= 2128290863;
33506
33512
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33513
};
33514
33515
class
WebAppOpenMode
;
33516
33520
class
mainWebApp
final :
public
Object
{
33525
std::int32_t get_id()
const
final
{
33526
return
ID
;
33527
}
33528
33529
public
:
33531
string
url_
;
33533
object_ptr<WebAppOpenMode>
mode_
;
33534
33538
mainWebApp
();
33539
33546
mainWebApp
(
string
const
&
url_
,
object_ptr<WebAppOpenMode>
&&
mode_
);
33547
33549
static
const
std::int32_t
ID
= 1940368506;
33550
33556
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33557
};
33558
33563
class
MaskPoint
:
public
Object
{
33564
public
:
33565
};
33566
33570
class
maskPointForehead
final :
public
MaskPoint
{
33575
std::int32_t get_id()
const
final
{
33576
return
ID
;
33577
}
33578
33579
public
:
33580
33584
maskPointForehead
();
33585
33587
static
const
std::int32_t
ID
= 1027512005;
33588
33594
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33595
};
33596
33600
class
maskPointEyes
final :
public
MaskPoint
{
33605
std::int32_t get_id()
const
final
{
33606
return
ID
;
33607
}
33608
33609
public
:
33610
33614
maskPointEyes
();
33615
33617
static
const
std::int32_t
ID
= 1748310861;
33618
33624
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33625
};
33626
33630
class
maskPointMouth
final :
public
MaskPoint
{
33635
std::int32_t get_id()
const
final
{
33636
return
ID
;
33637
}
33638
33639
public
:
33640
33644
maskPointMouth
();
33645
33647
static
const
std::int32_t
ID
= 411773406;
33648
33654
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33655
};
33656
33660
class
maskPointChin
final :
public
MaskPoint
{
33665
std::int32_t get_id()
const
final
{
33666
return
ID
;
33667
}
33668
33669
public
:
33670
33674
maskPointChin
();
33675
33677
static
const
std::int32_t
ID
= 534995335;
33678
33684
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33685
};
33686
33687
class
MaskPoint
;
33688
33692
class
maskPosition
final :
public
Object
{
33697
std::int32_t get_id()
const
final
{
33698
return
ID
;
33699
}
33700
33701
public
:
33703
object_ptr<MaskPoint>
point_
;
33705
double
x_shift_
;
33707
double
y_shift_
;
33709
double
scale_
;
33710
33714
maskPosition
();
33715
33724
maskPosition
(
object_ptr<MaskPoint>
&&
point_
,
double
x_shift_
,
double
y_shift_
,
double
scale_
);
33725
33727
static
const
std::int32_t
ID
= -2097433026;
33728
33734
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33735
};
33736
33737
class
MessageContent
;
33738
33739
class
MessageReplyTo
;
33740
33741
class
MessageSchedulingState
;
33742
33743
class
MessageSelfDestructType
;
33744
33745
class
MessageSender
;
33746
33747
class
MessageSendingState
;
33748
33749
class
ReplyMarkup
;
33750
33751
class
factCheck
;
33752
33753
class
messageForwardInfo
;
33754
33755
class
messageImportInfo
;
33756
33757
class
messageInteractionInfo
;
33758
33759
class
unreadReaction
;
33760
33764
class
message
final :
public
Object
{
33769
std::int32_t get_id()
const
final
{
33770
return
ID
;
33771
}
33772
33773
public
:
33775
int53
id_
;
33777
object_ptr<MessageSender>
sender_id_
;
33779
int53
chat_id_
;
33781
object_ptr<MessageSendingState>
sending_state_
;
33783
object_ptr<MessageSchedulingState>
scheduling_state_
;
33785
bool
is_outgoing_
;
33787
bool
is_pinned_
;
33789
bool
is_from_offline_
;
33791
bool
can_be_saved_
;
33793
bool
has_timestamped_media_
;
33795
bool
is_channel_post_
;
33797
bool
is_topic_message_
;
33799
bool
contains_unread_mention_
;
33801
int32
date_
;
33803
int32
edit_date_
;
33805
object_ptr<messageForwardInfo>
forward_info_
;
33807
object_ptr<messageImportInfo>
import_info_
;
33809
object_ptr<messageInteractionInfo>
interaction_info_
;
33811
array<object_ptr<unreadReaction>
>
unread_reactions_
;
33813
object_ptr<factCheck>
fact_check_
;
33815
object_ptr<MessageReplyTo>
reply_to_
;
33817
int53
message_thread_id_
;
33819
int53
saved_messages_topic_id_
;
33821
object_ptr<MessageSelfDestructType>
self_destruct_type_
;
33823
double
self_destruct_in_
;
33825
double
auto_delete_in_
;
33827
int53
via_bot_user_id_
;
33829
int53
sender_business_bot_user_id_
;
33831
int32
sender_boost_count_
;
33833
int53
paid_message_star_count_
;
33835
string
author_signature_
;
33837
int64
media_album_id_
;
33839
int64
effect_id_
;
33841
bool
has_sensitive_content_
;
33843
string
restriction_reason_
;
33845
object_ptr<MessageContent>
content_
;
33847
object_ptr<ReplyMarkup>
reply_markup_
;
33848
33852
message
();
33853
33895
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_topic_message_
,
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<MessageReplyTo>
&&
reply_to_
,
int53
message_thread_id_
,
int53
saved_messages_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_
,
bool
has_sensitive_content_
,
string
const
&
restriction_reason_
,
object_ptr<MessageContent>
&&
content_
,
object_ptr<ReplyMarkup>
&&
reply_markup_
);
33896
33898
static
const
std::int32_t
ID
= 726001662;
33899
33905
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33906
};
33907
33911
class
messageAutoDeleteTime
final :
public
Object
{
33916
std::int32_t get_id()
const
final
{
33917
return
ID
;
33918
}
33919
33920
public
:
33922
int32
time_
;
33923
33927
messageAutoDeleteTime
();
33928
33934
explicit
messageAutoDeleteTime
(
int32
time_
);
33935
33937
static
const
std::int32_t
ID
= 1972045589;
33938
33944
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33945
};
33946
33947
class
messageCalendarDay
;
33948
33952
class
messageCalendar
final :
public
Object
{
33957
std::int32_t get_id()
const
final
{
33958
return
ID
;
33959
}
33960
33961
public
:
33963
int32
total_count_
;
33965
array<object_ptr<messageCalendarDay>
>
days_
;
33966
33970
messageCalendar
();
33971
33978
messageCalendar
(
int32
total_count_
,
array
<
object_ptr<messageCalendarDay>
> &&
days_
);
33979
33981
static
const
std::int32_t
ID
= -1682890519;
33982
33988
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
33989
};
33990
33991
class
message
;
33992
33996
class
messageCalendarDay
final :
public
Object
{
34001
std::int32_t get_id()
const
final
{
34002
return
ID
;
34003
}
34004
34005
public
:
34007
int32
total_count_
;
34009
object_ptr<message>
message_
;
34010
34014
messageCalendarDay
();
34015
34022
messageCalendarDay
(
int32
total_count_
,
object_ptr<message>
&&
message_
);
34023
34025
static
const
std::int32_t
ID
= -376467614;
34026
34032
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34033
};
34034
34035
class
BotWriteAccessAllowReason
;
34036
34037
class
CallDiscardReason
;
34038
34039
class
DiceStickers
;
34040
34041
class
GiveawayPrize
;
34042
34043
class
MessageSender
;
34044
34045
class
PaidMedia
;
34046
34047
class
PassportElementType
;
34048
34049
class
alternativeVideo
;
34050
34051
class
animatedEmoji
;
34052
34053
class
animation
;
34054
34055
class
audio
;
34056
34057
class
chatBackground
;
34058
34059
class
chatPhoto
;
34060
34061
class
contact
;
34062
34063
class
document
;
34064
34065
class
encryptedCredentials
;
34066
34067
class
encryptedPassportElement
;
34068
34069
class
formattedText
;
34070
34071
class
forumTopicIcon
;
34072
34073
class
game
;
34074
34075
class
gift
;
34076
34077
class
giveawayParameters
;
34078
34079
class
linkPreview
;
34080
34081
class
linkPreviewOptions
;
34082
34083
class
location
;
34084
34085
class
orderInfo
;
34086
34087
class
photo
;
34088
34089
class
poll
;
34090
34091
class
productInfo
;
34092
34093
class
sharedChat
;
34094
34095
class
sharedUser
;
34096
34097
class
sticker
;
34098
34099
class
upgradedGift
;
34100
34101
class
venue
;
34102
34103
class
video
;
34104
34105
class
videoNote
;
34106
34107
class
voiceNote
;
34108
34113
class
MessageContent
:
public
Object
{
34114
public
:
34115
};
34116
34120
class
messageText
final :
public
MessageContent
{
34125
std::int32_t get_id()
const
final
{
34126
return
ID
;
34127
}
34128
34129
public
:
34131
object_ptr<formattedText>
text_
;
34133
object_ptr<linkPreview>
link_preview_
;
34135
object_ptr<linkPreviewOptions>
link_preview_options_
;
34136
34140
messageText
();
34141
34149
messageText
(
object_ptr<formattedText>
&&
text_
,
object_ptr<linkPreview>
&&
link_preview_
,
object_ptr<linkPreviewOptions>
&&
link_preview_options_
);
34150
34152
static
const
std::int32_t
ID
= 1751469188;
34153
34159
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34160
};
34161
34165
class
messageAnimation
final :
public
MessageContent
{
34170
std::int32_t get_id()
const
final
{
34171
return
ID
;
34172
}
34173
34174
public
:
34176
object_ptr<animation>
animation_
;
34178
object_ptr<formattedText>
caption_
;
34180
bool
show_caption_above_media_
;
34182
bool
has_spoiler_
;
34184
bool
is_secret_
;
34185
34189
messageAnimation
();
34190
34200
messageAnimation
(
object_ptr<animation>
&&
animation_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
bool
has_spoiler_
,
bool
is_secret_
);
34201
34203
static
const
std::int32_t
ID
= -1899294424;
34204
34210
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34211
};
34212
34216
class
messageAudio
final :
public
MessageContent
{
34221
std::int32_t get_id()
const
final
{
34222
return
ID
;
34223
}
34224
34225
public
:
34227
object_ptr<audio>
audio_
;
34229
object_ptr<formattedText>
caption_
;
34230
34234
messageAudio
();
34235
34242
messageAudio
(
object_ptr<audio>
&&
audio_
,
object_ptr<formattedText>
&&
caption_
);
34243
34245
static
const
std::int32_t
ID
= 276722716;
34246
34252
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34253
};
34254
34258
class
messageDocument
final :
public
MessageContent
{
34263
std::int32_t get_id()
const
final
{
34264
return
ID
;
34265
}
34266
34267
public
:
34269
object_ptr<document>
document_
;
34271
object_ptr<formattedText>
caption_
;
34272
34276
messageDocument
();
34277
34284
messageDocument
(
object_ptr<document>
&&
document_
,
object_ptr<formattedText>
&&
caption_
);
34285
34287
static
const
std::int32_t
ID
= 596945783;
34288
34294
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34295
};
34296
34300
class
messagePaidMedia
final :
public
MessageContent
{
34305
std::int32_t get_id()
const
final
{
34306
return
ID
;
34307
}
34308
34309
public
:
34311
int53
star_count_
;
34313
array<object_ptr<PaidMedia>
>
media_
;
34315
object_ptr<formattedText>
caption_
;
34317
bool
show_caption_above_media_
;
34318
34322
messagePaidMedia
();
34323
34332
messagePaidMedia
(
int53
star_count_
,
array
<
object_ptr<PaidMedia>
> &&
media_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
);
34333
34335
static
const
std::int32_t
ID
= -724750073;
34336
34342
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34343
};
34344
34348
class
messagePhoto
final :
public
MessageContent
{
34353
std::int32_t get_id()
const
final
{
34354
return
ID
;
34355
}
34356
34357
public
:
34359
object_ptr<photo>
photo_
;
34361
object_ptr<formattedText>
caption_
;
34363
bool
show_caption_above_media_
;
34365
bool
has_spoiler_
;
34367
bool
is_secret_
;
34368
34372
messagePhoto
();
34373
34383
messagePhoto
(
object_ptr<photo>
&&
photo_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
bool
has_spoiler_
,
bool
is_secret_
);
34384
34386
static
const
std::int32_t
ID
= 1967947295;
34387
34393
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34394
};
34395
34399
class
messageSticker
final :
public
MessageContent
{
34404
std::int32_t get_id()
const
final
{
34405
return
ID
;
34406
}
34407
34408
public
:
34410
object_ptr<sticker>
sticker_
;
34412
bool
is_premium_
;
34413
34417
messageSticker
();
34418
34425
messageSticker
(
object_ptr<sticker>
&&
sticker_
,
bool
is_premium_
);
34426
34428
static
const
std::int32_t
ID
= -437199670;
34429
34435
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34436
};
34437
34441
class
messageVideo
final :
public
MessageContent
{
34446
std::int32_t get_id()
const
final
{
34447
return
ID
;
34448
}
34449
34450
public
:
34452
object_ptr<video>
video_
;
34454
array<object_ptr<alternativeVideo>
>
alternative_videos_
;
34456
object_ptr<photo>
cover_
;
34458
int32
start_timestamp_
;
34460
object_ptr<formattedText>
caption_
;
34462
bool
show_caption_above_media_
;
34464
bool
has_spoiler_
;
34466
bool
is_secret_
;
34467
34471
messageVideo
();
34472
34485
messageVideo
(
object_ptr<video>
&&
video_
,
array
<
object_ptr<alternativeVideo>
> &&
alternative_videos_
,
object_ptr<photo>
&&
cover_
,
int32
start_timestamp_
,
object_ptr<formattedText>
&&
caption_
,
bool
show_caption_above_media_
,
bool
has_spoiler_
,
bool
is_secret_
);
34486
34488
static
const
std::int32_t
ID
= 374791437;
34489
34495
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34496
};
34497
34501
class
messageVideoNote
final :
public
MessageContent
{
34506
std::int32_t get_id()
const
final
{
34507
return
ID
;
34508
}
34509
34510
public
:
34512
object_ptr<videoNote>
video_note_
;
34514
bool
is_viewed_
;
34516
bool
is_secret_
;
34517
34521
messageVideoNote
();
34522
34530
messageVideoNote
(
object_ptr<videoNote>
&&
video_note_
,
bool
is_viewed_
,
bool
is_secret_
);
34531
34533
static
const
std::int32_t
ID
= 963323014;
34534
34540
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34541
};
34542
34546
class
messageVoiceNote
final :
public
MessageContent
{
34551
std::int32_t get_id()
const
final
{
34552
return
ID
;
34553
}
34554
34555
public
:
34557
object_ptr<voiceNote>
voice_note_
;
34559
object_ptr<formattedText>
caption_
;
34561
bool
is_listened_
;
34562
34566
messageVoiceNote
();
34567
34575
messageVoiceNote
(
object_ptr<voiceNote>
&&
voice_note_
,
object_ptr<formattedText>
&&
caption_
,
bool
is_listened_
);
34576
34578
static
const
std::int32_t
ID
= 527777781;
34579
34585
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34586
};
34587
34591
class
messageExpiredPhoto
final :
public
MessageContent
{
34596
std::int32_t get_id()
const
final
{
34597
return
ID
;
34598
}
34599
34600
public
:
34601
34605
messageExpiredPhoto
();
34606
34608
static
const
std::int32_t
ID
= -1404641801;
34609
34615
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34616
};
34617
34621
class
messageExpiredVideo
final :
public
MessageContent
{
34626
std::int32_t get_id()
const
final
{
34627
return
ID
;
34628
}
34629
34630
public
:
34631
34635
messageExpiredVideo
();
34636
34638
static
const
std::int32_t
ID
= -1212209981;
34639
34645
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34646
};
34647
34651
class
messageExpiredVideoNote
final :
public
MessageContent
{
34656
std::int32_t get_id()
const
final
{
34657
return
ID
;
34658
}
34659
34660
public
:
34661
34665
messageExpiredVideoNote
();
34666
34668
static
const
std::int32_t
ID
= 599540711;
34669
34675
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34676
};
34677
34681
class
messageExpiredVoiceNote
final :
public
MessageContent
{
34686
std::int32_t get_id()
const
final
{
34687
return
ID
;
34688
}
34689
34690
public
:
34691
34695
messageExpiredVoiceNote
();
34696
34698
static
const
std::int32_t
ID
= 143684989;
34699
34705
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34706
};
34707
34711
class
messageLocation
final :
public
MessageContent
{
34716
std::int32_t get_id()
const
final
{
34717
return
ID
;
34718
}
34719
34720
public
:
34722
object_ptr<location>
location_
;
34724
int32
live_period_
;
34726
int32
expires_in_
;
34728
int32
heading_
;
34730
int32
proximity_alert_radius_
;
34731
34735
messageLocation
();
34736
34746
messageLocation
(
object_ptr<location>
&&
location_
,
int32
live_period_
,
int32
expires_in_
,
int32
heading_
,
int32
proximity_alert_radius_
);
34747
34749
static
const
std::int32_t
ID
= 303973492;
34750
34756
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34757
};
34758
34762
class
messageVenue
final :
public
MessageContent
{
34767
std::int32_t get_id()
const
final
{
34768
return
ID
;
34769
}
34770
34771
public
:
34773
object_ptr<venue>
venue_
;
34774
34778
messageVenue
();
34779
34785
explicit
messageVenue
(
object_ptr<venue>
&&
venue_
);
34786
34788
static
const
std::int32_t
ID
= -2146492043;
34789
34795
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34796
};
34797
34801
class
messageContact
final :
public
MessageContent
{
34806
std::int32_t get_id()
const
final
{
34807
return
ID
;
34808
}
34809
34810
public
:
34812
object_ptr<contact>
contact_
;
34813
34817
messageContact
();
34818
34824
explicit
messageContact
(
object_ptr<contact>
&&
contact_
);
34825
34827
static
const
std::int32_t
ID
= -512684966;
34828
34834
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34835
};
34836
34840
class
messageAnimatedEmoji
final :
public
MessageContent
{
34845
std::int32_t get_id()
const
final
{
34846
return
ID
;
34847
}
34848
34849
public
:
34851
object_ptr<animatedEmoji>
animated_emoji_
;
34853
string
emoji_
;
34854
34858
messageAnimatedEmoji
();
34859
34866
messageAnimatedEmoji
(
object_ptr<animatedEmoji>
&&
animated_emoji_
,
string
const
&
emoji_
);
34867
34869
static
const
std::int32_t
ID
= 908195298;
34870
34876
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34877
};
34878
34882
class
messageDice
final :
public
MessageContent
{
34887
std::int32_t get_id()
const
final
{
34888
return
ID
;
34889
}
34890
34891
public
:
34893
object_ptr<DiceStickers>
initial_state_
;
34895
object_ptr<DiceStickers>
final_state_
;
34897
string
emoji_
;
34899
int32
value_
;
34901
int32
success_animation_frame_number_
;
34902
34906
messageDice
();
34907
34917
messageDice
(
object_ptr<DiceStickers>
&&
initial_state_
,
object_ptr<DiceStickers>
&&
final_state_
,
string
const
&
emoji_
,
int32
value_
,
int32
success_animation_frame_number_
);
34918
34920
static
const
std::int32_t
ID
= 1115779641;
34921
34927
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34928
};
34929
34933
class
messageGame
final :
public
MessageContent
{
34938
std::int32_t get_id()
const
final
{
34939
return
ID
;
34940
}
34941
34942
public
:
34944
object_ptr<game>
game_
;
34945
34949
messageGame
();
34950
34956
explicit
messageGame
(
object_ptr<game>
&&
game_
);
34957
34959
static
const
std::int32_t
ID
= -69441162;
34960
34966
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
34967
};
34968
34972
class
messagePoll
final :
public
MessageContent
{
34977
std::int32_t get_id()
const
final
{
34978
return
ID
;
34979
}
34980
34981
public
:
34983
object_ptr<poll>
poll_
;
34984
34988
messagePoll
();
34989
34995
explicit
messagePoll
(
object_ptr<poll>
&&
poll_
);
34996
34998
static
const
std::int32_t
ID
= -662130099;
34999
35005
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35006
};
35007
35011
class
messageStory
final :
public
MessageContent
{
35016
std::int32_t get_id()
const
final
{
35017
return
ID
;
35018
}
35019
35020
public
:
35022
int53
story_poster_chat_id_
;
35024
int32
story_id_
;
35026
bool
via_mention_
;
35027
35031
messageStory
();
35032
35040
messageStory
(
int53
story_poster_chat_id_
,
int32
story_id_
,
bool
via_mention_
);
35041
35043
static
const
std::int32_t
ID
= 1514236353;
35044
35050
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35051
};
35052
35056
class
messageInvoice
final :
public
MessageContent
{
35061
std::int32_t get_id()
const
final
{
35062
return
ID
;
35063
}
35064
35065
public
:
35067
object_ptr<productInfo>
product_info_
;
35069
string
currency_
;
35071
int53
total_amount_
;
35073
string
start_parameter_
;
35075
bool
is_test_
;
35077
bool
need_shipping_address_
;
35079
int53
receipt_message_id_
;
35081
object_ptr<PaidMedia>
paid_media_
;
35083
object_ptr<formattedText>
paid_media_caption_
;
35084
35088
messageInvoice
();
35089
35103
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_
);
35104
35106
static
const
std::int32_t
ID
= 263060806;
35107
35113
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35114
};
35115
35119
class
messageCall
final :
public
MessageContent
{
35124
std::int32_t get_id()
const
final
{
35125
return
ID
;
35126
}
35127
35128
public
:
35130
bool
is_video_
;
35132
object_ptr<CallDiscardReason>
discard_reason_
;
35134
int32
duration_
;
35135
35139
messageCall
();
35140
35148
messageCall
(
bool
is_video_
,
object_ptr<CallDiscardReason>
&&
discard_reason_
,
int32
duration_
);
35149
35151
static
const
std::int32_t
ID
= 538893824;
35152
35158
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35159
};
35160
35164
class
messageGroupCall
final :
public
MessageContent
{
35169
std::int32_t get_id()
const
final
{
35170
return
ID
;
35171
}
35172
35173
public
:
35175
bool
is_active_
;
35177
bool
was_missed_
;
35179
bool
is_video_
;
35181
int32
duration_
;
35183
array<object_ptr<MessageSender>
>
other_participant_ids_
;
35184
35188
messageGroupCall
();
35189
35199
messageGroupCall
(
bool
is_active_
,
bool
was_missed_
,
bool
is_video_
,
int32
duration_
,
array
<
object_ptr<MessageSender>
> &&
other_participant_ids_
);
35200
35202
static
const
std::int32_t
ID
= 1370396295;
35203
35209
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35210
};
35211
35215
class
messageVideoChatScheduled
final :
public
MessageContent
{
35220
std::int32_t get_id()
const
final
{
35221
return
ID
;
35222
}
35223
35224
public
:
35226
int32
group_call_id_
;
35228
int32
start_date_
;
35229
35233
messageVideoChatScheduled
();
35234
35241
messageVideoChatScheduled
(
int32
group_call_id_
,
int32
start_date_
);
35242
35244
static
const
std::int32_t
ID
= -1855185481;
35245
35251
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35252
};
35253
35257
class
messageVideoChatStarted
final :
public
MessageContent
{
35262
std::int32_t get_id()
const
final
{
35263
return
ID
;
35264
}
35265
35266
public
:
35268
int32
group_call_id_
;
35269
35273
messageVideoChatStarted
();
35274
35280
explicit
messageVideoChatStarted
(
int32
group_call_id_
);
35281
35283
static
const
std::int32_t
ID
= 521225561;
35284
35290
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35291
};
35292
35296
class
messageVideoChatEnded
final :
public
MessageContent
{
35301
std::int32_t get_id()
const
final
{
35302
return
ID
;
35303
}
35304
35305
public
:
35307
int32
duration_
;
35308
35312
messageVideoChatEnded
();
35313
35319
explicit
messageVideoChatEnded
(
int32
duration_
);
35320
35322
static
const
std::int32_t
ID
= 2032544855;
35323
35329
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35330
};
35331
35335
class
messageInviteVideoChatParticipants
final :
public
MessageContent
{
35340
std::int32_t get_id()
const
final
{
35341
return
ID
;
35342
}
35343
35344
public
:
35346
int32
group_call_id_
;
35348
array<int53>
user_ids_
;
35349
35353
messageInviteVideoChatParticipants
();
35354
35361
messageInviteVideoChatParticipants
(
int32
group_call_id_
,
array<int53>
&&
user_ids_
);
35362
35364
static
const
std::int32_t
ID
= -1459065585;
35365
35371
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35372
};
35373
35377
class
messageBasicGroupChatCreate
final :
public
MessageContent
{
35382
std::int32_t get_id()
const
final
{
35383
return
ID
;
35384
}
35385
35386
public
:
35388
string
title_
;
35390
array<int53>
member_user_ids_
;
35391
35395
messageBasicGroupChatCreate
();
35396
35403
messageBasicGroupChatCreate
(
string
const
&
title_
,
array<int53>
&&
member_user_ids_
);
35404
35406
static
const
std::int32_t
ID
= 795404060;
35407
35413
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35414
};
35415
35419
class
messageSupergroupChatCreate
final :
public
MessageContent
{
35424
std::int32_t get_id()
const
final
{
35425
return
ID
;
35426
}
35427
35428
public
:
35430
string
title_
;
35431
35435
messageSupergroupChatCreate
();
35436
35442
explicit
messageSupergroupChatCreate
(
string
const
&
title_
);
35443
35445
static
const
std::int32_t
ID
= -434325733;
35446
35452
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35453
};
35454
35458
class
messageChatChangeTitle
final :
public
MessageContent
{
35463
std::int32_t get_id()
const
final
{
35464
return
ID
;
35465
}
35466
35467
public
:
35469
string
title_
;
35470
35474
messageChatChangeTitle
();
35475
35481
explicit
messageChatChangeTitle
(
string
const
&
title_
);
35482
35484
static
const
std::int32_t
ID
= 748272449;
35485
35491
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35492
};
35493
35497
class
messageChatChangePhoto
final :
public
MessageContent
{
35502
std::int32_t get_id()
const
final
{
35503
return
ID
;
35504
}
35505
35506
public
:
35508
object_ptr<chatPhoto>
photo_
;
35509
35513
messageChatChangePhoto
();
35514
35520
explicit
messageChatChangePhoto
(
object_ptr<chatPhoto>
&&
photo_
);
35521
35523
static
const
std::int32_t
ID
= -813415093;
35524
35530
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35531
};
35532
35536
class
messageChatDeletePhoto
final :
public
MessageContent
{
35541
std::int32_t get_id()
const
final
{
35542
return
ID
;
35543
}
35544
35545
public
:
35546
35550
messageChatDeletePhoto
();
35551
35553
static
const
std::int32_t
ID
= -184374809;
35554
35560
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35561
};
35562
35566
class
messageChatAddMembers
final :
public
MessageContent
{
35571
std::int32_t get_id()
const
final
{
35572
return
ID
;
35573
}
35574
35575
public
:
35577
array<int53>
member_user_ids_
;
35578
35582
messageChatAddMembers
();
35583
35589
explicit
messageChatAddMembers
(
array<int53>
&&
member_user_ids_
);
35590
35592
static
const
std::int32_t
ID
= 1701117908;
35593
35599
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35600
};
35601
35605
class
messageChatJoinByLink
final :
public
MessageContent
{
35610
std::int32_t get_id()
const
final
{
35611
return
ID
;
35612
}
35613
35614
public
:
35615
35619
messageChatJoinByLink
();
35620
35622
static
const
std::int32_t
ID
= 1846493311;
35623
35629
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35630
};
35631
35635
class
messageChatJoinByRequest
final :
public
MessageContent
{
35640
std::int32_t get_id()
const
final
{
35641
return
ID
;
35642
}
35643
35644
public
:
35645
35649
messageChatJoinByRequest
();
35650
35652
static
const
std::int32_t
ID
= 1195428732;
35653
35659
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35660
};
35661
35665
class
messageChatDeleteMember
final :
public
MessageContent
{
35670
std::int32_t get_id()
const
final
{
35671
return
ID
;
35672
}
35673
35674
public
:
35676
int53
user_id_
;
35677
35681
messageChatDeleteMember
();
35682
35688
explicit
messageChatDeleteMember
(
int53
user_id_
);
35689
35691
static
const
std::int32_t
ID
= 938029481;
35692
35698
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35699
};
35700
35704
class
messageChatUpgradeTo
final :
public
MessageContent
{
35709
std::int32_t get_id()
const
final
{
35710
return
ID
;
35711
}
35712
35713
public
:
35715
int53
supergroup_id_
;
35716
35720
messageChatUpgradeTo
();
35721
35727
explicit
messageChatUpgradeTo
(
int53
supergroup_id_
);
35728
35730
static
const
std::int32_t
ID
= 104813723;
35731
35737
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35738
};
35739
35743
class
messageChatUpgradeFrom
final :
public
MessageContent
{
35748
std::int32_t get_id()
const
final
{
35749
return
ID
;
35750
}
35751
35752
public
:
35754
string
title_
;
35756
int53
basic_group_id_
;
35757
35761
messageChatUpgradeFrom
();
35762
35769
messageChatUpgradeFrom
(
string
const
&
title_
,
int53
basic_group_id_
);
35770
35772
static
const
std::int32_t
ID
= 325954268;
35773
35779
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35780
};
35781
35785
class
messagePinMessage
final :
public
MessageContent
{
35790
std::int32_t get_id()
const
final
{
35791
return
ID
;
35792
}
35793
35794
public
:
35796
int53
message_id_
;
35797
35801
messagePinMessage
();
35802
35808
explicit
messagePinMessage
(
int53
message_id_
);
35809
35811
static
const
std::int32_t
ID
= 953503801;
35812
35818
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35819
};
35820
35824
class
messageScreenshotTaken
final :
public
MessageContent
{
35829
std::int32_t get_id()
const
final
{
35830
return
ID
;
35831
}
35832
35833
public
:
35834
35838
messageScreenshotTaken
();
35839
35841
static
const
std::int32_t
ID
= -1564971605;
35842
35848
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35849
};
35850
35854
class
messageChatSetBackground
final :
public
MessageContent
{
35859
std::int32_t get_id()
const
final
{
35860
return
ID
;
35861
}
35862
35863
public
:
35865
int53
old_background_message_id_
;
35867
object_ptr<chatBackground>
background_
;
35869
bool
only_for_self_
;
35870
35874
messageChatSetBackground
();
35875
35883
messageChatSetBackground
(
int53
old_background_message_id_
,
object_ptr<chatBackground>
&&
background_
,
bool
only_for_self_
);
35884
35886
static
const
std::int32_t
ID
= 1029536832;
35887
35893
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35894
};
35895
35899
class
messageChatSetTheme
final :
public
MessageContent
{
35904
std::int32_t get_id()
const
final
{
35905
return
ID
;
35906
}
35907
35908
public
:
35910
string
theme_name_
;
35911
35915
messageChatSetTheme
();
35916
35922
explicit
messageChatSetTheme
(
string
const
&
theme_name_
);
35923
35925
static
const
std::int32_t
ID
= -1716612088;
35926
35932
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35933
};
35934
35938
class
messageChatSetMessageAutoDeleteTime
final :
public
MessageContent
{
35943
std::int32_t get_id()
const
final
{
35944
return
ID
;
35945
}
35946
35947
public
:
35949
int32
message_auto_delete_time_
;
35951
int53
from_user_id_
;
35952
35956
messageChatSetMessageAutoDeleteTime
();
35957
35964
messageChatSetMessageAutoDeleteTime
(
int32
message_auto_delete_time_
,
int53
from_user_id_
);
35965
35967
static
const
std::int32_t
ID
= 1637745966;
35968
35974
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
35975
};
35976
35980
class
messageChatBoost
final :
public
MessageContent
{
35985
std::int32_t get_id()
const
final
{
35986
return
ID
;
35987
}
35988
35989
public
:
35991
int32
boost_count_
;
35992
35996
messageChatBoost
();
35997
36003
explicit
messageChatBoost
(
int32
boost_count_
);
36004
36006
static
const
std::int32_t
ID
= 1583310219;
36007
36013
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36014
};
36015
36019
class
messageForumTopicCreated
final :
public
MessageContent
{
36024
std::int32_t get_id()
const
final
{
36025
return
ID
;
36026
}
36027
36028
public
:
36030
string
name_
;
36032
object_ptr<forumTopicIcon>
icon_
;
36033
36037
messageForumTopicCreated
();
36038
36045
messageForumTopicCreated
(
string
const
&
name_
,
object_ptr<forumTopicIcon>
&&
icon_
);
36046
36048
static
const
std::int32_t
ID
= -1194440751;
36049
36055
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36056
};
36057
36061
class
messageForumTopicEdited
final :
public
MessageContent
{
36066
std::int32_t get_id()
const
final
{
36067
return
ID
;
36068
}
36069
36070
public
:
36072
string
name_
;
36074
bool
edit_icon_custom_emoji_id_
;
36076
int64
icon_custom_emoji_id_
;
36077
36081
messageForumTopicEdited
();
36082
36090
messageForumTopicEdited
(
string
const
&
name_
,
bool
edit_icon_custom_emoji_id_
,
int64
icon_custom_emoji_id_
);
36091
36093
static
const
std::int32_t
ID
= 12629888;
36094
36100
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36101
};
36102
36106
class
messageForumTopicIsClosedToggled
final :
public
MessageContent
{
36111
std::int32_t get_id()
const
final
{
36112
return
ID
;
36113
}
36114
36115
public
:
36117
bool
is_closed_
;
36118
36122
messageForumTopicIsClosedToggled
();
36123
36129
explicit
messageForumTopicIsClosedToggled
(
bool
is_closed_
);
36130
36132
static
const
std::int32_t
ID
= 1264029664;
36133
36139
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36140
};
36141
36145
class
messageForumTopicIsHiddenToggled
final :
public
MessageContent
{
36150
std::int32_t get_id()
const
final
{
36151
return
ID
;
36152
}
36153
36154
public
:
36156
bool
is_hidden_
;
36157
36161
messageForumTopicIsHiddenToggled
();
36162
36168
explicit
messageForumTopicIsHiddenToggled
(
bool
is_hidden_
);
36169
36171
static
const
std::int32_t
ID
= -1751936002;
36172
36178
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36179
};
36180
36184
class
messageSuggestProfilePhoto
final :
public
MessageContent
{
36189
std::int32_t get_id()
const
final
{
36190
return
ID
;
36191
}
36192
36193
public
:
36195
object_ptr<chatPhoto>
photo_
;
36196
36200
messageSuggestProfilePhoto
();
36201
36207
explicit
messageSuggestProfilePhoto
(
object_ptr<chatPhoto>
&&
photo_
);
36208
36210
static
const
std::int32_t
ID
= -1251926297;
36211
36217
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36218
};
36219
36223
class
messageCustomServiceAction
final :
public
MessageContent
{
36228
std::int32_t get_id()
const
final
{
36229
return
ID
;
36230
}
36231
36232
public
:
36234
string
text_
;
36235
36239
messageCustomServiceAction
();
36240
36246
explicit
messageCustomServiceAction
(
string
const
&
text_
);
36247
36249
static
const
std::int32_t
ID
= 1435879282;
36250
36256
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36257
};
36258
36262
class
messageGameScore
final :
public
MessageContent
{
36267
std::int32_t get_id()
const
final
{
36268
return
ID
;
36269
}
36270
36271
public
:
36273
int53
game_message_id_
;
36275
int64
game_id_
;
36277
int32
score_
;
36278
36282
messageGameScore
();
36283
36291
messageGameScore
(
int53
game_message_id_
,
int64
game_id_
,
int32
score_
);
36292
36294
static
const
std::int32_t
ID
= 1344904575;
36295
36301
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36302
};
36303
36307
class
messagePaymentSuccessful
final :
public
MessageContent
{
36312
std::int32_t get_id()
const
final
{
36313
return
ID
;
36314
}
36315
36316
public
:
36318
int53
invoice_chat_id_
;
36320
int53
invoice_message_id_
;
36322
string
currency_
;
36324
int53
total_amount_
;
36326
int32
subscription_until_date_
;
36328
bool
is_recurring_
;
36330
bool
is_first_recurring_
;
36332
string
invoice_name_
;
36333
36337
messagePaymentSuccessful
();
36338
36351
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_
);
36352
36354
static
const
std::int32_t
ID
= 1046878481;
36355
36361
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36362
};
36363
36367
class
messagePaymentSuccessfulBot
final :
public
MessageContent
{
36372
std::int32_t get_id()
const
final
{
36373
return
ID
;
36374
}
36375
36376
public
:
36378
string
currency_
;
36380
int53
total_amount_
;
36382
int32
subscription_until_date_
;
36384
bool
is_recurring_
;
36386
bool
is_first_recurring_
;
36388
bytes
invoice_payload_
;
36390
string
shipping_option_id_
;
36392
object_ptr<orderInfo>
order_info_
;
36394
string
telegram_payment_charge_id_
;
36396
string
provider_payment_charge_id_
;
36397
36401
messagePaymentSuccessfulBot
();
36402
36417
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_
);
36418
36420
static
const
std::int32_t
ID
= -949596737;
36421
36427
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36428
};
36429
36433
class
messagePaymentRefunded
final :
public
MessageContent
{
36438
std::int32_t get_id()
const
final
{
36439
return
ID
;
36440
}
36441
36442
public
:
36444
object_ptr<MessageSender>
owner_id_
;
36446
string
currency_
;
36448
int53
total_amount_
;
36450
bytes
invoice_payload_
;
36452
string
telegram_payment_charge_id_
;
36454
string
provider_payment_charge_id_
;
36455
36459
messagePaymentRefunded
();
36460
36471
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_
);
36472
36474
static
const
std::int32_t
ID
= 297580787;
36475
36481
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36482
};
36483
36487
class
messageGiftedPremium
final :
public
MessageContent
{
36492
std::int32_t get_id()
const
final
{
36493
return
ID
;
36494
}
36495
36496
public
:
36498
int53
gifter_user_id_
;
36500
int53
receiver_user_id_
;
36502
object_ptr<formattedText>
text_
;
36504
string
currency_
;
36506
int53
amount_
;
36508
string
cryptocurrency_
;
36510
int64
cryptocurrency_amount_
;
36512
int32
month_count_
;
36514
object_ptr<sticker>
sticker_
;
36515
36519
messageGiftedPremium
();
36520
36534
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_
);
36535
36537
static
const
std::int32_t
ID
= -456073094;
36538
36544
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36545
};
36546
36550
class
messagePremiumGiftCode
final :
public
MessageContent
{
36555
std::int32_t get_id()
const
final
{
36556
return
ID
;
36557
}
36558
36559
public
:
36561
object_ptr<MessageSender>
creator_id_
;
36563
object_ptr<formattedText>
text_
;
36565
bool
is_from_giveaway_
;
36567
bool
is_unclaimed_
;
36569
string
currency_
;
36571
int53
amount_
;
36573
string
cryptocurrency_
;
36575
int64
cryptocurrency_amount_
;
36577
int32
month_count_
;
36579
object_ptr<sticker>
sticker_
;
36581
string
code_
;
36582
36586
messagePremiumGiftCode
();
36587
36603
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_
);
36604
36606
static
const
std::int32_t
ID
= 701640270;
36607
36613
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36614
};
36615
36619
class
messageGiveawayCreated
final :
public
MessageContent
{
36624
std::int32_t get_id()
const
final
{
36625
return
ID
;
36626
}
36627
36628
public
:
36630
int53
star_count_
;
36631
36635
messageGiveawayCreated
();
36636
36642
explicit
messageGiveawayCreated
(
int53
star_count_
);
36643
36645
static
const
std::int32_t
ID
= 972252063;
36646
36652
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36653
};
36654
36658
class
messageGiveaway
final :
public
MessageContent
{
36663
std::int32_t get_id()
const
final
{
36664
return
ID
;
36665
}
36666
36667
public
:
36669
object_ptr<giveawayParameters>
parameters_
;
36671
int32
winner_count_
;
36673
object_ptr<GiveawayPrize>
prize_
;
36675
object_ptr<sticker>
sticker_
;
36676
36680
messageGiveaway
();
36681
36690
messageGiveaway
(
object_ptr<giveawayParameters>
&&
parameters_
,
int32
winner_count_
,
object_ptr<GiveawayPrize>
&&
prize_
,
object_ptr<sticker>
&&
sticker_
);
36691
36693
static
const
std::int32_t
ID
= -345908568;
36694
36700
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36701
};
36702
36706
class
messageGiveawayCompleted
final :
public
MessageContent
{
36711
std::int32_t get_id()
const
final
{
36712
return
ID
;
36713
}
36714
36715
public
:
36717
int53
giveaway_message_id_
;
36719
int32
winner_count_
;
36721
bool
is_star_giveaway_
;
36723
int32
unclaimed_prize_count_
;
36724
36728
messageGiveawayCompleted
();
36729
36738
messageGiveawayCompleted
(
int53
giveaway_message_id_
,
int32
winner_count_
,
bool
is_star_giveaway_
,
int32
unclaimed_prize_count_
);
36739
36741
static
const
std::int32_t
ID
= -467351305;
36742
36748
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36749
};
36750
36754
class
messageGiveawayWinners
final :
public
MessageContent
{
36759
std::int32_t get_id()
const
final
{
36760
return
ID
;
36761
}
36762
36763
public
:
36765
int53
boosted_chat_id_
;
36767
int53
giveaway_message_id_
;
36769
int32
additional_chat_count_
;
36771
int32
actual_winners_selection_date_
;
36773
bool
only_new_members_
;
36775
bool
was_refunded_
;
36777
object_ptr<GiveawayPrize>
prize_
;
36779
string
prize_description_
;
36781
int32
winner_count_
;
36783
array<int53>
winner_user_ids_
;
36785
int32
unclaimed_prize_count_
;
36786
36790
messageGiveawayWinners
();
36791
36807
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_
);
36808
36810
static
const
std::int32_t
ID
= 2098585405;
36811
36817
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36818
};
36819
36823
class
messageGiftedStars
final :
public
MessageContent
{
36828
std::int32_t get_id()
const
final
{
36829
return
ID
;
36830
}
36831
36832
public
:
36834
int53
gifter_user_id_
;
36836
int53
receiver_user_id_
;
36838
string
currency_
;
36840
int53
amount_
;
36842
string
cryptocurrency_
;
36844
int64
cryptocurrency_amount_
;
36846
int53
star_count_
;
36848
string
transaction_id_
;
36850
object_ptr<sticker>
sticker_
;
36851
36855
messageGiftedStars
();
36856
36870
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_
);
36871
36873
static
const
std::int32_t
ID
= 1102954151;
36874
36880
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36881
};
36882
36886
class
messageGiveawayPrizeStars
final :
public
MessageContent
{
36891
std::int32_t get_id()
const
final
{
36892
return
ID
;
36893
}
36894
36895
public
:
36897
int53
star_count_
;
36899
string
transaction_id_
;
36901
int53
boosted_chat_id_
;
36903
int53
giveaway_message_id_
;
36905
bool
is_unclaimed_
;
36907
object_ptr<sticker>
sticker_
;
36908
36912
messageGiveawayPrizeStars
();
36913
36924
messageGiveawayPrizeStars
(
int53
star_count_
,
string
const
&
transaction_id_
,
int53
boosted_chat_id_
,
int53
giveaway_message_id_
,
bool
is_unclaimed_
,
object_ptr<sticker>
&&
sticker_
);
36925
36927
static
const
std::int32_t
ID
= -1441833501;
36928
36934
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
36935
};
36936
36940
class
messageGift
final :
public
MessageContent
{
36945
std::int32_t get_id()
const
final
{
36946
return
ID
;
36947
}
36948
36949
public
:
36951
object_ptr<gift>
gift_
;
36953
object_ptr<MessageSender>
sender_id_
;
36955
string
received_gift_id_
;
36957
object_ptr<formattedText>
text_
;
36959
int53
sell_star_count_
;
36961
int53
prepaid_upgrade_star_count_
;
36963
bool
is_private_
;
36965
bool
is_saved_
;
36967
bool
can_be_upgraded_
;
36969
bool
was_converted_
;
36971
bool
was_upgraded_
;
36973
bool
was_refunded_
;
36975
string
upgraded_received_gift_id_
;
36976
36980
messageGift
();
36981
36999
messageGift
(
object_ptr<gift>
&&
gift_
,
object_ptr<MessageSender>
&&
sender_id_
,
string
const
&
received_gift_id_
,
object_ptr<formattedText>
&&
text_
,
int53
sell_star_count_
,
int53
prepaid_upgrade_star_count_
,
bool
is_private_
,
bool
is_saved_
,
bool
can_be_upgraded_
,
bool
was_converted_
,
bool
was_upgraded_
,
bool
was_refunded_
,
string
const
&
upgraded_received_gift_id_
);
37000
37002
static
const
std::int32_t
ID
= 2090444659;
37003
37009
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37010
};
37011
37015
class
messageUpgradedGift
final :
public
MessageContent
{
37020
std::int32_t get_id()
const
final
{
37021
return
ID
;
37022
}
37023
37024
public
:
37026
object_ptr<upgradedGift>
gift_
;
37028
object_ptr<MessageSender>
sender_id_
;
37030
string
received_gift_id_
;
37032
bool
is_upgrade_
;
37034
bool
is_saved_
;
37036
bool
can_be_transferred_
;
37038
bool
was_transferred_
;
37040
int53
last_resale_star_count_
;
37042
int53
transfer_star_count_
;
37044
int32
next_transfer_date_
;
37046
int32
next_resale_date_
;
37048
int32
export_date_
;
37049
37053
messageUpgradedGift
();
37054
37071
messageUpgradedGift
(
object_ptr<upgradedGift>
&&
gift_
,
object_ptr<MessageSender>
&&
sender_id_
,
string
const
&
received_gift_id_
,
bool
is_upgrade_
,
bool
is_saved_
,
bool
can_be_transferred_
,
bool
was_transferred_
,
int53
last_resale_star_count_
,
int53
transfer_star_count_
,
int32
next_transfer_date_
,
int32
next_resale_date_
,
int32
export_date_
);
37072
37074
static
const
std::int32_t
ID
= -1586797067;
37075
37081
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37082
};
37083
37087
class
messageRefundedUpgradedGift
final :
public
MessageContent
{
37092
std::int32_t get_id()
const
final
{
37093
return
ID
;
37094
}
37095
37096
public
:
37098
object_ptr<gift>
gift_
;
37100
object_ptr<MessageSender>
sender_id_
;
37102
bool
is_upgrade_
;
37103
37107
messageRefundedUpgradedGift
();
37108
37116
messageRefundedUpgradedGift
(
object_ptr<gift>
&&
gift_
,
object_ptr<MessageSender>
&&
sender_id_
,
bool
is_upgrade_
);
37117
37119
static
const
std::int32_t
ID
= -1308949479;
37120
37126
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37127
};
37128
37132
class
messagePaidMessagesRefunded
final :
public
MessageContent
{
37137
std::int32_t get_id()
const
final
{
37138
return
ID
;
37139
}
37140
37141
public
:
37143
int32
message_count_
;
37145
int53
star_count_
;
37146
37150
messagePaidMessagesRefunded
();
37151
37158
messagePaidMessagesRefunded
(
int32
message_count_
,
int53
star_count_
);
37159
37161
static
const
std::int32_t
ID
= 580403343;
37162
37168
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37169
};
37170
37174
class
messagePaidMessagePriceChanged
final :
public
MessageContent
{
37179
std::int32_t get_id()
const
final
{
37180
return
ID
;
37181
}
37182
37183
public
:
37185
int53
paid_message_star_count_
;
37186
37190
messagePaidMessagePriceChanged
();
37191
37197
explicit
messagePaidMessagePriceChanged
(
int53
paid_message_star_count_
);
37198
37200
static
const
std::int32_t
ID
= -344945397;
37201
37207
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37208
};
37209
37213
class
messageContactRegistered
final :
public
MessageContent
{
37218
std::int32_t get_id()
const
final
{
37219
return
ID
;
37220
}
37221
37222
public
:
37223
37227
messageContactRegistered
();
37228
37230
static
const
std::int32_t
ID
= -1502020353;
37231
37237
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37238
};
37239
37243
class
messageUsersShared
final :
public
MessageContent
{
37248
std::int32_t get_id()
const
final
{
37249
return
ID
;
37250
}
37251
37252
public
:
37254
array<object_ptr<sharedUser>
>
users_
;
37256
int32
button_id_
;
37257
37261
messageUsersShared
();
37262
37269
messageUsersShared
(
array
<
object_ptr<sharedUser>
> &&
users_
,
int32
button_id_
);
37270
37272
static
const
std::int32_t
ID
= -842442318;
37273
37279
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37280
};
37281
37285
class
messageChatShared
final :
public
MessageContent
{
37290
std::int32_t get_id()
const
final
{
37291
return
ID
;
37292
}
37293
37294
public
:
37296
object_ptr<sharedChat>
chat_
;
37298
int32
button_id_
;
37299
37303
messageChatShared
();
37304
37311
messageChatShared
(
object_ptr<sharedChat>
&&
chat_
,
int32
button_id_
);
37312
37314
static
const
std::int32_t
ID
= -1362699935;
37315
37321
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37322
};
37323
37327
class
messageBotWriteAccessAllowed
final :
public
MessageContent
{
37332
std::int32_t get_id()
const
final
{
37333
return
ID
;
37334
}
37335
37336
public
:
37338
object_ptr<BotWriteAccessAllowReason>
reason_
;
37339
37343
messageBotWriteAccessAllowed
();
37344
37350
explicit
messageBotWriteAccessAllowed
(
object_ptr<BotWriteAccessAllowReason>
&&
reason_
);
37351
37353
static
const
std::int32_t
ID
= -1702185036;
37354
37360
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37361
};
37362
37366
class
messageWebAppDataSent
final :
public
MessageContent
{
37371
std::int32_t get_id()
const
final
{
37372
return
ID
;
37373
}
37374
37375
public
:
37377
string
button_text_
;
37378
37382
messageWebAppDataSent
();
37383
37389
explicit
messageWebAppDataSent
(
string
const
&
button_text_
);
37390
37392
static
const
std::int32_t
ID
= -83674862;
37393
37399
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37400
};
37401
37405
class
messageWebAppDataReceived
final :
public
MessageContent
{
37410
std::int32_t get_id()
const
final
{
37411
return
ID
;
37412
}
37413
37414
public
:
37416
string
button_text_
;
37418
string
data_
;
37419
37423
messageWebAppDataReceived
();
37424
37431
messageWebAppDataReceived
(
string
const
&
button_text_
,
string
const
&
data_
);
37432
37434
static
const
std::int32_t
ID
= -8578539;
37435
37441
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37442
};
37443
37447
class
messagePassportDataSent
final :
public
MessageContent
{
37452
std::int32_t get_id()
const
final
{
37453
return
ID
;
37454
}
37455
37456
public
:
37458
array<object_ptr<PassportElementType>
>
types_
;
37459
37463
messagePassportDataSent
();
37464
37470
explicit
messagePassportDataSent
(
array
<
object_ptr<PassportElementType>
> &&
types_
);
37471
37473
static
const
std::int32_t
ID
= 1017405171;
37474
37480
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37481
};
37482
37486
class
messagePassportDataReceived
final :
public
MessageContent
{
37491
std::int32_t get_id()
const
final
{
37492
return
ID
;
37493
}
37494
37495
public
:
37497
array<object_ptr<encryptedPassportElement>
>
elements_
;
37499
object_ptr<encryptedCredentials>
credentials_
;
37500
37504
messagePassportDataReceived
();
37505
37512
messagePassportDataReceived
(
array
<
object_ptr<encryptedPassportElement>
> &&
elements_
,
object_ptr<encryptedCredentials>
&&
credentials_
);
37513
37515
static
const
std::int32_t
ID
= -1367863624;
37516
37522
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37523
};
37524
37528
class
messageProximityAlertTriggered
final :
public
MessageContent
{
37533
std::int32_t get_id()
const
final
{
37534
return
ID
;
37535
}
37536
37537
public
:
37539
object_ptr<MessageSender>
traveler_id_
;
37541
object_ptr<MessageSender>
watcher_id_
;
37543
int32
distance_
;
37544
37548
messageProximityAlertTriggered
();
37549
37557
messageProximityAlertTriggered
(
object_ptr<MessageSender>
&&
traveler_id_
,
object_ptr<MessageSender>
&&
watcher_id_
,
int32
distance_
);
37558
37560
static
const
std::int32_t
ID
= 67761875;
37561
37567
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37568
};
37569
37573
class
messageUnsupported
final :
public
MessageContent
{
37578
std::int32_t get_id()
const
final
{
37579
return
ID
;
37580
}
37581
37582
public
:
37583
37587
messageUnsupported
();
37588
37590
static
const
std::int32_t
ID
= -1816726139;
37591
37597
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37598
};
37599
37600
class
formattedText
;
37601
37605
class
messageCopyOptions
final :
public
Object
{
37610
std::int32_t get_id()
const
final
{
37611
return
ID
;
37612
}
37613
37614
public
:
37616
bool
send_copy_
;
37618
bool
replace_caption_
;
37620
object_ptr<formattedText>
new_caption_
;
37622
bool
new_show_caption_above_media_
;
37623
37627
messageCopyOptions
();
37628
37637
messageCopyOptions
(
bool
send_copy_
,
bool
replace_caption_
,
object_ptr<formattedText>
&&
new_caption_
,
bool
new_show_caption_above_media_
);
37638
37640
static
const
std::int32_t
ID
= 1079772090;
37641
37647
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37648
};
37649
37650
class
MessageEffectType
;
37651
37652
class
sticker
;
37653
37657
class
messageEffect
final :
public
Object
{
37662
std::int32_t get_id()
const
final
{
37663
return
ID
;
37664
}
37665
37666
public
:
37668
int64
id_
;
37670
object_ptr<sticker>
static_icon_
;
37672
string
emoji_
;
37674
bool
is_premium_
;
37676
object_ptr<MessageEffectType>
type_
;
37677
37681
messageEffect
();
37682
37692
messageEffect
(
int64
id_
,
object_ptr<sticker>
&&
static_icon_
,
string
const
&
emoji_
,
bool
is_premium_
,
object_ptr<MessageEffectType>
&&
type_
);
37693
37695
static
const
std::int32_t
ID
= -1758836433;
37696
37702
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37703
};
37704
37705
class
sticker
;
37706
37711
class
MessageEffectType
:
public
Object
{
37712
public
:
37713
};
37714
37718
class
messageEffectTypeEmojiReaction
final :
public
MessageEffectType
{
37723
std::int32_t get_id()
const
final
{
37724
return
ID
;
37725
}
37726
37727
public
:
37729
object_ptr<sticker>
select_animation_
;
37731
object_ptr<sticker>
effect_animation_
;
37732
37736
messageEffectTypeEmojiReaction
();
37737
37744
messageEffectTypeEmojiReaction
(
object_ptr<sticker>
&&
select_animation_
,
object_ptr<sticker>
&&
effect_animation_
);
37745
37747
static
const
std::int32_t
ID
= 1756079678;
37748
37754
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37755
};
37756
37760
class
messageEffectTypePremiumSticker
final :
public
MessageEffectType
{
37765
std::int32_t get_id()
const
final
{
37766
return
ID
;
37767
}
37768
37769
public
:
37771
object_ptr<sticker>
sticker_
;
37772
37776
messageEffectTypePremiumSticker
();
37777
37783
explicit
messageEffectTypePremiumSticker
(
object_ptr<sticker>
&&
sticker_
);
37784
37786
static
const
std::int32_t
ID
= 1637231609;
37787
37793
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37794
};
37795
37800
class
MessageFileType
:
public
Object
{
37801
public
:
37802
};
37803
37807
class
messageFileTypePrivate
final :
public
MessageFileType
{
37812
std::int32_t get_id()
const
final
{
37813
return
ID
;
37814
}
37815
37816
public
:
37818
string
name_
;
37819
37823
messageFileTypePrivate
();
37824
37830
explicit
messageFileTypePrivate
(
string
const
&
name_
);
37831
37833
static
const
std::int32_t
ID
= -521908524;
37834
37840
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37841
};
37842
37846
class
messageFileTypeGroup
final :
public
MessageFileType
{
37851
std::int32_t get_id()
const
final
{
37852
return
ID
;
37853
}
37854
37855
public
:
37857
string
title_
;
37858
37862
messageFileTypeGroup
();
37863
37869
explicit
messageFileTypeGroup
(
string
const
&
title_
);
37870
37872
static
const
std::int32_t
ID
= -219836568;
37873
37879
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37880
};
37881
37885
class
messageFileTypeUnknown
final :
public
MessageFileType
{
37890
std::int32_t get_id()
const
final
{
37891
return
ID
;
37892
}
37893
37894
public
:
37895
37899
messageFileTypeUnknown
();
37900
37902
static
const
std::int32_t
ID
= 1176353458;
37903
37909
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37910
};
37911
37912
class
MessageOrigin
;
37913
37914
class
forwardSource
;
37915
37919
class
messageForwardInfo
final :
public
Object
{
37924
std::int32_t get_id()
const
final
{
37925
return
ID
;
37926
}
37927
37928
public
:
37930
object_ptr<MessageOrigin>
origin_
;
37932
int32
date_
;
37934
object_ptr<forwardSource>
source_
;
37936
string
public_service_announcement_type_
;
37937
37941
messageForwardInfo
();
37942
37951
messageForwardInfo
(
object_ptr<MessageOrigin>
&&
origin_
,
int32
date_
,
object_ptr<forwardSource>
&&
source_
,
string
const
&
public_service_announcement_type_
);
37952
37954
static
const
std::int32_t
ID
= -880313475;
37955
37961
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
37962
};
37963
37967
class
messageImportInfo
final :
public
Object
{
37972
std::int32_t get_id()
const
final
{
37973
return
ID
;
37974
}
37975
37976
public
:
37978
string
sender_name_
;
37980
int32
date_
;
37981
37985
messageImportInfo
();
37986
37993
messageImportInfo
(
string
const
&
sender_name_
,
int32
date_
);
37994
37996
static
const
std::int32_t
ID
= -421549105;
37997
38003
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38004
};
38005
38006
class
messageReactions
;
38007
38008
class
messageReplyInfo
;
38009
38013
class
messageInteractionInfo
final :
public
Object
{
38018
std::int32_t get_id()
const
final
{
38019
return
ID
;
38020
}
38021
38022
public
:
38024
int32
view_count_
;
38026
int32
forward_count_
;
38028
object_ptr<messageReplyInfo>
reply_info_
;
38030
object_ptr<messageReactions>
reactions_
;
38031
38035
messageInteractionInfo
();
38036
38045
messageInteractionInfo
(
int32
view_count_
,
int32
forward_count_
,
object_ptr<messageReplyInfo>
&&
reply_info_
,
object_ptr<messageReactions>
&&
reactions_
);
38046
38048
static
const
std::int32_t
ID
= 733797893;
38049
38055
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38056
};
38057
38061
class
messageLink
final :
public
Object
{
38066
std::int32_t get_id()
const
final
{
38067
return
ID
;
38068
}
38069
38070
public
:
38072
string
link_
;
38074
bool
is_public_
;
38075
38079
messageLink
();
38080
38087
messageLink
(
string
const
&
link_
,
bool
is_public_
);
38088
38090
static
const
std::int32_t
ID
= -1354089818;
38091
38097
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38098
};
38099
38100
class
message
;
38101
38105
class
messageLinkInfo
final :
public
Object
{
38110
std::int32_t get_id()
const
final
{
38111
return
ID
;
38112
}
38113
38114
public
:
38116
bool
is_public_
;
38118
int53
chat_id_
;
38120
int53
message_thread_id_
;
38122
object_ptr<message>
message_
;
38124
int32
media_timestamp_
;
38126
bool
for_album_
;
38127
38131
messageLinkInfo
();
38132
38143
messageLinkInfo
(
bool
is_public_
,
int53
chat_id_
,
int53
message_thread_id_
,
object_ptr<message>
&&
message_
,
int32
media_timestamp_
,
bool
for_album_
);
38144
38146
static
const
std::int32_t
ID
= 731315024;
38147
38153
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38154
};
38155
38160
class
MessageOrigin
:
public
Object
{
38161
public
:
38162
};
38163
38167
class
messageOriginUser
final :
public
MessageOrigin
{
38172
std::int32_t get_id()
const
final
{
38173
return
ID
;
38174
}
38175
38176
public
:
38178
int53
sender_user_id_
;
38179
38183
messageOriginUser
();
38184
38190
explicit
messageOriginUser
(
int53
sender_user_id_
);
38191
38193
static
const
std::int32_t
ID
= -1677684669;
38194
38200
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38201
};
38202
38206
class
messageOriginHiddenUser
final :
public
MessageOrigin
{
38211
std::int32_t get_id()
const
final
{
38212
return
ID
;
38213
}
38214
38215
public
:
38217
string
sender_name_
;
38218
38222
messageOriginHiddenUser
();
38223
38229
explicit
messageOriginHiddenUser
(
string
const
&
sender_name_
);
38230
38232
static
const
std::int32_t
ID
= -317971494;
38233
38239
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38240
};
38241
38245
class
messageOriginChat
final :
public
MessageOrigin
{
38250
std::int32_t get_id()
const
final
{
38251
return
ID
;
38252
}
38253
38254
public
:
38256
int53
sender_chat_id_
;
38258
string
author_signature_
;
38259
38263
messageOriginChat
();
38264
38271
messageOriginChat
(
int53
sender_chat_id_
,
string
const
&
author_signature_
);
38272
38274
static
const
std::int32_t
ID
= -205824332;
38275
38281
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38282
};
38283
38287
class
messageOriginChannel
final :
public
MessageOrigin
{
38292
std::int32_t get_id()
const
final
{
38293
return
ID
;
38294
}
38295
38296
public
:
38298
int53
chat_id_
;
38300
int53
message_id_
;
38302
string
author_signature_
;
38303
38307
messageOriginChannel
();
38308
38316
messageOriginChannel
(
int53
chat_id_
,
int53
message_id_
,
string
const
&
author_signature_
);
38317
38319
static
const
std::int32_t
ID
= -1451535938;
38320
38326
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38327
};
38328
38332
class
messagePosition
final :
public
Object
{
38337
std::int32_t get_id()
const
final
{
38338
return
ID
;
38339
}
38340
38341
public
:
38343
int32
position_
;
38345
int53
message_id_
;
38347
int32
date_
;
38348
38352
messagePosition
();
38353
38361
messagePosition
(
int32
position_
,
int53
message_id_
,
int32
date_
);
38362
38364
static
const
std::int32_t
ID
= 1292189935;
38365
38371
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38372
};
38373
38374
class
messagePosition
;
38375
38379
class
messagePositions
final :
public
Object
{
38384
std::int32_t get_id()
const
final
{
38385
return
ID
;
38386
}
38387
38388
public
:
38390
int32
total_count_
;
38392
array<object_ptr<messagePosition>
>
positions_
;
38393
38397
messagePositions
();
38398
38405
messagePositions
(
int32
total_count_
,
array
<
object_ptr<messagePosition>
> &&
positions_
);
38406
38408
static
const
std::int32_t
ID
= -1930466649;
38409
38415
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38416
};
38417
38421
class
messageProperties
final :
public
Object
{
38426
std::int32_t get_id()
const
final
{
38427
return
ID
;
38428
}
38429
38430
public
:
38432
bool
can_be_copied_to_secret_chat_
;
38434
bool
can_be_deleted_only_for_self_
;
38436
bool
can_be_deleted_for_all_users_
;
38438
bool
can_be_edited_
;
38440
bool
can_be_forwarded_
;
38442
bool
can_be_paid_
;
38444
bool
can_be_pinned_
;
38446
bool
can_be_replied_
;
38448
bool
can_be_replied_in_another_chat_
;
38450
bool
can_be_saved_
;
38452
bool
can_be_shared_in_story_
;
38454
bool
can_edit_media_
;
38456
bool
can_edit_scheduling_state_
;
38458
bool
can_get_embedding_code_
;
38460
bool
can_get_link_
;
38462
bool
can_get_media_timestamp_links_
;
38464
bool
can_get_message_thread_
;
38466
bool
can_get_read_date_
;
38468
bool
can_get_statistics_
;
38470
bool
can_get_viewers_
;
38472
bool
can_recognize_speech_
;
38474
bool
can_report_chat_
;
38476
bool
can_report_reactions_
;
38478
bool
can_report_supergroup_spam_
;
38480
bool
can_set_fact_check_
;
38482
bool
need_show_statistics_
;
38483
38487
messageProperties
();
38488
38519
messageProperties
(
bool
can_be_copied_to_secret_chat_
,
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_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_viewers_
,
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_
);
38520
38522
static
const
std::int32_t
ID
= -27014655;
38523
38529
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38530
};
38531
38532
class
MessageSender
;
38533
38534
class
ReactionType
;
38535
38539
class
messageReaction
final :
public
Object
{
38544
std::int32_t get_id()
const
final
{
38545
return
ID
;
38546
}
38547
38548
public
:
38550
object_ptr<ReactionType>
type_
;
38552
int32
total_count_
;
38554
bool
is_chosen_
;
38556
object_ptr<MessageSender>
used_sender_id_
;
38558
array<object_ptr<MessageSender>
>
recent_sender_ids_
;
38559
38563
messageReaction
();
38564
38574
messageReaction
(
object_ptr<ReactionType>
&&
type_
,
int32
total_count_
,
bool
is_chosen_
,
object_ptr<MessageSender>
&&
used_sender_id_
,
array
<
object_ptr<MessageSender>
> &&
recent_sender_ids_
);
38575
38577
static
const
std::int32_t
ID
= -1093994369;
38578
38584
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38585
};
38586
38587
class
messageReaction
;
38588
38589
class
paidReactor
;
38590
38594
class
messageReactions
final :
public
Object
{
38599
std::int32_t get_id()
const
final
{
38600
return
ID
;
38601
}
38602
38603
public
:
38605
array<object_ptr<messageReaction>
>
reactions_
;
38607
bool
are_tags_
;
38609
array<object_ptr<paidReactor>
>
paid_reactors_
;
38611
bool
can_get_added_reactions_
;
38612
38616
messageReactions
();
38617
38626
messageReactions
(
array
<
object_ptr<messageReaction>
> &&
reactions_
,
bool
are_tags_
,
array
<
object_ptr<paidReactor>
> &&
paid_reactors_
,
bool
can_get_added_reactions_
);
38627
38629
static
const
std::int32_t
ID
= 1475966817;
38630
38636
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38637
};
38638
38643
class
MessageReadDate
:
public
Object
{
38644
public
:
38645
};
38646
38650
class
messageReadDateRead
final :
public
MessageReadDate
{
38655
std::int32_t get_id()
const
final
{
38656
return
ID
;
38657
}
38658
38659
public
:
38661
int32
read_date_
;
38662
38666
messageReadDateRead
();
38667
38673
explicit
messageReadDateRead
(
int32
read_date_
);
38674
38676
static
const
std::int32_t
ID
= 1972186672;
38677
38683
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38684
};
38685
38689
class
messageReadDateUnread
final :
public
MessageReadDate
{
38694
std::int32_t get_id()
const
final
{
38695
return
ID
;
38696
}
38697
38698
public
:
38699
38703
messageReadDateUnread
();
38704
38706
static
const
std::int32_t
ID
= 397549868;
38707
38713
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38714
};
38715
38719
class
messageReadDateTooOld
final :
public
MessageReadDate
{
38724
std::int32_t get_id()
const
final
{
38725
return
ID
;
38726
}
38727
38728
public
:
38729
38733
messageReadDateTooOld
();
38734
38736
static
const
std::int32_t
ID
= -1233773024;
38737
38743
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38744
};
38745
38749
class
messageReadDateUserPrivacyRestricted
final :
public
MessageReadDate
{
38754
std::int32_t get_id()
const
final
{
38755
return
ID
;
38756
}
38757
38758
public
:
38759
38763
messageReadDateUserPrivacyRestricted
();
38764
38766
static
const
std::int32_t
ID
= -1282567130;
38767
38773
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38774
};
38775
38779
class
messageReadDateMyPrivacyRestricted
final :
public
MessageReadDate
{
38784
std::int32_t get_id()
const
final
{
38785
return
ID
;
38786
}
38787
38788
public
:
38789
38793
messageReadDateMyPrivacyRestricted
();
38794
38796
static
const
std::int32_t
ID
= -693971852;
38797
38803
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38804
};
38805
38806
class
MessageSender
;
38807
38811
class
messageReplyInfo
final :
public
Object
{
38816
std::int32_t get_id()
const
final
{
38817
return
ID
;
38818
}
38819
38820
public
:
38822
int32
reply_count_
;
38824
array<object_ptr<MessageSender>
>
recent_replier_ids_
;
38826
int53
last_read_inbox_message_id_
;
38828
int53
last_read_outbox_message_id_
;
38830
int53
last_message_id_
;
38831
38835
messageReplyInfo
();
38836
38846
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_
);
38847
38849
static
const
std::int32_t
ID
= -2093702263;
38850
38856
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38857
};
38858
38859
class
MessageContent
;
38860
38861
class
MessageOrigin
;
38862
38863
class
textQuote
;
38864
38869
class
MessageReplyTo
:
public
Object
{
38870
public
:
38871
};
38872
38876
class
messageReplyToMessage
final :
public
MessageReplyTo
{
38881
std::int32_t get_id()
const
final
{
38882
return
ID
;
38883
}
38884
38885
public
:
38887
int53
chat_id_
;
38889
int53
message_id_
;
38891
object_ptr<textQuote>
quote_
;
38893
object_ptr<MessageOrigin>
origin_
;
38895
int32
origin_send_date_
;
38897
object_ptr<MessageContent>
content_
;
38898
38902
messageReplyToMessage
();
38903
38914
messageReplyToMessage
(
int53
chat_id_
,
int53
message_id_
,
object_ptr<textQuote>
&&
quote_
,
object_ptr<MessageOrigin>
&&
origin_
,
int32
origin_send_date_
,
object_ptr<MessageContent>
&&
content_
);
38915
38917
static
const
std::int32_t
ID
= -300918393;
38918
38924
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38925
};
38926
38930
class
messageReplyToStory
final :
public
MessageReplyTo
{
38935
std::int32_t get_id()
const
final
{
38936
return
ID
;
38937
}
38938
38939
public
:
38941
int53
story_poster_chat_id_
;
38943
int32
story_id_
;
38944
38948
messageReplyToStory
();
38949
38956
messageReplyToStory
(
int53
story_poster_chat_id_
,
int32
story_id_
);
38957
38959
static
const
std::int32_t
ID
= -674492596;
38960
38966
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
38967
};
38968
38973
class
MessageSchedulingState
:
public
Object
{
38974
public
:
38975
};
38976
38980
class
messageSchedulingStateSendAtDate
final :
public
MessageSchedulingState
{
38985
std::int32_t get_id()
const
final
{
38986
return
ID
;
38987
}
38988
38989
public
:
38991
int32
send_date_
;
38992
38996
messageSchedulingStateSendAtDate
();
38997
39003
explicit
messageSchedulingStateSendAtDate
(
int32
send_date_
);
39004
39006
static
const
std::int32_t
ID
= -1485570073;
39007
39013
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39014
};
39015
39019
class
messageSchedulingStateSendWhenOnline
final :
public
MessageSchedulingState
{
39024
std::int32_t get_id()
const
final
{
39025
return
ID
;
39026
}
39027
39028
public
:
39029
39033
messageSchedulingStateSendWhenOnline
();
39034
39036
static
const
std::int32_t
ID
= 2092947464;
39037
39043
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39044
};
39045
39049
class
messageSchedulingStateSendWhenVideoProcessed
final :
public
MessageSchedulingState
{
39054
std::int32_t get_id()
const
final
{
39055
return
ID
;
39056
}
39057
39058
public
:
39060
int32
send_date_
;
39061
39065
messageSchedulingStateSendWhenVideoProcessed
();
39066
39072
explicit
messageSchedulingStateSendWhenVideoProcessed
(
int32
send_date_
);
39073
39075
static
const
std::int32_t
ID
= 2101578734;
39076
39082
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39083
};
39084
39089
class
MessageSelfDestructType
:
public
Object
{
39090
public
:
39091
};
39092
39096
class
messageSelfDestructTypeTimer
final :
public
MessageSelfDestructType
{
39101
std::int32_t get_id()
const
final
{
39102
return
ID
;
39103
}
39104
39105
public
:
39107
int32
self_destruct_time_
;
39108
39112
messageSelfDestructTypeTimer
();
39113
39119
explicit
messageSelfDestructTypeTimer
(
int32
self_destruct_time_
);
39120
39122
static
const
std::int32_t
ID
= 1351440333;
39123
39129
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39130
};
39131
39135
class
messageSelfDestructTypeImmediately
final :
public
MessageSelfDestructType
{
39140
std::int32_t get_id()
const
final
{
39141
return
ID
;
39142
}
39143
39144
public
:
39145
39149
messageSelfDestructTypeImmediately
();
39150
39152
static
const
std::int32_t
ID
= -1036218363;
39153
39159
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39160
};
39161
39162
class
MessageSchedulingState
;
39163
39167
class
messageSendOptions
final :
public
Object
{
39172
std::int32_t get_id()
const
final
{
39173
return
ID
;
39174
}
39175
39176
public
:
39178
bool
disable_notification_
;
39180
bool
from_background_
;
39182
bool
protect_content_
;
39184
bool
allow_paid_broadcast_
;
39186
int53
paid_message_star_count_
;
39188
bool
update_order_of_installed_sticker_sets_
;
39190
object_ptr<MessageSchedulingState>
scheduling_state_
;
39192
int64
effect_id_
;
39194
int32
sending_id_
;
39196
bool
only_preview_
;
39197
39201
messageSendOptions
();
39202
39217
messageSendOptions
(
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_
);
39218
39220
static
const
std::int32_t
ID
= -128496262;
39221
39227
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39228
};
39229
39234
class
MessageSender
:
public
Object
{
39235
public
:
39236
};
39237
39241
class
messageSenderUser
final :
public
MessageSender
{
39246
std::int32_t get_id()
const
final
{
39247
return
ID
;
39248
}
39249
39250
public
:
39252
int53
user_id_
;
39253
39257
messageSenderUser
();
39258
39264
explicit
messageSenderUser
(
int53
user_id_
);
39265
39267
static
const
std::int32_t
ID
= -336109341;
39268
39274
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39275
};
39276
39280
class
messageSenderChat
final :
public
MessageSender
{
39285
std::int32_t get_id()
const
final
{
39286
return
ID
;
39287
}
39288
39289
public
:
39291
int53
chat_id_
;
39292
39296
messageSenderChat
();
39297
39303
explicit
messageSenderChat
(
int53
chat_id_
);
39304
39306
static
const
std::int32_t
ID
= -239660751;
39307
39313
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39314
};
39315
39316
class
MessageSender
;
39317
39321
class
messageSenders
final :
public
Object
{
39326
std::int32_t get_id()
const
final
{
39327
return
ID
;
39328
}
39329
39330
public
:
39332
int32
total_count_
;
39334
array<object_ptr<MessageSender>
>
senders_
;
39335
39339
messageSenders
();
39340
39347
messageSenders
(
int32
total_count_
,
array
<
object_ptr<MessageSender>
> &&
senders_
);
39348
39350
static
const
std::int32_t
ID
= -690158467;
39351
39357
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39358
};
39359
39360
class
error
;
39361
39366
class
MessageSendingState
:
public
Object
{
39367
public
:
39368
};
39369
39373
class
messageSendingStatePending
final :
public
MessageSendingState
{
39378
std::int32_t get_id()
const
final
{
39379
return
ID
;
39380
}
39381
39382
public
:
39384
int32
sending_id_
;
39385
39389
messageSendingStatePending
();
39390
39396
explicit
messageSendingStatePending
(
int32
sending_id_
);
39397
39399
static
const
std::int32_t
ID
= -215260236;
39400
39406
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39407
};
39408
39412
class
messageSendingStateFailed
final :
public
MessageSendingState
{
39417
std::int32_t get_id()
const
final
{
39418
return
ID
;
39419
}
39420
39421
public
:
39423
object_ptr<error>
error_
;
39425
bool
can_retry_
;
39427
bool
need_another_sender_
;
39429
bool
need_another_reply_quote_
;
39431
bool
need_drop_reply_
;
39433
int53
required_paid_message_star_count_
;
39435
double
retry_after_
;
39436
39440
messageSendingStateFailed
();
39441
39453
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_
);
39454
39456
static
const
std::int32_t
ID
= -777630522;
39457
39463
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39464
};
39465
39470
class
MessageSource
:
public
Object
{
39471
public
:
39472
};
39473
39477
class
messageSourceChatHistory
final :
public
MessageSource
{
39482
std::int32_t get_id()
const
final
{
39483
return
ID
;
39484
}
39485
39486
public
:
39487
39491
messageSourceChatHistory
();
39492
39494
static
const
std::int32_t
ID
= -1090386116;
39495
39501
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39502
};
39503
39507
class
messageSourceMessageThreadHistory
final :
public
MessageSource
{
39512
std::int32_t get_id()
const
final
{
39513
return
ID
;
39514
}
39515
39516
public
:
39517
39521
messageSourceMessageThreadHistory
();
39522
39524
static
const
std::int32_t
ID
= 290427142;
39525
39531
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39532
};
39533
39537
class
messageSourceForumTopicHistory
final :
public
MessageSource
{
39542
std::int32_t get_id()
const
final
{
39543
return
ID
;
39544
}
39545
39546
public
:
39547
39551
messageSourceForumTopicHistory
();
39552
39554
static
const
std::int32_t
ID
= -1518064457;
39555
39561
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39562
};
39563
39567
class
messageSourceHistoryPreview
final :
public
MessageSource
{
39572
std::int32_t get_id()
const
final
{
39573
return
ID
;
39574
}
39575
39576
public
:
39577
39581
messageSourceHistoryPreview
();
39582
39584
static
const
std::int32_t
ID
= 1024254993;
39585
39591
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39592
};
39593
39597
class
messageSourceChatList
final :
public
MessageSource
{
39602
std::int32_t get_id()
const
final
{
39603
return
ID
;
39604
}
39605
39606
public
:
39607
39611
messageSourceChatList
();
39612
39614
static
const
std::int32_t
ID
= -2047406102;
39615
39621
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39622
};
39623
39627
class
messageSourceSearch
final :
public
MessageSource
{
39632
std::int32_t get_id()
const
final
{
39633
return
ID
;
39634
}
39635
39636
public
:
39637
39641
messageSourceSearch
();
39642
39644
static
const
std::int32_t
ID
= 1921333105;
39645
39651
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39652
};
39653
39657
class
messageSourceChatEventLog
final :
public
MessageSource
{
39662
std::int32_t get_id()
const
final
{
39663
return
ID
;
39664
}
39665
39666
public
:
39667
39671
messageSourceChatEventLog
();
39672
39674
static
const
std::int32_t
ID
= -1028777540;
39675
39681
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39682
};
39683
39687
class
messageSourceNotification
final :
public
MessageSource
{
39692
std::int32_t get_id()
const
final
{
39693
return
ID
;
39694
}
39695
39696
public
:
39697
39701
messageSourceNotification
();
39702
39704
static
const
std::int32_t
ID
= -1046406163;
39705
39711
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39712
};
39713
39717
class
messageSourceScreenshot
final :
public
MessageSource
{
39722
std::int32_t get_id()
const
final
{
39723
return
ID
;
39724
}
39725
39726
public
:
39727
39731
messageSourceScreenshot
();
39732
39734
static
const
std::int32_t
ID
= 469982474;
39735
39741
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39742
};
39743
39747
class
messageSourceOther
final :
public
MessageSource
{
39752
std::int32_t get_id()
const
final
{
39753
return
ID
;
39754
}
39755
39756
public
:
39757
39761
messageSourceOther
();
39762
39764
static
const
std::int32_t
ID
= 901818114;
39765
39771
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39772
};
39773
39774
class
photo
;
39775
39779
class
messageSponsor
final :
public
Object
{
39784
std::int32_t get_id()
const
final
{
39785
return
ID
;
39786
}
39787
39788
public
:
39790
string
url_
;
39792
object_ptr<photo>
photo_
;
39794
string
info_
;
39795
39799
messageSponsor
();
39800
39808
messageSponsor
(
string
const
&
url_
,
object_ptr<photo>
&&
photo_
,
string
const
&
info_
);
39809
39811
static
const
std::int32_t
ID
= 2009223646;
39812
39818
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39819
};
39820
39821
class
StatisticalGraph
;
39822
39826
class
messageStatistics
final :
public
Object
{
39831
std::int32_t get_id()
const
final
{
39832
return
ID
;
39833
}
39834
39835
public
:
39837
object_ptr<StatisticalGraph>
message_interaction_graph_
;
39839
object_ptr<StatisticalGraph>
message_reaction_graph_
;
39840
39844
messageStatistics
();
39845
39852
messageStatistics
(
object_ptr<StatisticalGraph>
&&
message_interaction_graph_
,
object_ptr<StatisticalGraph>
&&
message_reaction_graph_
);
39853
39855
static
const
std::int32_t
ID
= -1563537657;
39856
39862
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39863
};
39864
39865
class
draftMessage
;
39866
39867
class
message
;
39868
39869
class
messageReplyInfo
;
39870
39874
class
messageThreadInfo
final :
public
Object
{
39879
std::int32_t get_id()
const
final
{
39880
return
ID
;
39881
}
39882
39883
public
:
39885
int53
chat_id_
;
39887
int53
message_thread_id_
;
39889
object_ptr<messageReplyInfo>
reply_info_
;
39891
int32
unread_message_count_
;
39893
array<object_ptr<message>
>
messages_
;
39895
object_ptr<draftMessage>
draft_message_
;
39896
39900
messageThreadInfo
();
39901
39912
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_
);
39913
39915
static
const
std::int32_t
ID
= -248536056;
39916
39922
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39923
};
39924
39928
class
messageViewer
final :
public
Object
{
39933
std::int32_t get_id()
const
final
{
39934
return
ID
;
39935
}
39936
39937
public
:
39939
int53
user_id_
;
39941
int32
view_date_
;
39942
39946
messageViewer
();
39947
39954
messageViewer
(
int53
user_id_
,
int32
view_date_
);
39955
39957
static
const
std::int32_t
ID
= 1458639309;
39958
39964
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
39965
};
39966
39967
class
messageViewer
;
39968
39972
class
messageViewers
final :
public
Object
{
39977
std::int32_t get_id()
const
final
{
39978
return
ID
;
39979
}
39980
39981
public
:
39983
array<object_ptr<messageViewer>
>
viewers_
;
39984
39988
messageViewers
();
39989
39995
explicit
messageViewers
(
array
<
object_ptr<messageViewer>
> &&
viewers_
);
39996
39998
static
const
std::int32_t
ID
= 2116480287;
39999
40005
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40006
};
40007
40008
class
message
;
40009
40013
class
messages
final :
public
Object
{
40018
std::int32_t get_id()
const
final
{
40019
return
ID
;
40020
}
40021
40022
public
:
40024
int32
total_count_
;
40026
array<object_ptr<message>
>
messages_
;
40027
40031
messages
();
40032
40039
messages
(
int32
total_count_
,
array
<
object_ptr<message>
> &&
messages_
);
40040
40042
static
const
std::int32_t
ID
= -16498159;
40043
40049
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40050
};
40051
40055
class
minithumbnail
final :
public
Object
{
40060
std::int32_t get_id()
const
final
{
40061
return
ID
;
40062
}
40063
40064
public
:
40066
int32
width_
;
40068
int32
height_
;
40070
bytes
data_
;
40071
40075
minithumbnail
();
40076
40084
minithumbnail
(
int32
width_
,
int32
height_
,
bytes
const
&
data_
);
40085
40087
static
const
std::int32_t
ID
= -328540758;
40088
40094
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40095
};
40096
40097
class
NetworkStatisticsEntry
;
40098
40102
class
networkStatistics
final :
public
Object
{
40107
std::int32_t get_id()
const
final
{
40108
return
ID
;
40109
}
40110
40111
public
:
40113
int32
since_date_
;
40115
array<object_ptr<NetworkStatisticsEntry>
>
entries_
;
40116
40120
networkStatistics
();
40121
40128
networkStatistics
(
int32
since_date_
,
array
<
object_ptr<NetworkStatisticsEntry>
> &&
entries_
);
40129
40131
static
const
std::int32_t
ID
= 1615554212;
40132
40138
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40139
};
40140
40141
class
FileType
;
40142
40143
class
NetworkType
;
40144
40149
class
NetworkStatisticsEntry
:
public
Object
{
40150
public
:
40151
};
40152
40156
class
networkStatisticsEntryFile
final :
public
NetworkStatisticsEntry
{
40161
std::int32_t get_id()
const
final
{
40162
return
ID
;
40163
}
40164
40165
public
:
40167
object_ptr<FileType>
file_type_
;
40169
object_ptr<NetworkType>
network_type_
;
40171
int53
sent_bytes_
;
40173
int53
received_bytes_
;
40174
40178
networkStatisticsEntryFile
();
40179
40188
networkStatisticsEntryFile
(
object_ptr<FileType>
&&
file_type_
,
object_ptr<NetworkType>
&&
network_type_
,
int53
sent_bytes_
,
int53
received_bytes_
);
40189
40191
static
const
std::int32_t
ID
= 188452706;
40192
40198
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40199
};
40200
40204
class
networkStatisticsEntryCall
final :
public
NetworkStatisticsEntry
{
40209
std::int32_t get_id()
const
final
{
40210
return
ID
;
40211
}
40212
40213
public
:
40215
object_ptr<NetworkType>
network_type_
;
40217
int53
sent_bytes_
;
40219
int53
received_bytes_
;
40221
double
duration_
;
40222
40226
networkStatisticsEntryCall
();
40227
40236
networkStatisticsEntryCall
(
object_ptr<NetworkType>
&&
network_type_
,
int53
sent_bytes_
,
int53
received_bytes_
,
double
duration_
);
40237
40239
static
const
std::int32_t
ID
= 737000365;
40240
40246
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40247
};
40248
40253
class
NetworkType
:
public
Object
{
40254
public
:
40255
};
40256
40260
class
networkTypeNone
final :
public
NetworkType
{
40265
std::int32_t get_id()
const
final
{
40266
return
ID
;
40267
}
40268
40269
public
:
40270
40274
networkTypeNone
();
40275
40277
static
const
std::int32_t
ID
= -1971691759;
40278
40284
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40285
};
40286
40290
class
networkTypeMobile
final :
public
NetworkType
{
40295
std::int32_t get_id()
const
final
{
40296
return
ID
;
40297
}
40298
40299
public
:
40300
40304
networkTypeMobile
();
40305
40307
static
const
std::int32_t
ID
= 819228239;
40308
40314
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40315
};
40316
40320
class
networkTypeMobileRoaming
final :
public
NetworkType
{
40325
std::int32_t get_id()
const
final
{
40326
return
ID
;
40327
}
40328
40329
public
:
40330
40334
networkTypeMobileRoaming
();
40335
40337
static
const
std::int32_t
ID
= -1435199760;
40338
40344
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40345
};
40346
40350
class
networkTypeWiFi
final :
public
NetworkType
{
40355
std::int32_t get_id()
const
final
{
40356
return
ID
;
40357
}
40358
40359
public
:
40360
40364
networkTypeWiFi
();
40365
40367
static
const
std::int32_t
ID
= -633872070;
40368
40374
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40375
};
40376
40380
class
networkTypeOther
final :
public
NetworkType
{
40385
std::int32_t get_id()
const
final
{
40386
return
ID
;
40387
}
40388
40389
public
:
40390
40394
networkTypeOther
();
40395
40397
static
const
std::int32_t
ID
= 1942128539;
40398
40404
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40405
};
40406
40410
class
newChatPrivacySettings
final :
public
Object
{
40415
std::int32_t get_id()
const
final
{
40416
return
ID
;
40417
}
40418
40419
public
:
40421
bool
allow_new_chats_from_unknown_users_
;
40423
int53
incoming_paid_message_star_count_
;
40424
40428
newChatPrivacySettings
();
40429
40436
newChatPrivacySettings
(
bool
allow_new_chats_from_unknown_users_
,
int53
incoming_paid_message_star_count_
);
40437
40439
static
const
std::int32_t
ID
= 123716192;
40440
40446
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40447
};
40448
40449
class
NotificationType
;
40450
40454
class
notification
final :
public
Object
{
40459
std::int32_t get_id()
const
final
{
40460
return
ID
;
40461
}
40462
40463
public
:
40465
int32
id_
;
40467
int32
date_
;
40469
bool
is_silent_
;
40471
object_ptr<NotificationType>
type_
;
40472
40476
notification
();
40477
40486
notification
(
int32
id_
,
int32
date_
,
bool
is_silent_
,
object_ptr<NotificationType>
&&
type_
);
40487
40489
static
const
std::int32_t
ID
= 788743120;
40490
40496
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40497
};
40498
40499
class
NotificationGroupType
;
40500
40501
class
notification
;
40502
40506
class
notificationGroup
final :
public
Object
{
40511
std::int32_t get_id()
const
final
{
40512
return
ID
;
40513
}
40514
40515
public
:
40517
int32
id_
;
40519
object_ptr<NotificationGroupType>
type_
;
40521
int53
chat_id_
;
40523
int32
total_count_
;
40525
array<object_ptr<notification>
>
notifications_
;
40526
40530
notificationGroup
();
40531
40541
notificationGroup
(
int32
id_
,
object_ptr<NotificationGroupType>
&&
type_
,
int53
chat_id_
,
int32
total_count_
,
array
<
object_ptr<notification>
> &&
notifications_
);
40542
40544
static
const
std::int32_t
ID
= 780691541;
40545
40551
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40552
};
40553
40558
class
NotificationGroupType
:
public
Object
{
40559
public
:
40560
};
40561
40565
class
notificationGroupTypeMessages
final :
public
NotificationGroupType
{
40570
std::int32_t get_id()
const
final
{
40571
return
ID
;
40572
}
40573
40574
public
:
40575
40579
notificationGroupTypeMessages
();
40580
40582
static
const
std::int32_t
ID
= -1702481123;
40583
40589
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40590
};
40591
40595
class
notificationGroupTypeMentions
final :
public
NotificationGroupType
{
40600
std::int32_t get_id()
const
final
{
40601
return
ID
;
40602
}
40603
40604
public
:
40605
40609
notificationGroupTypeMentions
();
40610
40612
static
const
std::int32_t
ID
= -2050324051;
40613
40619
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40620
};
40621
40625
class
notificationGroupTypeSecretChat
final :
public
NotificationGroupType
{
40630
std::int32_t get_id()
const
final
{
40631
return
ID
;
40632
}
40633
40634
public
:
40635
40639
notificationGroupTypeSecretChat
();
40640
40642
static
const
std::int32_t
ID
= 1390759476;
40643
40649
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40650
};
40651
40655
class
notificationGroupTypeCalls
final :
public
NotificationGroupType
{
40660
std::int32_t get_id()
const
final
{
40661
return
ID
;
40662
}
40663
40664
public
:
40665
40669
notificationGroupTypeCalls
();
40670
40672
static
const
std::int32_t
ID
= 1379123538;
40673
40679
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40680
};
40681
40686
class
NotificationSettingsScope
:
public
Object
{
40687
public
:
40688
};
40689
40693
class
notificationSettingsScopePrivateChats
final :
public
NotificationSettingsScope
{
40698
std::int32_t get_id()
const
final
{
40699
return
ID
;
40700
}
40701
40702
public
:
40703
40707
notificationSettingsScopePrivateChats
();
40708
40710
static
const
std::int32_t
ID
= 937446759;
40711
40717
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40718
};
40719
40723
class
notificationSettingsScopeGroupChats
final :
public
NotificationSettingsScope
{
40728
std::int32_t get_id()
const
final
{
40729
return
ID
;
40730
}
40731
40732
public
:
40733
40737
notificationSettingsScopeGroupChats
();
40738
40740
static
const
std::int32_t
ID
= 1212142067;
40741
40747
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40748
};
40749
40753
class
notificationSettingsScopeChannelChats
final :
public
NotificationSettingsScope
{
40758
std::int32_t get_id()
const
final
{
40759
return
ID
;
40760
}
40761
40762
public
:
40763
40767
notificationSettingsScopeChannelChats
();
40768
40770
static
const
std::int32_t
ID
= 548013448;
40771
40777
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40778
};
40779
40780
class
file
;
40781
40785
class
notificationSound
final :
public
Object
{
40790
std::int32_t get_id()
const
final
{
40791
return
ID
;
40792
}
40793
40794
public
:
40796
int64
id_
;
40798
int32
duration_
;
40800
int32
date_
;
40802
string
title_
;
40804
string
data_
;
40806
object_ptr<file>
sound_
;
40807
40811
notificationSound
();
40812
40823
notificationSound
(
int64
id_
,
int32
duration_
,
int32
date_
,
string
const
&
title_
,
string
const
&
data_
,
object_ptr<file>
&&
sound_
);
40824
40826
static
const
std::int32_t
ID
= -185638601;
40827
40833
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40834
};
40835
40836
class
notificationSound
;
40837
40841
class
notificationSounds
final :
public
Object
{
40846
std::int32_t get_id()
const
final
{
40847
return
ID
;
40848
}
40849
40850
public
:
40852
array<object_ptr<notificationSound>
>
notification_sounds_
;
40853
40857
notificationSounds
();
40858
40864
explicit
notificationSounds
(
array
<
object_ptr<notificationSound>
> &&
notification_sounds_
);
40865
40867
static
const
std::int32_t
ID
= -630813169;
40868
40874
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40875
};
40876
40877
class
MessageSender
;
40878
40879
class
PushMessageContent
;
40880
40881
class
message
;
40882
40887
class
NotificationType
:
public
Object
{
40888
public
:
40889
};
40890
40894
class
notificationTypeNewMessage
final :
public
NotificationType
{
40899
std::int32_t get_id()
const
final
{
40900
return
ID
;
40901
}
40902
40903
public
:
40905
object_ptr<message>
message_
;
40907
bool
show_preview_
;
40908
40912
notificationTypeNewMessage
();
40913
40920
notificationTypeNewMessage
(
object_ptr<message>
&&
message_
,
bool
show_preview_
);
40921
40923
static
const
std::int32_t
ID
= -254745614;
40924
40930
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40931
};
40932
40936
class
notificationTypeNewSecretChat
final :
public
NotificationType
{
40941
std::int32_t get_id()
const
final
{
40942
return
ID
;
40943
}
40944
40945
public
:
40946
40950
notificationTypeNewSecretChat
();
40951
40953
static
const
std::int32_t
ID
= 1198638768;
40954
40960
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
40961
};
40962
40966
class
notificationTypeNewCall
final :
public
NotificationType
{
40971
std::int32_t get_id()
const
final
{
40972
return
ID
;
40973
}
40974
40975
public
:
40977
int32
call_id_
;
40978
40982
notificationTypeNewCall
();
40983
40989
explicit
notificationTypeNewCall
(
int32
call_id_
);
40990
40992
static
const
std::int32_t
ID
= 1712734585;
40993
40999
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41000
};
41001
41005
class
notificationTypeNewPushMessage
final :
public
NotificationType
{
41010
std::int32_t get_id()
const
final
{
41011
return
ID
;
41012
}
41013
41014
public
:
41016
int53
message_id_
;
41018
object_ptr<MessageSender>
sender_id_
;
41020
string
sender_name_
;
41022
bool
is_outgoing_
;
41024
object_ptr<PushMessageContent>
content_
;
41025
41029
notificationTypeNewPushMessage
();
41030
41040
notificationTypeNewPushMessage
(
int53
message_id_
,
object_ptr<MessageSender>
&&
sender_id_
,
string
const
&
sender_name_
,
bool
is_outgoing_
,
object_ptr<PushMessageContent>
&&
content_
);
41041
41043
static
const
std::int32_t
ID
= -711680462;
41044
41050
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41051
};
41052
41056
class
ok
final :
public
Object
{
41061
std::int32_t get_id()
const
final
{
41062
return
ID
;
41063
}
41064
41065
public
:
41066
41070
ok
();
41071
41073
static
const
std::int32_t
ID
= -722616727;
41074
41080
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41081
};
41082
41087
class
OptionValue
:
public
Object
{
41088
public
:
41089
};
41090
41094
class
optionValueBoolean
final :
public
OptionValue
{
41099
std::int32_t get_id()
const
final
{
41100
return
ID
;
41101
}
41102
41103
public
:
41105
bool
value_
;
41106
41110
optionValueBoolean
();
41111
41117
explicit
optionValueBoolean
(
bool
value_
);
41118
41120
static
const
std::int32_t
ID
= 63135518;
41121
41127
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41128
};
41129
41133
class
optionValueEmpty
final :
public
OptionValue
{
41138
std::int32_t get_id()
const
final
{
41139
return
ID
;
41140
}
41141
41142
public
:
41143
41147
optionValueEmpty
();
41148
41150
static
const
std::int32_t
ID
= 918955155;
41151
41157
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41158
};
41159
41163
class
optionValueInteger
final :
public
OptionValue
{
41168
std::int32_t get_id()
const
final
{
41169
return
ID
;
41170
}
41171
41172
public
:
41174
int64
value_
;
41175
41179
optionValueInteger
();
41180
41186
explicit
optionValueInteger
(
int64
value_
);
41187
41189
static
const
std::int32_t
ID
= -186858780;
41190
41196
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41197
};
41198
41202
class
optionValueString
final :
public
OptionValue
{
41207
std::int32_t get_id()
const
final
{
41208
return
ID
;
41209
}
41210
41211
public
:
41213
string
value_
;
41214
41218
optionValueString
();
41219
41225
explicit
optionValueString
(
string
const
&
value_
);
41226
41228
static
const
std::int32_t
ID
= 756248212;
41229
41235
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41236
};
41237
41238
class
address
;
41239
41243
class
orderInfo
final :
public
Object
{
41248
std::int32_t get_id()
const
final
{
41249
return
ID
;
41250
}
41251
41252
public
:
41254
string
name_
;
41256
string
phone_number_
;
41258
string
email_address_
;
41260
object_ptr<address>
shipping_address_
;
41261
41265
orderInfo
();
41266
41275
orderInfo
(
string
const
&
name_
,
string
const
&
phone_number_
,
string
const
&
email_address_
,
object_ptr<address>
&&
shipping_address_
);
41276
41278
static
const
std::int32_t
ID
= 783997294;
41279
41285
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41286
};
41287
41288
class
closedVectorPath
;
41289
41293
class
outline
final :
public
Object
{
41298
std::int32_t get_id()
const
final
{
41299
return
ID
;
41300
}
41301
41302
public
:
41304
array<object_ptr<closedVectorPath>
>
paths_
;
41305
41309
outline
();
41310
41316
explicit
outline
(
array
<
object_ptr<closedVectorPath>
> &&
paths_
);
41317
41319
static
const
std::int32_t
ID
= -161506702;
41320
41326
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41327
};
41328
41329
class
PageBlock
;
41330
41331
class
RichText
;
41332
41333
class
animation
;
41334
41335
class
audio
;
41336
41337
class
chatPhotoInfo
;
41338
41339
class
location
;
41340
41341
class
pageBlockCaption
;
41342
41343
class
pageBlockListItem
;
41344
41345
class
pageBlockRelatedArticle
;
41346
41347
class
pageBlockTableCell
;
41348
41349
class
photo
;
41350
41351
class
video
;
41352
41353
class
voiceNote
;
41354
41359
class
PageBlock
:
public
Object
{
41360
public
:
41361
};
41362
41366
class
pageBlockTitle
final :
public
PageBlock
{
41371
std::int32_t get_id()
const
final
{
41372
return
ID
;
41373
}
41374
41375
public
:
41377
object_ptr<RichText>
title_
;
41378
41382
pageBlockTitle
();
41383
41389
explicit
pageBlockTitle
(
object_ptr<RichText>
&&
title_
);
41390
41392
static
const
std::int32_t
ID
= 1629664784;
41393
41399
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41400
};
41401
41405
class
pageBlockSubtitle
final :
public
PageBlock
{
41410
std::int32_t get_id()
const
final
{
41411
return
ID
;
41412
}
41413
41414
public
:
41416
object_ptr<RichText>
subtitle_
;
41417
41421
pageBlockSubtitle
();
41422
41428
explicit
pageBlockSubtitle
(
object_ptr<RichText>
&&
subtitle_
);
41429
41431
static
const
std::int32_t
ID
= 264524263;
41432
41438
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41439
};
41440
41444
class
pageBlockAuthorDate
final :
public
PageBlock
{
41449
std::int32_t get_id()
const
final
{
41450
return
ID
;
41451
}
41452
41453
public
:
41455
object_ptr<RichText>
author_
;
41457
int32
publish_date_
;
41458
41462
pageBlockAuthorDate
();
41463
41470
pageBlockAuthorDate
(
object_ptr<RichText>
&&
author_
,
int32
publish_date_
);
41471
41473
static
const
std::int32_t
ID
= 1300231184;
41474
41480
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41481
};
41482
41486
class
pageBlockHeader
final :
public
PageBlock
{
41491
std::int32_t get_id()
const
final
{
41492
return
ID
;
41493
}
41494
41495
public
:
41497
object_ptr<RichText>
header_
;
41498
41502
pageBlockHeader
();
41503
41509
explicit
pageBlockHeader
(
object_ptr<RichText>
&&
header_
);
41510
41512
static
const
std::int32_t
ID
= 1402854811;
41513
41519
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41520
};
41521
41525
class
pageBlockSubheader
final :
public
PageBlock
{
41530
std::int32_t get_id()
const
final
{
41531
return
ID
;
41532
}
41533
41534
public
:
41536
object_ptr<RichText>
subheader_
;
41537
41541
pageBlockSubheader
();
41542
41548
explicit
pageBlockSubheader
(
object_ptr<RichText>
&&
subheader_
);
41549
41551
static
const
std::int32_t
ID
= 1263956774;
41552
41558
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41559
};
41560
41564
class
pageBlockKicker
final :
public
PageBlock
{
41569
std::int32_t get_id()
const
final
{
41570
return
ID
;
41571
}
41572
41573
public
:
41575
object_ptr<RichText>
kicker_
;
41576
41580
pageBlockKicker
();
41581
41587
explicit
pageBlockKicker
(
object_ptr<RichText>
&&
kicker_
);
41588
41590
static
const
std::int32_t
ID
= 1361282635;
41591
41597
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41598
};
41599
41603
class
pageBlockParagraph
final :
public
PageBlock
{
41608
std::int32_t get_id()
const
final
{
41609
return
ID
;
41610
}
41611
41612
public
:
41614
object_ptr<RichText>
text_
;
41615
41619
pageBlockParagraph
();
41620
41626
explicit
pageBlockParagraph
(
object_ptr<RichText>
&&
text_
);
41627
41629
static
const
std::int32_t
ID
= 1182402406;
41630
41636
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41637
};
41638
41642
class
pageBlockPreformatted
final :
public
PageBlock
{
41647
std::int32_t get_id()
const
final
{
41648
return
ID
;
41649
}
41650
41651
public
:
41653
object_ptr<RichText>
text_
;
41655
string
language_
;
41656
41660
pageBlockPreformatted
();
41661
41668
pageBlockPreformatted
(
object_ptr<RichText>
&&
text_
,
string
const
&
language_
);
41669
41671
static
const
std::int32_t
ID
= -1066346178;
41672
41678
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41679
};
41680
41684
class
pageBlockFooter
final :
public
PageBlock
{
41689
std::int32_t get_id()
const
final
{
41690
return
ID
;
41691
}
41692
41693
public
:
41695
object_ptr<RichText>
footer_
;
41696
41700
pageBlockFooter
();
41701
41707
explicit
pageBlockFooter
(
object_ptr<RichText>
&&
footer_
);
41708
41710
static
const
std::int32_t
ID
= 886429480;
41711
41717
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41718
};
41719
41723
class
pageBlockDivider
final :
public
PageBlock
{
41728
std::int32_t get_id()
const
final
{
41729
return
ID
;
41730
}
41731
41732
public
:
41733
41737
pageBlockDivider
();
41738
41740
static
const
std::int32_t
ID
= -618614392;
41741
41747
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41748
};
41749
41753
class
pageBlockAnchor
final :
public
PageBlock
{
41758
std::int32_t get_id()
const
final
{
41759
return
ID
;
41760
}
41761
41762
public
:
41764
string
name_
;
41765
41769
pageBlockAnchor
();
41770
41776
explicit
pageBlockAnchor
(
string
const
&
name_
);
41777
41779
static
const
std::int32_t
ID
= -837994576;
41780
41786
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41787
};
41788
41792
class
pageBlockList
final :
public
PageBlock
{
41797
std::int32_t get_id()
const
final
{
41798
return
ID
;
41799
}
41800
41801
public
:
41803
array<object_ptr<pageBlockListItem>
>
items_
;
41804
41808
pageBlockList
();
41809
41815
explicit
pageBlockList
(
array
<
object_ptr<pageBlockListItem>
> &&
items_
);
41816
41818
static
const
std::int32_t
ID
= -1037074852;
41819
41825
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41826
};
41827
41831
class
pageBlockBlockQuote
final :
public
PageBlock
{
41836
std::int32_t get_id()
const
final
{
41837
return
ID
;
41838
}
41839
41840
public
:
41842
object_ptr<RichText>
text_
;
41844
object_ptr<RichText>
credit_
;
41845
41849
pageBlockBlockQuote
();
41850
41857
pageBlockBlockQuote
(
object_ptr<RichText>
&&
text_
,
object_ptr<RichText>
&&
credit_
);
41858
41860
static
const
std::int32_t
ID
= 1657834142;
41861
41867
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41868
};
41869
41873
class
pageBlockPullQuote
final :
public
PageBlock
{
41878
std::int32_t get_id()
const
final
{
41879
return
ID
;
41880
}
41881
41882
public
:
41884
object_ptr<RichText>
text_
;
41886
object_ptr<RichText>
credit_
;
41887
41891
pageBlockPullQuote
();
41892
41899
pageBlockPullQuote
(
object_ptr<RichText>
&&
text_
,
object_ptr<RichText>
&&
credit_
);
41900
41902
static
const
std::int32_t
ID
= 490242317;
41903
41909
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41910
};
41911
41915
class
pageBlockAnimation
final :
public
PageBlock
{
41920
std::int32_t get_id()
const
final
{
41921
return
ID
;
41922
}
41923
41924
public
:
41926
object_ptr<animation>
animation_
;
41928
object_ptr<pageBlockCaption>
caption_
;
41930
bool
need_autoplay_
;
41931
41935
pageBlockAnimation
();
41936
41944
pageBlockAnimation
(
object_ptr<animation>
&&
animation_
,
object_ptr<pageBlockCaption>
&&
caption_
,
bool
need_autoplay_
);
41945
41947
static
const
std::int32_t
ID
= 1355669513;
41948
41954
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41955
};
41956
41960
class
pageBlockAudio
final :
public
PageBlock
{
41965
std::int32_t get_id()
const
final
{
41966
return
ID
;
41967
}
41968
41969
public
:
41971
object_ptr<audio>
audio_
;
41973
object_ptr<pageBlockCaption>
caption_
;
41974
41978
pageBlockAudio
();
41979
41986
pageBlockAudio
(
object_ptr<audio>
&&
audio_
,
object_ptr<pageBlockCaption>
&&
caption_
);
41987
41989
static
const
std::int32_t
ID
= -63371245;
41990
41996
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
41997
};
41998
42002
class
pageBlockPhoto
final :
public
PageBlock
{
42007
std::int32_t get_id()
const
final
{
42008
return
ID
;
42009
}
42010
42011
public
:
42013
object_ptr<photo>
photo_
;
42015
object_ptr<pageBlockCaption>
caption_
;
42017
string
url_
;
42018
42022
pageBlockPhoto
();
42023
42031
pageBlockPhoto
(
object_ptr<photo>
&&
photo_
,
object_ptr<pageBlockCaption>
&&
caption_
,
string
const
&
url_
);
42032
42034
static
const
std::int32_t
ID
= 417601156;
42035
42041
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42042
};
42043
42047
class
pageBlockVideo
final :
public
PageBlock
{
42052
std::int32_t get_id()
const
final
{
42053
return
ID
;
42054
}
42055
42056
public
:
42058
object_ptr<video>
video_
;
42060
object_ptr<pageBlockCaption>
caption_
;
42062
bool
need_autoplay_
;
42064
bool
is_looped_
;
42065
42069
pageBlockVideo
();
42070
42079
pageBlockVideo
(
object_ptr<video>
&&
video_
,
object_ptr<pageBlockCaption>
&&
caption_
,
bool
need_autoplay_
,
bool
is_looped_
);
42080
42082
static
const
std::int32_t
ID
= 510041394;
42083
42089
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42090
};
42091
42095
class
pageBlockVoiceNote
final :
public
PageBlock
{
42100
std::int32_t get_id()
const
final
{
42101
return
ID
;
42102
}
42103
42104
public
:
42106
object_ptr<voiceNote>
voice_note_
;
42108
object_ptr<pageBlockCaption>
caption_
;
42109
42113
pageBlockVoiceNote
();
42114
42121
pageBlockVoiceNote
(
object_ptr<voiceNote>
&&
voice_note_
,
object_ptr<pageBlockCaption>
&&
caption_
);
42122
42124
static
const
std::int32_t
ID
= 1823310463;
42125
42131
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42132
};
42133
42137
class
pageBlockCover
final :
public
PageBlock
{
42142
std::int32_t get_id()
const
final
{
42143
return
ID
;
42144
}
42145
42146
public
:
42148
object_ptr<PageBlock>
cover_
;
42149
42153
pageBlockCover
();
42154
42160
explicit
pageBlockCover
(
object_ptr<PageBlock>
&&
cover_
);
42161
42163
static
const
std::int32_t
ID
= 972174080;
42164
42170
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42171
};
42172
42176
class
pageBlockEmbedded
final :
public
PageBlock
{
42181
std::int32_t get_id()
const
final
{
42182
return
ID
;
42183
}
42184
42185
public
:
42187
string
url_
;
42189
string
html_
;
42191
object_ptr<photo>
poster_photo_
;
42193
int32
width_
;
42195
int32
height_
;
42197
object_ptr<pageBlockCaption>
caption_
;
42199
bool
is_full_width_
;
42201
bool
allow_scrolling_
;
42202
42206
pageBlockEmbedded
();
42207
42220
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_
);
42221
42223
static
const
std::int32_t
ID
= -1942577763;
42224
42230
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42231
};
42232
42236
class
pageBlockEmbeddedPost
final :
public
PageBlock
{
42241
std::int32_t get_id()
const
final
{
42242
return
ID
;
42243
}
42244
42245
public
:
42247
string
url_
;
42249
string
author_
;
42251
object_ptr<photo>
author_photo_
;
42253
int32
date_
;
42255
array<object_ptr<PageBlock>
>
page_blocks_
;
42257
object_ptr<pageBlockCaption>
caption_
;
42258
42262
pageBlockEmbeddedPost
();
42263
42274
pageBlockEmbeddedPost
(
string
const
&
url_
,
string
const
&
author_
,
object_ptr<photo>
&&
author_photo_
,
int32
date_
,
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
object_ptr<pageBlockCaption>
&&
caption_
);
42275
42277
static
const
std::int32_t
ID
= 397600949;
42278
42284
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42285
};
42286
42290
class
pageBlockCollage
final :
public
PageBlock
{
42295
std::int32_t get_id()
const
final
{
42296
return
ID
;
42297
}
42298
42299
public
:
42301
array<object_ptr<PageBlock>
>
page_blocks_
;
42303
object_ptr<pageBlockCaption>
caption_
;
42304
42308
pageBlockCollage
();
42309
42316
pageBlockCollage
(
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
object_ptr<pageBlockCaption>
&&
caption_
);
42317
42319
static
const
std::int32_t
ID
= 1163760110;
42320
42326
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42327
};
42328
42332
class
pageBlockSlideshow
final :
public
PageBlock
{
42337
std::int32_t get_id()
const
final
{
42338
return
ID
;
42339
}
42340
42341
public
:
42343
array<object_ptr<PageBlock>
>
page_blocks_
;
42345
object_ptr<pageBlockCaption>
caption_
;
42346
42350
pageBlockSlideshow
();
42351
42358
pageBlockSlideshow
(
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
object_ptr<pageBlockCaption>
&&
caption_
);
42359
42361
static
const
std::int32_t
ID
= 539217375;
42362
42368
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42369
};
42370
42374
class
pageBlockChatLink
final :
public
PageBlock
{
42379
std::int32_t get_id()
const
final
{
42380
return
ID
;
42381
}
42382
42383
public
:
42385
string
title_
;
42387
object_ptr<chatPhotoInfo>
photo_
;
42389
int32
accent_color_id_
;
42391
string
username_
;
42392
42396
pageBlockChatLink
();
42397
42406
pageBlockChatLink
(
string
const
&
title_
,
object_ptr<chatPhotoInfo>
&&
photo_
,
int32
accent_color_id_
,
string
const
&
username_
);
42407
42409
static
const
std::int32_t
ID
= 1646188731;
42410
42416
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42417
};
42418
42422
class
pageBlockTable
final :
public
PageBlock
{
42427
std::int32_t get_id()
const
final
{
42428
return
ID
;
42429
}
42430
42431
public
:
42433
object_ptr<RichText>
caption_
;
42435
array<array<object_ptr<pageBlockTableCell>
>>
cells_
;
42437
bool
is_bordered_
;
42439
bool
is_striped_
;
42440
42444
pageBlockTable
();
42445
42454
pageBlockTable
(
object_ptr<RichText>
&&
caption_
,
array
<
array
<
object_ptr<pageBlockTableCell>
>> &&
cells_
,
bool
is_bordered_
,
bool
is_striped_
);
42455
42457
static
const
std::int32_t
ID
= -942649288;
42458
42464
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42465
};
42466
42470
class
pageBlockDetails
final :
public
PageBlock
{
42475
std::int32_t get_id()
const
final
{
42476
return
ID
;
42477
}
42478
42479
public
:
42481
object_ptr<RichText>
header_
;
42483
array<object_ptr<PageBlock>
>
page_blocks_
;
42485
bool
is_open_
;
42486
42490
pageBlockDetails
();
42491
42499
pageBlockDetails
(
object_ptr<RichText>
&&
header_
,
array
<
object_ptr<PageBlock>
> &&
page_blocks_
,
bool
is_open_
);
42500
42502
static
const
std::int32_t
ID
= -1599869809;
42503
42509
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42510
};
42511
42515
class
pageBlockRelatedArticles
final :
public
PageBlock
{
42520
std::int32_t get_id()
const
final
{
42521
return
ID
;
42522
}
42523
42524
public
:
42526
object_ptr<RichText>
header_
;
42528
array<object_ptr<pageBlockRelatedArticle>
>
articles_
;
42529
42533
pageBlockRelatedArticles
();
42534
42541
pageBlockRelatedArticles
(
object_ptr<RichText>
&&
header_
,
array
<
object_ptr<pageBlockRelatedArticle>
> &&
articles_
);
42542
42544
static
const
std::int32_t
ID
= -1807324374;
42545
42551
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42552
};
42553
42557
class
pageBlockMap
final :
public
PageBlock
{
42562
std::int32_t get_id()
const
final
{
42563
return
ID
;
42564
}
42565
42566
public
:
42568
object_ptr<location>
location_
;
42570
int32
zoom_
;
42572
int32
width_
;
42574
int32
height_
;
42576
object_ptr<pageBlockCaption>
caption_
;
42577
42581
pageBlockMap
();
42582
42592
pageBlockMap
(
object_ptr<location>
&&
location_
,
int32
zoom_
,
int32
width_
,
int32
height_
,
object_ptr<pageBlockCaption>
&&
caption_
);
42593
42595
static
const
std::int32_t
ID
= 1510961171;
42596
42602
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42603
};
42604
42605
class
RichText
;
42606
42610
class
pageBlockCaption
final :
public
Object
{
42615
std::int32_t get_id()
const
final
{
42616
return
ID
;
42617
}
42618
42619
public
:
42621
object_ptr<RichText>
text_
;
42623
object_ptr<RichText>
credit_
;
42624
42628
pageBlockCaption
();
42629
42636
pageBlockCaption
(
object_ptr<RichText>
&&
text_
,
object_ptr<RichText>
&&
credit_
);
42637
42639
static
const
std::int32_t
ID
= -1180064650;
42640
42646
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42647
};
42648
42653
class
PageBlockHorizontalAlignment
:
public
Object
{
42654
public
:
42655
};
42656
42660
class
pageBlockHorizontalAlignmentLeft
final :
public
PageBlockHorizontalAlignment
{
42665
std::int32_t get_id()
const
final
{
42666
return
ID
;
42667
}
42668
42669
public
:
42670
42674
pageBlockHorizontalAlignmentLeft
();
42675
42677
static
const
std::int32_t
ID
= 848701417;
42678
42684
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42685
};
42686
42690
class
pageBlockHorizontalAlignmentCenter
final :
public
PageBlockHorizontalAlignment
{
42695
std::int32_t get_id()
const
final
{
42696
return
ID
;
42697
}
42698
42699
public
:
42700
42704
pageBlockHorizontalAlignmentCenter
();
42705
42707
static
const
std::int32_t
ID
= -1009203990;
42708
42714
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42715
};
42716
42720
class
pageBlockHorizontalAlignmentRight
final :
public
PageBlockHorizontalAlignment
{
42725
std::int32_t get_id()
const
final
{
42726
return
ID
;
42727
}
42728
42729
public
:
42730
42734
pageBlockHorizontalAlignmentRight
();
42735
42737
static
const
std::int32_t
ID
= 1371369214;
42738
42744
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42745
};
42746
42747
class
PageBlock
;
42748
42752
class
pageBlockListItem
final :
public
Object
{
42757
std::int32_t get_id()
const
final
{
42758
return
ID
;
42759
}
42760
42761
public
:
42763
string
label_
;
42765
array<object_ptr<PageBlock>
>
page_blocks_
;
42766
42770
pageBlockListItem
();
42771
42778
pageBlockListItem
(
string
const
&
label_
,
array
<
object_ptr<PageBlock>
> &&
page_blocks_
);
42779
42781
static
const
std::int32_t
ID
= 323186259;
42782
42788
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42789
};
42790
42791
class
photo
;
42792
42796
class
pageBlockRelatedArticle
final :
public
Object
{
42801
std::int32_t get_id()
const
final
{
42802
return
ID
;
42803
}
42804
42805
public
:
42807
string
url_
;
42809
string
title_
;
42811
string
description_
;
42813
object_ptr<photo>
photo_
;
42815
string
author_
;
42817
int32
publish_date_
;
42818
42822
pageBlockRelatedArticle
();
42823
42834
pageBlockRelatedArticle
(
string
const
&
url_
,
string
const
&
title_
,
string
const
&
description_
,
object_ptr<photo>
&&
photo_
,
string
const
&
author_
,
int32
publish_date_
);
42835
42837
static
const
std::int32_t
ID
= 481199251;
42838
42844
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42845
};
42846
42847
class
PageBlockHorizontalAlignment
;
42848
42849
class
PageBlockVerticalAlignment
;
42850
42851
class
RichText
;
42852
42856
class
pageBlockTableCell
final :
public
Object
{
42861
std::int32_t get_id()
const
final
{
42862
return
ID
;
42863
}
42864
42865
public
:
42867
object_ptr<RichText>
text_
;
42869
bool
is_header_
;
42871
int32
colspan_
;
42873
int32
rowspan_
;
42875
object_ptr<PageBlockHorizontalAlignment>
align_
;
42877
object_ptr<PageBlockVerticalAlignment>
valign_
;
42878
42882
pageBlockTableCell
();
42883
42894
pageBlockTableCell
(
object_ptr<RichText>
&&
text_
,
bool
is_header_
,
int32
colspan_
,
int32
rowspan_
,
object_ptr<PageBlockHorizontalAlignment>
&&
align_
,
object_ptr<PageBlockVerticalAlignment>
&&
valign_
);
42895
42897
static
const
std::int32_t
ID
= 1417658214;
42898
42904
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42905
};
42906
42911
class
PageBlockVerticalAlignment
:
public
Object
{
42912
public
:
42913
};
42914
42918
class
pageBlockVerticalAlignmentTop
final :
public
PageBlockVerticalAlignment
{
42923
std::int32_t get_id()
const
final
{
42924
return
ID
;
42925
}
42926
42927
public
:
42928
42932
pageBlockVerticalAlignmentTop
();
42933
42935
static
const
std::int32_t
ID
= 195500454;
42936
42942
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42943
};
42944
42948
class
pageBlockVerticalAlignmentMiddle
final :
public
PageBlockVerticalAlignment
{
42953
std::int32_t get_id()
const
final
{
42954
return
ID
;
42955
}
42956
42957
public
:
42958
42962
pageBlockVerticalAlignmentMiddle
();
42963
42965
static
const
std::int32_t
ID
= -2123096587;
42966
42972
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
42973
};
42974
42978
class
pageBlockVerticalAlignmentBottom
final :
public
PageBlockVerticalAlignment
{
42983
std::int32_t get_id()
const
final
{
42984
return
ID
;
42985
}
42986
42987
public
:
42988
42992
pageBlockVerticalAlignmentBottom
();
42993
42995
static
const
std::int32_t
ID
= 2092531158;
42996
43002
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43003
};
43004
43005
class
minithumbnail
;
43006
43007
class
photo
;
43008
43009
class
video
;
43010
43015
class
PaidMedia
:
public
Object
{
43016
public
:
43017
};
43018
43022
class
paidMediaPreview
final :
public
PaidMedia
{
43027
std::int32_t get_id()
const
final
{
43028
return
ID
;
43029
}
43030
43031
public
:
43033
int32
width_
;
43035
int32
height_
;
43037
int32
duration_
;
43039
object_ptr<minithumbnail>
minithumbnail_
;
43040
43044
paidMediaPreview
();
43045
43054
paidMediaPreview
(
int32
width_
,
int32
height_
,
int32
duration_
,
object_ptr<minithumbnail>
&&
minithumbnail_
);
43055
43057
static
const
std::int32_t
ID
= -1128151948;
43058
43064
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43065
};
43066
43070
class
paidMediaPhoto
final :
public
PaidMedia
{
43075
std::int32_t get_id()
const
final
{
43076
return
ID
;
43077
}
43078
43079
public
:
43081
object_ptr<photo>
photo_
;
43082
43086
paidMediaPhoto
();
43087
43093
explicit
paidMediaPhoto
(
object_ptr<photo>
&&
photo_
);
43094
43096
static
const
std::int32_t
ID
= -1165863654;
43097
43103
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43104
};
43105
43109
class
paidMediaVideo
final :
public
PaidMedia
{
43114
std::int32_t get_id()
const
final
{
43115
return
ID
;
43116
}
43117
43118
public
:
43120
object_ptr<video>
video_
;
43122
object_ptr<photo>
cover_
;
43124
int32
start_timestamp_
;
43125
43129
paidMediaVideo
();
43130
43138
paidMediaVideo
(
object_ptr<video>
&&
video_
,
object_ptr<photo>
&&
cover_
,
int32
start_timestamp_
);
43139
43141
static
const
std::int32_t
ID
= 870838318;
43142
43148
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43149
};
43150
43154
class
paidMediaUnsupported
final :
public
PaidMedia
{
43159
std::int32_t get_id()
const
final
{
43160
return
ID
;
43161
}
43162
43163
public
:
43164
43168
paidMediaUnsupported
();
43169
43171
static
const
std::int32_t
ID
= 112999974;
43172
43178
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43179
};
43180
43185
class
PaidReactionType
:
public
Object
{
43186
public
:
43187
};
43188
43192
class
paidReactionTypeRegular
final :
public
PaidReactionType
{
43197
std::int32_t get_id()
const
final
{
43198
return
ID
;
43199
}
43200
43201
public
:
43202
43206
paidReactionTypeRegular
();
43207
43209
static
const
std::int32_t
ID
= -1199187333;
43210
43216
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43217
};
43218
43222
class
paidReactionTypeAnonymous
final :
public
PaidReactionType
{
43227
std::int32_t get_id()
const
final
{
43228
return
ID
;
43229
}
43230
43231
public
:
43232
43236
paidReactionTypeAnonymous
();
43237
43239
static
const
std::int32_t
ID
= 47892621;
43240
43246
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43247
};
43248
43252
class
paidReactionTypeChat
final :
public
PaidReactionType
{
43257
std::int32_t get_id()
const
final
{
43258
return
ID
;
43259
}
43260
43261
public
:
43263
int53
chat_id_
;
43264
43268
paidReactionTypeChat
();
43269
43275
explicit
paidReactionTypeChat
(
int53
chat_id_
);
43276
43278
static
const
std::int32_t
ID
= -675782044;
43279
43285
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43286
};
43287
43288
class
MessageSender
;
43289
43293
class
paidReactor
final :
public
Object
{
43298
std::int32_t get_id()
const
final
{
43299
return
ID
;
43300
}
43301
43302
public
:
43304
object_ptr<MessageSender>
sender_id_
;
43306
int32
star_count_
;
43308
bool
is_top_
;
43310
bool
is_me_
;
43312
bool
is_anonymous_
;
43313
43317
paidReactor
();
43318
43328
paidReactor
(
object_ptr<MessageSender>
&&
sender_id_
,
int32
star_count_
,
bool
is_top_
,
bool
is_me_
,
bool
is_anonymous_
);
43329
43331
static
const
std::int32_t
ID
= -1657303032;
43332
43338
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43339
};
43340
43341
class
passportRequiredElement
;
43342
43346
class
passportAuthorizationForm
final :
public
Object
{
43351
std::int32_t get_id()
const
final
{
43352
return
ID
;
43353
}
43354
43355
public
:
43357
int32
id_
;
43359
array<object_ptr<passportRequiredElement>
>
required_elements_
;
43361
string
privacy_policy_url_
;
43362
43366
passportAuthorizationForm
();
43367
43375
passportAuthorizationForm
(
int32
id_
,
array
<
object_ptr<passportRequiredElement>
> &&
required_elements_
,
string
const
&
privacy_policy_url_
);
43376
43378
static
const
std::int32_t
ID
= -1070673218;
43379
43385
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43386
};
43387
43388
class
address
;
43389
43390
class
identityDocument
;
43391
43392
class
personalDetails
;
43393
43394
class
personalDocument
;
43395
43400
class
PassportElement
:
public
Object
{
43401
public
:
43402
};
43403
43407
class
passportElementPersonalDetails
final :
public
PassportElement
{
43412
std::int32_t get_id()
const
final
{
43413
return
ID
;
43414
}
43415
43416
public
:
43418
object_ptr<personalDetails>
personal_details_
;
43419
43423
passportElementPersonalDetails
();
43424
43430
explicit
passportElementPersonalDetails
(
object_ptr<personalDetails>
&&
personal_details_
);
43431
43433
static
const
std::int32_t
ID
= 1217724035;
43434
43440
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43441
};
43442
43446
class
passportElementPassport
final :
public
PassportElement
{
43451
std::int32_t get_id()
const
final
{
43452
return
ID
;
43453
}
43454
43455
public
:
43457
object_ptr<identityDocument>
passport_
;
43458
43462
passportElementPassport
();
43463
43469
explicit
passportElementPassport
(
object_ptr<identityDocument>
&&
passport_
);
43470
43472
static
const
std::int32_t
ID
= -263985373;
43473
43479
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43480
};
43481
43485
class
passportElementDriverLicense
final :
public
PassportElement
{
43490
std::int32_t get_id()
const
final
{
43491
return
ID
;
43492
}
43493
43494
public
:
43496
object_ptr<identityDocument>
driver_license_
;
43497
43501
passportElementDriverLicense
();
43502
43508
explicit
passportElementDriverLicense
(
object_ptr<identityDocument>
&&
driver_license_
);
43509
43511
static
const
std::int32_t
ID
= 1643580589;
43512
43518
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43519
};
43520
43524
class
passportElementIdentityCard
final :
public
PassportElement
{
43529
std::int32_t get_id()
const
final
{
43530
return
ID
;
43531
}
43532
43533
public
:
43535
object_ptr<identityDocument>
identity_card_
;
43536
43540
passportElementIdentityCard
();
43541
43547
explicit
passportElementIdentityCard
(
object_ptr<identityDocument>
&&
identity_card_
);
43548
43550
static
const
std::int32_t
ID
= 2083775797;
43551
43557
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43558
};
43559
43563
class
passportElementInternalPassport
final :
public
PassportElement
{
43568
std::int32_t get_id()
const
final
{
43569
return
ID
;
43570
}
43571
43572
public
:
43574
object_ptr<identityDocument>
internal_passport_
;
43575
43579
passportElementInternalPassport
();
43580
43586
explicit
passportElementInternalPassport
(
object_ptr<identityDocument>
&&
internal_passport_
);
43587
43589
static
const
std::int32_t
ID
= 36220295;
43590
43596
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43597
};
43598
43602
class
passportElementAddress
final :
public
PassportElement
{
43607
std::int32_t get_id()
const
final
{
43608
return
ID
;
43609
}
43610
43611
public
:
43613
object_ptr<address>
address_
;
43614
43618
passportElementAddress
();
43619
43625
explicit
passportElementAddress
(
object_ptr<address>
&&
address_
);
43626
43628
static
const
std::int32_t
ID
= -782625232;
43629
43635
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43636
};
43637
43641
class
passportElementUtilityBill
final :
public
PassportElement
{
43646
std::int32_t get_id()
const
final
{
43647
return
ID
;
43648
}
43649
43650
public
:
43652
object_ptr<personalDocument>
utility_bill_
;
43653
43657
passportElementUtilityBill
();
43658
43664
explicit
passportElementUtilityBill
(
object_ptr<personalDocument>
&&
utility_bill_
);
43665
43667
static
const
std::int32_t
ID
= -234611246;
43668
43674
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43675
};
43676
43680
class
passportElementBankStatement
final :
public
PassportElement
{
43685
std::int32_t get_id()
const
final
{
43686
return
ID
;
43687
}
43688
43689
public
:
43691
object_ptr<personalDocument>
bank_statement_
;
43692
43696
passportElementBankStatement
();
43697
43703
explicit
passportElementBankStatement
(
object_ptr<personalDocument>
&&
bank_statement_
);
43704
43706
static
const
std::int32_t
ID
= -366464408;
43707
43713
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43714
};
43715
43719
class
passportElementRentalAgreement
final :
public
PassportElement
{
43724
std::int32_t get_id()
const
final
{
43725
return
ID
;
43726
}
43727
43728
public
:
43730
object_ptr<personalDocument>
rental_agreement_
;
43731
43735
passportElementRentalAgreement
();
43736
43742
explicit
passportElementRentalAgreement
(
object_ptr<personalDocument>
&&
rental_agreement_
);
43743
43745
static
const
std::int32_t
ID
= -290141400;
43746
43752
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43753
};
43754
43758
class
passportElementPassportRegistration
final :
public
PassportElement
{
43763
std::int32_t get_id()
const
final
{
43764
return
ID
;
43765
}
43766
43767
public
:
43769
object_ptr<personalDocument>
passport_registration_
;
43770
43774
passportElementPassportRegistration
();
43775
43781
explicit
passportElementPassportRegistration
(
object_ptr<personalDocument>
&&
passport_registration_
);
43782
43784
static
const
std::int32_t
ID
= 618323071;
43785
43791
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43792
};
43793
43797
class
passportElementTemporaryRegistration
final :
public
PassportElement
{
43802
std::int32_t get_id()
const
final
{
43803
return
ID
;
43804
}
43805
43806
public
:
43808
object_ptr<personalDocument>
temporary_registration_
;
43809
43813
passportElementTemporaryRegistration
();
43814
43820
explicit
passportElementTemporaryRegistration
(
object_ptr<personalDocument>
&&
temporary_registration_
);
43821
43823
static
const
std::int32_t
ID
= 1237626864;
43824
43830
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43831
};
43832
43836
class
passportElementPhoneNumber
final :
public
PassportElement
{
43841
std::int32_t get_id()
const
final
{
43842
return
ID
;
43843
}
43844
43845
public
:
43847
string
phone_number_
;
43848
43852
passportElementPhoneNumber
();
43853
43859
explicit
passportElementPhoneNumber
(
string
const
&
phone_number_
);
43860
43862
static
const
std::int32_t
ID
= -1320118375;
43863
43869
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43870
};
43871
43875
class
passportElementEmailAddress
final :
public
PassportElement
{
43880
std::int32_t get_id()
const
final
{
43881
return
ID
;
43882
}
43883
43884
public
:
43886
string
email_address_
;
43887
43891
passportElementEmailAddress
();
43892
43898
explicit
passportElementEmailAddress
(
string
const
&
email_address_
);
43899
43901
static
const
std::int32_t
ID
= -1528129531;
43902
43908
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43909
};
43910
43911
class
PassportElementErrorSource
;
43912
43913
class
PassportElementType
;
43914
43918
class
passportElementError
final :
public
Object
{
43923
std::int32_t get_id()
const
final
{
43924
return
ID
;
43925
}
43926
43927
public
:
43929
object_ptr<PassportElementType>
type_
;
43931
string
message_
;
43933
object_ptr<PassportElementErrorSource>
source_
;
43934
43938
passportElementError
();
43939
43947
passportElementError
(
object_ptr<PassportElementType>
&&
type_
,
string
const
&
message_
,
object_ptr<PassportElementErrorSource>
&&
source_
);
43948
43950
static
const
std::int32_t
ID
= -1861902395;
43951
43957
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43958
};
43959
43964
class
PassportElementErrorSource
:
public
Object
{
43965
public
:
43966
};
43967
43971
class
passportElementErrorSourceUnspecified
final :
public
PassportElementErrorSource
{
43976
std::int32_t get_id()
const
final
{
43977
return
ID
;
43978
}
43979
43980
public
:
43981
43985
passportElementErrorSourceUnspecified
();
43986
43988
static
const
std::int32_t
ID
= -378320830;
43989
43995
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
43996
};
43997
44001
class
passportElementErrorSourceDataField
final :
public
PassportElementErrorSource
{
44006
std::int32_t get_id()
const
final
{
44007
return
ID
;
44008
}
44009
44010
public
:
44012
string
field_name_
;
44013
44017
passportElementErrorSourceDataField
();
44018
44024
explicit
passportElementErrorSourceDataField
(
string
const
&
field_name_
);
44025
44027
static
const
std::int32_t
ID
= -308650776;
44028
44034
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44035
};
44036
44040
class
passportElementErrorSourceFrontSide
final :
public
PassportElementErrorSource
{
44045
std::int32_t get_id()
const
final
{
44046
return
ID
;
44047
}
44048
44049
public
:
44050
44054
passportElementErrorSourceFrontSide
();
44055
44057
static
const
std::int32_t
ID
= 1895658292;
44058
44064
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44065
};
44066
44070
class
passportElementErrorSourceReverseSide
final :
public
PassportElementErrorSource
{
44075
std::int32_t get_id()
const
final
{
44076
return
ID
;
44077
}
44078
44079
public
:
44080
44084
passportElementErrorSourceReverseSide
();
44085
44087
static
const
std::int32_t
ID
= 1918630391;
44088
44094
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44095
};
44096
44100
class
passportElementErrorSourceSelfie
final :
public
PassportElementErrorSource
{
44105
std::int32_t get_id()
const
final
{
44106
return
ID
;
44107
}
44108
44109
public
:
44110
44114
passportElementErrorSourceSelfie
();
44115
44117
static
const
std::int32_t
ID
= -797043672;
44118
44124
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44125
};
44126
44130
class
passportElementErrorSourceTranslationFile
final :
public
PassportElementErrorSource
{
44135
std::int32_t get_id()
const
final
{
44136
return
ID
;
44137
}
44138
44139
public
:
44141
int32
file_index_
;
44142
44146
passportElementErrorSourceTranslationFile
();
44147
44153
explicit
passportElementErrorSourceTranslationFile
(
int32
file_index_
);
44154
44156
static
const
std::int32_t
ID
= -689621228;
44157
44163
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44164
};
44165
44169
class
passportElementErrorSourceTranslationFiles
final :
public
PassportElementErrorSource
{
44174
std::int32_t get_id()
const
final
{
44175
return
ID
;
44176
}
44177
44178
public
:
44179
44183
passportElementErrorSourceTranslationFiles
();
44184
44186
static
const
std::int32_t
ID
= 581280796;
44187
44193
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44194
};
44195
44199
class
passportElementErrorSourceFile
final :
public
PassportElementErrorSource
{
44204
std::int32_t get_id()
const
final
{
44205
return
ID
;
44206
}
44207
44208
public
:
44210
int32
file_index_
;
44211
44215
passportElementErrorSourceFile
();
44216
44222
explicit
passportElementErrorSourceFile
(
int32
file_index_
);
44223
44225
static
const
std::int32_t
ID
= 2020358960;
44226
44232
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44233
};
44234
44238
class
passportElementErrorSourceFiles
final :
public
PassportElementErrorSource
{
44243
std::int32_t get_id()
const
final
{
44244
return
ID
;
44245
}
44246
44247
public
:
44248
44252
passportElementErrorSourceFiles
();
44253
44255
static
const
std::int32_t
ID
= 1894164178;
44256
44262
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44263
};
44264
44269
class
PassportElementType
:
public
Object
{
44270
public
:
44271
};
44272
44276
class
passportElementTypePersonalDetails
final :
public
PassportElementType
{
44281
std::int32_t get_id()
const
final
{
44282
return
ID
;
44283
}
44284
44285
public
:
44286
44290
passportElementTypePersonalDetails
();
44291
44293
static
const
std::int32_t
ID
= -1032136365;
44294
44300
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44301
};
44302
44306
class
passportElementTypePassport
final :
public
PassportElementType
{
44311
std::int32_t get_id()
const
final
{
44312
return
ID
;
44313
}
44314
44315
public
:
44316
44320
passportElementTypePassport
();
44321
44323
static
const
std::int32_t
ID
= -436360376;
44324
44330
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44331
};
44332
44336
class
passportElementTypeDriverLicense
final :
public
PassportElementType
{
44341
std::int32_t get_id()
const
final
{
44342
return
ID
;
44343
}
44344
44345
public
:
44346
44350
passportElementTypeDriverLicense
();
44351
44353
static
const
std::int32_t
ID
= 1827298379;
44354
44360
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44361
};
44362
44366
class
passportElementTypeIdentityCard
final :
public
PassportElementType
{
44371
std::int32_t get_id()
const
final
{
44372
return
ID
;
44373
}
44374
44375
public
:
44376
44380
passportElementTypeIdentityCard
();
44381
44383
static
const
std::int32_t
ID
= -502356132;
44384
44390
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44391
};
44392
44396
class
passportElementTypeInternalPassport
final :
public
PassportElementType
{
44401
std::int32_t get_id()
const
final
{
44402
return
ID
;
44403
}
44404
44405
public
:
44406
44410
passportElementTypeInternalPassport
();
44411
44413
static
const
std::int32_t
ID
= -793781959;
44414
44420
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44421
};
44422
44426
class
passportElementTypeAddress
final :
public
PassportElementType
{
44431
std::int32_t get_id()
const
final
{
44432
return
ID
;
44433
}
44434
44435
public
:
44436
44440
passportElementTypeAddress
();
44441
44443
static
const
std::int32_t
ID
= 496327874;
44444
44450
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44451
};
44452
44456
class
passportElementTypeUtilityBill
final :
public
PassportElementType
{
44461
std::int32_t get_id()
const
final
{
44462
return
ID
;
44463
}
44464
44465
public
:
44466
44470
passportElementTypeUtilityBill
();
44471
44473
static
const
std::int32_t
ID
= 627084906;
44474
44480
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44481
};
44482
44486
class
passportElementTypeBankStatement
final :
public
PassportElementType
{
44491
std::int32_t get_id()
const
final
{
44492
return
ID
;
44493
}
44494
44495
public
:
44496
44500
passportElementTypeBankStatement
();
44501
44503
static
const
std::int32_t
ID
= 574095667;
44504
44510
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44511
};
44512
44516
class
passportElementTypeRentalAgreement
final :
public
PassportElementType
{
44521
std::int32_t get_id()
const
final
{
44522
return
ID
;
44523
}
44524
44525
public
:
44526
44530
passportElementTypeRentalAgreement
();
44531
44533
static
const
std::int32_t
ID
= -2060583280;
44534
44540
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44541
};
44542
44546
class
passportElementTypePassportRegistration
final :
public
PassportElementType
{
44551
std::int32_t get_id()
const
final
{
44552
return
ID
;
44553
}
44554
44555
public
:
44556
44560
passportElementTypePassportRegistration
();
44561
44563
static
const
std::int32_t
ID
= -159478209;
44564
44570
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44571
};
44572
44576
class
passportElementTypeTemporaryRegistration
final :
public
PassportElementType
{
44581
std::int32_t get_id()
const
final
{
44582
return
ID
;
44583
}
44584
44585
public
:
44586
44590
passportElementTypeTemporaryRegistration
();
44591
44593
static
const
std::int32_t
ID
= 1092498527;
44594
44600
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44601
};
44602
44606
class
passportElementTypePhoneNumber
final :
public
PassportElementType
{
44611
std::int32_t get_id()
const
final
{
44612
return
ID
;
44613
}
44614
44615
public
:
44616
44620
passportElementTypePhoneNumber
();
44621
44623
static
const
std::int32_t
ID
= -995361172;
44624
44630
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44631
};
44632
44636
class
passportElementTypeEmailAddress
final :
public
PassportElementType
{
44641
std::int32_t get_id()
const
final
{
44642
return
ID
;
44643
}
44644
44645
public
:
44646
44650
passportElementTypeEmailAddress
();
44651
44653
static
const
std::int32_t
ID
= -79321405;
44654
44660
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44661
};
44662
44663
class
PassportElement
;
44664
44668
class
passportElements
final :
public
Object
{
44673
std::int32_t get_id()
const
final
{
44674
return
ID
;
44675
}
44676
44677
public
:
44679
array<object_ptr<PassportElement>
>
elements_
;
44680
44684
passportElements
();
44685
44691
explicit
passportElements
(
array
<
object_ptr<PassportElement>
> &&
elements_
);
44692
44694
static
const
std::int32_t
ID
= 1264617556;
44695
44701
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44702
};
44703
44704
class
PassportElement
;
44705
44706
class
passportElementError
;
44707
44711
class
passportElementsWithErrors
final :
public
Object
{
44716
std::int32_t get_id()
const
final
{
44717
return
ID
;
44718
}
44719
44720
public
:
44722
array<object_ptr<PassportElement>
>
elements_
;
44724
array<object_ptr<passportElementError>
>
errors_
;
44725
44729
passportElementsWithErrors
();
44730
44737
passportElementsWithErrors
(
array
<
object_ptr<PassportElement>
> &&
elements_
,
array
<
object_ptr<passportElementError>
> &&
errors_
);
44738
44740
static
const
std::int32_t
ID
= 1308923044;
44741
44747
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44748
};
44749
44750
class
passportSuitableElement
;
44751
44755
class
passportRequiredElement
final :
public
Object
{
44760
std::int32_t get_id()
const
final
{
44761
return
ID
;
44762
}
44763
44764
public
:
44766
array<object_ptr<passportSuitableElement>
>
suitable_elements_
;
44767
44771
passportRequiredElement
();
44772
44778
explicit
passportRequiredElement
(
array
<
object_ptr<passportSuitableElement>
> &&
suitable_elements_
);
44779
44781
static
const
std::int32_t
ID
= -1983641651;
44782
44788
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44789
};
44790
44791
class
PassportElementType
;
44792
44796
class
passportSuitableElement
final :
public
Object
{
44801
std::int32_t get_id()
const
final
{
44802
return
ID
;
44803
}
44804
44805
public
:
44807
object_ptr<PassportElementType>
type_
;
44809
bool
is_selfie_required_
;
44811
bool
is_translation_required_
;
44813
bool
is_native_name_required_
;
44814
44818
passportSuitableElement
();
44819
44828
passportSuitableElement
(
object_ptr<PassportElementType>
&&
type_
,
bool
is_selfie_required_
,
bool
is_translation_required_
,
bool
is_native_name_required_
);
44829
44831
static
const
std::int32_t
ID
= -789019876;
44832
44838
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44839
};
44840
44841
class
emailAddressAuthenticationCodeInfo
;
44842
44846
class
passwordState
final :
public
Object
{
44851
std::int32_t get_id()
const
final
{
44852
return
ID
;
44853
}
44854
44855
public
:
44857
bool
has_password_
;
44859
string
password_hint_
;
44861
bool
has_recovery_email_address_
;
44863
bool
has_passport_data_
;
44865
object_ptr<emailAddressAuthenticationCodeInfo>
recovery_email_address_code_info_
;
44867
string
login_email_address_pattern_
;
44869
int32
pending_reset_date_
;
44870
44874
passwordState
();
44875
44887
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_
);
44888
44890
static
const
std::int32_t
ID
= 483801128;
44891
44897
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44898
};
44899
44900
class
PaymentFormType
;
44901
44902
class
productInfo
;
44903
44907
class
paymentForm
final :
public
Object
{
44912
std::int32_t get_id()
const
final
{
44913
return
ID
;
44914
}
44915
44916
public
:
44918
int64
id_
;
44920
object_ptr<PaymentFormType>
type_
;
44922
int53
seller_bot_user_id_
;
44924
object_ptr<productInfo>
product_info_
;
44925
44929
paymentForm
();
44930
44939
paymentForm
(
int64
id_
,
object_ptr<PaymentFormType>
&&
type_
,
int53
seller_bot_user_id_
,
object_ptr<productInfo>
&&
product_info_
);
44940
44942
static
const
std::int32_t
ID
= 1998651315;
44943
44949
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
44950
};
44951
44952
class
PaymentProvider
;
44953
44954
class
invoice
;
44955
44956
class
orderInfo
;
44957
44958
class
paymentOption
;
44959
44960
class
savedCredentials
;
44961
44962
class
starSubscriptionPricing
;
44963
44968
class
PaymentFormType
:
public
Object
{
44969
public
:
44970
};
44971
44975
class
paymentFormTypeRegular
final :
public
PaymentFormType
{
44980
std::int32_t get_id()
const
final
{
44981
return
ID
;
44982
}
44983
44984
public
:
44986
object_ptr<invoice>
invoice_
;
44988
int53
payment_provider_user_id_
;
44990
object_ptr<PaymentProvider>
payment_provider_
;
44992
array<object_ptr<paymentOption>
>
additional_payment_options_
;
44994
object_ptr<orderInfo>
saved_order_info_
;
44996
array<object_ptr<savedCredentials>
>
saved_credentials_
;
44998
bool
can_save_credentials_
;
45000
bool
need_password_
;
45001
45005
paymentFormTypeRegular
();
45006
45019
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_
);
45020
45022
static
const
std::int32_t
ID
= -615089778;
45023
45029
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45030
};
45031
45035
class
paymentFormTypeStars
final :
public
PaymentFormType
{
45040
std::int32_t get_id()
const
final
{
45041
return
ID
;
45042
}
45043
45044
public
:
45046
int53
star_count_
;
45047
45051
paymentFormTypeStars
();
45052
45058
explicit
paymentFormTypeStars
(
int53
star_count_
);
45059
45061
static
const
std::int32_t
ID
= 90938685;
45062
45068
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45069
};
45070
45074
class
paymentFormTypeStarSubscription
final :
public
PaymentFormType
{
45079
std::int32_t get_id()
const
final
{
45080
return
ID
;
45081
}
45082
45083
public
:
45085
object_ptr<starSubscriptionPricing>
pricing_
;
45086
45090
paymentFormTypeStarSubscription
();
45091
45097
explicit
paymentFormTypeStarSubscription
(
object_ptr<starSubscriptionPricing>
&&
pricing_
);
45098
45100
static
const
std::int32_t
ID
= 271444827;
45101
45107
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45108
};
45109
45113
class
paymentOption
final :
public
Object
{
45118
std::int32_t get_id()
const
final
{
45119
return
ID
;
45120
}
45121
45122
public
:
45124
string
title_
;
45126
string
url_
;
45127
45131
paymentOption
();
45132
45139
paymentOption
(
string
const
&
title_
,
string
const
&
url_
);
45140
45142
static
const
std::int32_t
ID
= -294020965;
45143
45149
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45150
};
45151
45156
class
PaymentProvider
:
public
Object
{
45157
public
:
45158
};
45159
45163
class
paymentProviderSmartGlocal
final :
public
PaymentProvider
{
45168
std::int32_t get_id()
const
final
{
45169
return
ID
;
45170
}
45171
45172
public
:
45174
string
public_token_
;
45176
string
tokenize_url_
;
45177
45181
paymentProviderSmartGlocal
();
45182
45189
paymentProviderSmartGlocal
(
string
const
&
public_token_
,
string
const
&
tokenize_url_
);
45190
45192
static
const
std::int32_t
ID
= -1174112396;
45193
45199
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45200
};
45201
45205
class
paymentProviderStripe
final :
public
PaymentProvider
{
45210
std::int32_t get_id()
const
final
{
45211
return
ID
;
45212
}
45213
45214
public
:
45216
string
publishable_key_
;
45218
bool
need_country_
;
45220
bool
need_postal_code_
;
45222
bool
need_cardholder_name_
;
45223
45227
paymentProviderStripe
();
45228
45237
paymentProviderStripe
(
string
const
&
publishable_key_
,
bool
need_country_
,
bool
need_postal_code_
,
bool
need_cardholder_name_
);
45238
45240
static
const
std::int32_t
ID
= 370467227;
45241
45247
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45248
};
45249
45253
class
paymentProviderOther
final :
public
PaymentProvider
{
45258
std::int32_t get_id()
const
final
{
45259
return
ID
;
45260
}
45261
45262
public
:
45264
string
url_
;
45265
45269
paymentProviderOther
();
45270
45276
explicit
paymentProviderOther
(
string
const
&
url_
);
45277
45279
static
const
std::int32_t
ID
= -1336876828;
45280
45286
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45287
};
45288
45289
class
PaymentReceiptType
;
45290
45291
class
productInfo
;
45292
45296
class
paymentReceipt
final :
public
Object
{
45301
std::int32_t get_id()
const
final
{
45302
return
ID
;
45303
}
45304
45305
public
:
45307
object_ptr<productInfo>
product_info_
;
45309
int32
date_
;
45311
int53
seller_bot_user_id_
;
45313
object_ptr<PaymentReceiptType>
type_
;
45314
45318
paymentReceipt
();
45319
45328
paymentReceipt
(
object_ptr<productInfo>
&&
product_info_
,
int32
date_
,
int53
seller_bot_user_id_
,
object_ptr<PaymentReceiptType>
&&
type_
);
45329
45331
static
const
std::int32_t
ID
= 758199186;
45332
45338
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45339
};
45340
45341
class
invoice
;
45342
45343
class
orderInfo
;
45344
45345
class
shippingOption
;
45346
45351
class
PaymentReceiptType
:
public
Object
{
45352
public
:
45353
};
45354
45358
class
paymentReceiptTypeRegular
final :
public
PaymentReceiptType
{
45363
std::int32_t get_id()
const
final
{
45364
return
ID
;
45365
}
45366
45367
public
:
45369
int53
payment_provider_user_id_
;
45371
object_ptr<invoice>
invoice_
;
45373
object_ptr<orderInfo>
order_info_
;
45375
object_ptr<shippingOption>
shipping_option_
;
45377
string
credentials_title_
;
45379
int53
tip_amount_
;
45380
45384
paymentReceiptTypeRegular
();
45385
45396
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_
);
45397
45399
static
const
std::int32_t
ID
= -1636362826;
45400
45406
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45407
};
45408
45412
class
paymentReceiptTypeStars
final :
public
PaymentReceiptType
{
45417
std::int32_t get_id()
const
final
{
45418
return
ID
;
45419
}
45420
45421
public
:
45423
int53
star_count_
;
45425
string
transaction_id_
;
45426
45430
paymentReceiptTypeStars
();
45431
45438
paymentReceiptTypeStars
(
int53
star_count_
,
string
const
&
transaction_id_
);
45439
45441
static
const
std::int32_t
ID
= 294913868;
45442
45448
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45449
};
45450
45454
class
paymentResult
final :
public
Object
{
45459
std::int32_t get_id()
const
final
{
45460
return
ID
;
45461
}
45462
45463
public
:
45465
bool
success_
;
45467
string
verification_url_
;
45468
45472
paymentResult
();
45473
45480
paymentResult
(
bool
success_
,
string
const
&
verification_url_
);
45481
45483
static
const
std::int32_t
ID
= -804263843;
45484
45490
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45491
};
45492
45493
class
date
;
45494
45498
class
personalDetails
final :
public
Object
{
45503
std::int32_t get_id()
const
final
{
45504
return
ID
;
45505
}
45506
45507
public
:
45509
string
first_name_
;
45511
string
middle_name_
;
45513
string
last_name_
;
45515
string
native_first_name_
;
45517
string
native_middle_name_
;
45519
string
native_last_name_
;
45521
object_ptr<date>
birthdate_
;
45523
string
gender_
;
45525
string
country_code_
;
45527
string
residence_country_code_
;
45528
45532
personalDetails
();
45533
45548
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_
);
45549
45551
static
const
std::int32_t
ID
= -1061656137;
45552
45558
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45559
};
45560
45561
class
datedFile
;
45562
45566
class
personalDocument
final :
public
Object
{
45571
std::int32_t get_id()
const
final
{
45572
return
ID
;
45573
}
45574
45575
public
:
45577
array<object_ptr<datedFile>
>
files_
;
45579
array<object_ptr<datedFile>
>
translation_
;
45580
45584
personalDocument
();
45585
45592
personalDocument
(
array
<
object_ptr<datedFile>
> &&
files_
,
array
<
object_ptr<datedFile>
> &&
translation_
);
45593
45595
static
const
std::int32_t
ID
= -1011634661;
45596
45602
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45603
};
45604
45605
class
FirebaseAuthenticationSettings
;
45606
45610
class
phoneNumberAuthenticationSettings
final :
public
Object
{
45615
std::int32_t get_id()
const
final
{
45616
return
ID
;
45617
}
45618
45619
public
:
45621
bool
allow_flash_call_
;
45623
bool
allow_missed_call_
;
45625
bool
is_current_phone_number_
;
45627
bool
has_unknown_phone_number_
;
45629
bool
allow_sms_retriever_api_
;
45631
object_ptr<FirebaseAuthenticationSettings>
firebase_authentication_settings_
;
45633
array<string>
authentication_tokens_
;
45634
45638
phoneNumberAuthenticationSettings
();
45639
45651
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_
);
45652
45654
static
const
std::int32_t
ID
= 1881885547;
45655
45661
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45662
};
45663
45668
class
PhoneNumberCodeType
:
public
Object
{
45669
public
:
45670
};
45671
45675
class
phoneNumberCodeTypeChange
final :
public
PhoneNumberCodeType
{
45680
std::int32_t get_id()
const
final
{
45681
return
ID
;
45682
}
45683
45684
public
:
45685
45689
phoneNumberCodeTypeChange
();
45690
45692
static
const
std::int32_t
ID
= 87144986;
45693
45699
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45700
};
45701
45705
class
phoneNumberCodeTypeVerify
final :
public
PhoneNumberCodeType
{
45710
std::int32_t get_id()
const
final
{
45711
return
ID
;
45712
}
45713
45714
public
:
45715
45719
phoneNumberCodeTypeVerify
();
45720
45722
static
const
std::int32_t
ID
= -1029402661;
45723
45729
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45730
};
45731
45735
class
phoneNumberCodeTypeConfirmOwnership
final :
public
PhoneNumberCodeType
{
45740
std::int32_t get_id()
const
final
{
45741
return
ID
;
45742
}
45743
45744
public
:
45746
string
hash_
;
45747
45751
phoneNumberCodeTypeConfirmOwnership
();
45752
45758
explicit
phoneNumberCodeTypeConfirmOwnership
(
string
const
&
hash_
);
45759
45761
static
const
std::int32_t
ID
= -485404696;
45762
45768
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45769
};
45770
45771
class
countryInfo
;
45772
45776
class
phoneNumberInfo
final :
public
Object
{
45781
std::int32_t get_id()
const
final
{
45782
return
ID
;
45783
}
45784
45785
public
:
45787
object_ptr<countryInfo>
country_
;
45789
string
country_calling_code_
;
45791
string
formatted_phone_number_
;
45793
bool
is_anonymous_
;
45794
45798
phoneNumberInfo
();
45799
45808
phoneNumberInfo
(
object_ptr<countryInfo>
&&
country_
,
string
const
&
country_calling_code_
,
string
const
&
formatted_phone_number_
,
bool
is_anonymous_
);
45809
45811
static
const
std::int32_t
ID
= -758933343;
45812
45818
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45819
};
45820
45821
class
minithumbnail
;
45822
45823
class
photoSize
;
45824
45828
class
photo
final :
public
Object
{
45833
std::int32_t get_id()
const
final
{
45834
return
ID
;
45835
}
45836
45837
public
:
45839
bool
has_stickers_
;
45841
object_ptr<minithumbnail>
minithumbnail_
;
45843
array<object_ptr<photoSize>
>
sizes_
;
45844
45848
photo
();
45849
45857
photo
(
bool
has_stickers_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
array
<
object_ptr<photoSize>
> &&
sizes_
);
45858
45860
static
const
std::int32_t
ID
= -2022871583;
45861
45867
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45868
};
45869
45870
class
file
;
45871
45875
class
photoSize
final :
public
Object
{
45880
std::int32_t get_id()
const
final
{
45881
return
ID
;
45882
}
45883
45884
public
:
45886
string
type_
;
45888
object_ptr<file>
photo_
;
45890
int32
width_
;
45892
int32
height_
;
45894
array<int32>
progressive_sizes_
;
45895
45899
photoSize
();
45900
45910
photoSize
(
string
const
&
type_
,
object_ptr<file>
&&
photo_
,
int32
width_
,
int32
height_
,
array<int32>
&&
progressive_sizes_
);
45911
45913
static
const
std::int32_t
ID
= 1609182352;
45914
45920
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45921
};
45922
45926
class
point
final :
public
Object
{
45931
std::int32_t get_id()
const
final
{
45932
return
ID
;
45933
}
45934
45935
public
:
45937
double
x_
;
45939
double
y_
;
45940
45944
point
();
45945
45952
point
(
double
x_
,
double
y_
);
45953
45955
static
const
std::int32_t
ID
= 437515705;
45956
45962
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
45963
};
45964
45965
class
MessageSender
;
45966
45967
class
PollType
;
45968
45969
class
formattedText
;
45970
45971
class
pollOption
;
45972
45976
class
poll
final :
public
Object
{
45981
std::int32_t get_id()
const
final
{
45982
return
ID
;
45983
}
45984
45985
public
:
45987
int64
id_
;
45989
object_ptr<formattedText>
question_
;
45991
array<object_ptr<pollOption>
>
options_
;
45993
int32
total_voter_count_
;
45995
array<object_ptr<MessageSender>
>
recent_voter_ids_
;
45997
bool
is_anonymous_
;
45999
object_ptr<PollType>
type_
;
46001
int32
open_period_
;
46003
int32
close_date_
;
46005
bool
is_closed_
;
46006
46010
poll
();
46011
46026
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_
);
46027
46029
static
const
std::int32_t
ID
= 1913016502;
46030
46036
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46037
};
46038
46039
class
formattedText
;
46040
46044
class
pollOption
final :
public
Object
{
46049
std::int32_t get_id()
const
final
{
46050
return
ID
;
46051
}
46052
46053
public
:
46055
object_ptr<formattedText>
text_
;
46057
int32
voter_count_
;
46059
int32
vote_percentage_
;
46061
bool
is_chosen_
;
46063
bool
is_being_chosen_
;
46064
46068
pollOption
();
46069
46079
pollOption
(
object_ptr<formattedText>
&&
text_
,
int32
voter_count_
,
int32
vote_percentage_
,
bool
is_chosen_
,
bool
is_being_chosen_
);
46080
46082
static
const
std::int32_t
ID
= 1676243088;
46083
46089
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46090
};
46091
46092
class
formattedText
;
46093
46098
class
PollType
:
public
Object
{
46099
public
:
46100
};
46101
46105
class
pollTypeRegular
final :
public
PollType
{
46110
std::int32_t get_id()
const
final
{
46111
return
ID
;
46112
}
46113
46114
public
:
46116
bool
allow_multiple_answers_
;
46117
46121
pollTypeRegular
();
46122
46128
explicit
pollTypeRegular
(
bool
allow_multiple_answers_
);
46129
46131
static
const
std::int32_t
ID
= 641265698;
46132
46138
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46139
};
46140
46144
class
pollTypeQuiz
final :
public
PollType
{
46149
std::int32_t get_id()
const
final
{
46150
return
ID
;
46151
}
46152
46153
public
:
46155
int32
correct_option_id_
;
46157
object_ptr<formattedText>
explanation_
;
46158
46162
pollTypeQuiz
();
46163
46170
pollTypeQuiz
(
int32
correct_option_id_
,
object_ptr<formattedText>
&&
explanation_
);
46171
46173
static
const
std::int32_t
ID
= 657013913;
46174
46180
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46181
};
46182
46187
class
PremiumFeature
:
public
Object
{
46188
public
:
46189
};
46190
46194
class
premiumFeatureIncreasedLimits
final :
public
PremiumFeature
{
46199
std::int32_t get_id()
const
final
{
46200
return
ID
;
46201
}
46202
46203
public
:
46204
46208
premiumFeatureIncreasedLimits
();
46209
46211
static
const
std::int32_t
ID
= 1785455031;
46212
46218
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46219
};
46220
46224
class
premiumFeatureIncreasedUploadFileSize
final :
public
PremiumFeature
{
46229
std::int32_t get_id()
const
final
{
46230
return
ID
;
46231
}
46232
46233
public
:
46234
46238
premiumFeatureIncreasedUploadFileSize
();
46239
46241
static
const
std::int32_t
ID
= 1825367155;
46242
46248
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46249
};
46250
46254
class
premiumFeatureImprovedDownloadSpeed
final :
public
PremiumFeature
{
46259
std::int32_t get_id()
const
final
{
46260
return
ID
;
46261
}
46262
46263
public
:
46264
46268
premiumFeatureImprovedDownloadSpeed
();
46269
46271
static
const
std::int32_t
ID
= -267695554;
46272
46278
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46279
};
46280
46284
class
premiumFeatureVoiceRecognition
final :
public
PremiumFeature
{
46289
std::int32_t get_id()
const
final
{
46290
return
ID
;
46291
}
46292
46293
public
:
46294
46298
premiumFeatureVoiceRecognition
();
46299
46301
static
const
std::int32_t
ID
= 1288216542;
46302
46308
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46309
};
46310
46314
class
premiumFeatureDisabledAds
final :
public
PremiumFeature
{
46319
std::int32_t get_id()
const
final
{
46320
return
ID
;
46321
}
46322
46323
public
:
46324
46328
premiumFeatureDisabledAds
();
46329
46331
static
const
std::int32_t
ID
= -2008587702;
46332
46338
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46339
};
46340
46344
class
premiumFeatureUniqueReactions
final :
public
PremiumFeature
{
46349
std::int32_t get_id()
const
final
{
46350
return
ID
;
46351
}
46352
46353
public
:
46354
46358
premiumFeatureUniqueReactions
();
46359
46361
static
const
std::int32_t
ID
= 766750743;
46362
46368
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46369
};
46370
46374
class
premiumFeatureUniqueStickers
final :
public
PremiumFeature
{
46379
std::int32_t get_id()
const
final
{
46380
return
ID
;
46381
}
46382
46383
public
:
46384
46388
premiumFeatureUniqueStickers
();
46389
46391
static
const
std::int32_t
ID
= -2101773312;
46392
46398
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46399
};
46400
46404
class
premiumFeatureCustomEmoji
final :
public
PremiumFeature
{
46409
std::int32_t get_id()
const
final
{
46410
return
ID
;
46411
}
46412
46413
public
:
46414
46418
premiumFeatureCustomEmoji
();
46419
46421
static
const
std::int32_t
ID
= 1332599628;
46422
46428
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46429
};
46430
46434
class
premiumFeatureAdvancedChatManagement
final :
public
PremiumFeature
{
46439
std::int32_t get_id()
const
final
{
46440
return
ID
;
46441
}
46442
46443
public
:
46444
46448
premiumFeatureAdvancedChatManagement
();
46449
46451
static
const
std::int32_t
ID
= 796347674;
46452
46458
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46459
};
46460
46464
class
premiumFeatureProfileBadge
final :
public
PremiumFeature
{
46469
std::int32_t get_id()
const
final
{
46470
return
ID
;
46471
}
46472
46473
public
:
46474
46478
premiumFeatureProfileBadge
();
46479
46481
static
const
std::int32_t
ID
= 233648322;
46482
46488
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46489
};
46490
46494
class
premiumFeatureEmojiStatus
final :
public
PremiumFeature
{
46499
std::int32_t get_id()
const
final
{
46500
return
ID
;
46501
}
46502
46503
public
:
46504
46508
premiumFeatureEmojiStatus
();
46509
46511
static
const
std::int32_t
ID
= -36516639;
46512
46518
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46519
};
46520
46524
class
premiumFeatureAnimatedProfilePhoto
final :
public
PremiumFeature
{
46529
std::int32_t get_id()
const
final
{
46530
return
ID
;
46531
}
46532
46533
public
:
46534
46538
premiumFeatureAnimatedProfilePhoto
();
46539
46541
static
const
std::int32_t
ID
= -100741914;
46542
46548
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46549
};
46550
46554
class
premiumFeatureForumTopicIcon
final :
public
PremiumFeature
{
46559
std::int32_t get_id()
const
final
{
46560
return
ID
;
46561
}
46562
46563
public
:
46564
46568
premiumFeatureForumTopicIcon
();
46569
46571
static
const
std::int32_t
ID
= -823172286;
46572
46578
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46579
};
46580
46584
class
premiumFeatureAppIcons
final :
public
PremiumFeature
{
46589
std::int32_t get_id()
const
final
{
46590
return
ID
;
46591
}
46592
46593
public
:
46594
46598
premiumFeatureAppIcons
();
46599
46601
static
const
std::int32_t
ID
= 1585050761;
46602
46608
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46609
};
46610
46614
class
premiumFeatureRealTimeChatTranslation
final :
public
PremiumFeature
{
46619
std::int32_t get_id()
const
final
{
46620
return
ID
;
46621
}
46622
46623
public
:
46624
46628
premiumFeatureRealTimeChatTranslation
();
46629
46631
static
const
std::int32_t
ID
= -1143471488;
46632
46638
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46639
};
46640
46644
class
premiumFeatureUpgradedStories
final :
public
PremiumFeature
{
46649
std::int32_t get_id()
const
final
{
46650
return
ID
;
46651
}
46652
46653
public
:
46654
46658
premiumFeatureUpgradedStories
();
46659
46661
static
const
std::int32_t
ID
= -1878522597;
46662
46668
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46669
};
46670
46674
class
premiumFeatureChatBoost
final :
public
PremiumFeature
{
46679
std::int32_t get_id()
const
final
{
46680
return
ID
;
46681
}
46682
46683
public
:
46684
46688
premiumFeatureChatBoost
();
46689
46691
static
const
std::int32_t
ID
= 1576574747;
46692
46698
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46699
};
46700
46704
class
premiumFeatureAccentColor
final :
public
PremiumFeature
{
46709
std::int32_t get_id()
const
final
{
46710
return
ID
;
46711
}
46712
46713
public
:
46714
46718
premiumFeatureAccentColor
();
46719
46721
static
const
std::int32_t
ID
= 907724190;
46722
46728
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46729
};
46730
46734
class
premiumFeatureBackgroundForBoth
final :
public
PremiumFeature
{
46739
std::int32_t get_id()
const
final
{
46740
return
ID
;
46741
}
46742
46743
public
:
46744
46748
premiumFeatureBackgroundForBoth
();
46749
46751
static
const
std::int32_t
ID
= 575074042;
46752
46758
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46759
};
46760
46764
class
premiumFeatureSavedMessagesTags
final :
public
PremiumFeature
{
46769
std::int32_t get_id()
const
final
{
46770
return
ID
;
46771
}
46772
46773
public
:
46774
46778
premiumFeatureSavedMessagesTags
();
46779
46781
static
const
std::int32_t
ID
= 1003219334;
46782
46788
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46789
};
46790
46794
class
premiumFeatureMessagePrivacy
final :
public
PremiumFeature
{
46799
std::int32_t get_id()
const
final
{
46800
return
ID
;
46801
}
46802
46803
public
:
46804
46808
premiumFeatureMessagePrivacy
();
46809
46811
static
const
std::int32_t
ID
= 802322678;
46812
46818
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46819
};
46820
46824
class
premiumFeatureLastSeenTimes
final :
public
PremiumFeature
{
46829
std::int32_t get_id()
const
final
{
46830
return
ID
;
46831
}
46832
46833
public
:
46834
46838
premiumFeatureLastSeenTimes
();
46839
46841
static
const
std::int32_t
ID
= -762230129;
46842
46848
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46849
};
46850
46854
class
premiumFeatureBusiness
final :
public
PremiumFeature
{
46859
std::int32_t get_id()
const
final
{
46860
return
ID
;
46861
}
46862
46863
public
:
46864
46868
premiumFeatureBusiness
();
46869
46871
static
const
std::int32_t
ID
= -1503619324;
46872
46878
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46879
};
46880
46884
class
premiumFeatureMessageEffects
final :
public
PremiumFeature
{
46889
std::int32_t get_id()
const
final
{
46890
return
ID
;
46891
}
46892
46893
public
:
46894
46898
premiumFeatureMessageEffects
();
46899
46901
static
const
std::int32_t
ID
= -723300255;
46902
46908
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46909
};
46910
46911
class
PremiumFeature
;
46912
46913
class
animation
;
46914
46918
class
premiumFeaturePromotionAnimation
final :
public
Object
{
46923
std::int32_t get_id()
const
final
{
46924
return
ID
;
46925
}
46926
46927
public
:
46929
object_ptr<PremiumFeature>
feature_
;
46931
object_ptr<animation>
animation_
;
46932
46936
premiumFeaturePromotionAnimation
();
46937
46944
premiumFeaturePromotionAnimation
(
object_ptr<PremiumFeature>
&&
feature_
,
object_ptr<animation>
&&
animation_
);
46945
46947
static
const
std::int32_t
ID
= -1986155748;
46948
46954
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
46955
};
46956
46957
class
InternalLinkType
;
46958
46959
class
PremiumFeature
;
46960
46961
class
premiumLimit
;
46962
46966
class
premiumFeatures
final :
public
Object
{
46971
std::int32_t get_id()
const
final
{
46972
return
ID
;
46973
}
46974
46975
public
:
46977
array<object_ptr<PremiumFeature>
>
features_
;
46979
array<object_ptr<premiumLimit>
>
limits_
;
46981
object_ptr<InternalLinkType>
payment_link_
;
46982
46986
premiumFeatures
();
46987
46995
premiumFeatures
(
array
<
object_ptr<PremiumFeature>
> &&
features_
,
array
<
object_ptr<premiumLimit>
> &&
limits_
,
object_ptr<InternalLinkType>
&&
payment_link_
);
46996
46998
static
const
std::int32_t
ID
= 1875162172;
46999
47005
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47006
};
47007
47008
class
MessageSender
;
47009
47013
class
premiumGiftCodeInfo
final :
public
Object
{
47018
std::int32_t get_id()
const
final
{
47019
return
ID
;
47020
}
47021
47022
public
:
47024
object_ptr<MessageSender>
creator_id_
;
47026
int32
creation_date_
;
47028
bool
is_from_giveaway_
;
47030
int53
giveaway_message_id_
;
47032
int32
month_count_
;
47034
int53
user_id_
;
47036
int32
use_date_
;
47037
47041
premiumGiftCodeInfo
();
47042
47054
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_
);
47055
47057
static
const
std::int32_t
ID
= -1198544674;
47058
47064
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47065
};
47066
47067
class
sticker
;
47068
47072
class
premiumGiftPaymentOption
final :
public
Object
{
47077
std::int32_t get_id()
const
final
{
47078
return
ID
;
47079
}
47080
47081
public
:
47083
string
currency_
;
47085
int53
amount_
;
47087
int53
star_count_
;
47089
int32
discount_percentage_
;
47091
int32
month_count_
;
47093
string
store_product_id_
;
47095
object_ptr<sticker>
sticker_
;
47096
47100
premiumGiftPaymentOption
();
47101
47113
premiumGiftPaymentOption
(
string
const
&
currency_
,
int53
amount_
,
int53
star_count_
,
int32
discount_percentage_
,
int32
month_count_
,
string
const
&
store_product_id_
,
object_ptr<sticker>
&&
sticker_
);
47114
47116
static
const
std::int32_t
ID
= -338085027;
47117
47123
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47124
};
47125
47126
class
premiumGiftPaymentOption
;
47127
47131
class
premiumGiftPaymentOptions
final :
public
Object
{
47136
std::int32_t get_id()
const
final
{
47137
return
ID
;
47138
}
47139
47140
public
:
47142
array<object_ptr<premiumGiftPaymentOption>
>
options_
;
47143
47147
premiumGiftPaymentOptions
();
47148
47154
explicit
premiumGiftPaymentOptions
(
array
<
object_ptr<premiumGiftPaymentOption>
> &&
options_
);
47155
47157
static
const
std::int32_t
ID
= -1347543032;
47158
47164
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47165
};
47166
47170
class
premiumGiveawayPaymentOption
final :
public
Object
{
47175
std::int32_t get_id()
const
final
{
47176
return
ID
;
47177
}
47178
47179
public
:
47181
string
currency_
;
47183
int53
amount_
;
47185
int32
winner_count_
;
47187
int32
month_count_
;
47189
string
store_product_id_
;
47191
int32
store_product_quantity_
;
47192
47196
premiumGiveawayPaymentOption
();
47197
47208
premiumGiveawayPaymentOption
(
string
const
&
currency_
,
int53
amount_
,
int32
winner_count_
,
int32
month_count_
,
string
const
&
store_product_id_
,
int32
store_product_quantity_
);
47209
47211
static
const
std::int32_t
ID
= 1099221896;
47212
47218
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47219
};
47220
47221
class
premiumGiveawayPaymentOption
;
47222
47226
class
premiumGiveawayPaymentOptions
final :
public
Object
{
47231
std::int32_t get_id()
const
final
{
47232
return
ID
;
47233
}
47234
47235
public
:
47237
array<object_ptr<premiumGiveawayPaymentOption>
>
options_
;
47238
47242
premiumGiveawayPaymentOptions
();
47243
47249
explicit
premiumGiveawayPaymentOptions
(
array
<
object_ptr<premiumGiveawayPaymentOption>
> &&
options_
);
47250
47252
static
const
std::int32_t
ID
= -1587397823;
47253
47259
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47260
};
47261
47262
class
PremiumLimitType
;
47263
47267
class
premiumLimit
final :
public
Object
{
47272
std::int32_t get_id()
const
final
{
47273
return
ID
;
47274
}
47275
47276
public
:
47278
object_ptr<PremiumLimitType>
type_
;
47280
int32
default_value_
;
47282
int32
premium_value_
;
47283
47287
premiumLimit
();
47288
47296
premiumLimit
(
object_ptr<PremiumLimitType>
&&
type_
,
int32
default_value_
,
int32
premium_value_
);
47297
47299
static
const
std::int32_t
ID
= 2127786726;
47300
47306
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47307
};
47308
47313
class
PremiumLimitType
:
public
Object
{
47314
public
:
47315
};
47316
47320
class
premiumLimitTypeSupergroupCount
final :
public
PremiumLimitType
{
47325
std::int32_t get_id()
const
final
{
47326
return
ID
;
47327
}
47328
47329
public
:
47330
47334
premiumLimitTypeSupergroupCount
();
47335
47337
static
const
std::int32_t
ID
= -247467131;
47338
47344
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47345
};
47346
47350
class
premiumLimitTypePinnedChatCount
final :
public
PremiumLimitType
{
47355
std::int32_t get_id()
const
final
{
47356
return
ID
;
47357
}
47358
47359
public
:
47360
47364
premiumLimitTypePinnedChatCount
();
47365
47367
static
const
std::int32_t
ID
= -998947871;
47368
47374
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47375
};
47376
47380
class
premiumLimitTypeCreatedPublicChatCount
final :
public
PremiumLimitType
{
47385
std::int32_t get_id()
const
final
{
47386
return
ID
;
47387
}
47388
47389
public
:
47390
47394
premiumLimitTypeCreatedPublicChatCount
();
47395
47397
static
const
std::int32_t
ID
= 446086841;
47398
47404
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47405
};
47406
47410
class
premiumLimitTypeSavedAnimationCount
final :
public
PremiumLimitType
{
47415
std::int32_t get_id()
const
final
{
47416
return
ID
;
47417
}
47418
47419
public
:
47420
47424
premiumLimitTypeSavedAnimationCount
();
47425
47427
static
const
std::int32_t
ID
= -19759735;
47428
47434
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47435
};
47436
47440
class
premiumLimitTypeFavoriteStickerCount
final :
public
PremiumLimitType
{
47445
std::int32_t get_id()
const
final
{
47446
return
ID
;
47447
}
47448
47449
public
:
47450
47454
premiumLimitTypeFavoriteStickerCount
();
47455
47457
static
const
std::int32_t
ID
= 639754787;
47458
47464
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47465
};
47466
47470
class
premiumLimitTypeChatFolderCount
final :
public
PremiumLimitType
{
47475
std::int32_t get_id()
const
final
{
47476
return
ID
;
47477
}
47478
47479
public
:
47480
47484
premiumLimitTypeChatFolderCount
();
47485
47487
static
const
std::int32_t
ID
= 377489774;
47488
47494
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47495
};
47496
47500
class
premiumLimitTypeChatFolderChosenChatCount
final :
public
PremiumLimitType
{
47505
std::int32_t get_id()
const
final
{
47506
return
ID
;
47507
}
47508
47509
public
:
47510
47514
premiumLimitTypeChatFolderChosenChatCount
();
47515
47517
static
const
std::int32_t
ID
= 1691435861;
47518
47524
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47525
};
47526
47530
class
premiumLimitTypePinnedArchivedChatCount
final :
public
PremiumLimitType
{
47535
std::int32_t get_id()
const
final
{
47536
return
ID
;
47537
}
47538
47539
public
:
47540
47544
premiumLimitTypePinnedArchivedChatCount
();
47545
47547
static
const
std::int32_t
ID
= 1485515276;
47548
47554
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47555
};
47556
47560
class
premiumLimitTypePinnedSavedMessagesTopicCount
final :
public
PremiumLimitType
{
47565
std::int32_t get_id()
const
final
{
47566
return
ID
;
47567
}
47568
47569
public
:
47570
47574
premiumLimitTypePinnedSavedMessagesTopicCount
();
47575
47577
static
const
std::int32_t
ID
= -1544854305;
47578
47584
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47585
};
47586
47590
class
premiumLimitTypeCaptionLength
final :
public
PremiumLimitType
{
47595
std::int32_t get_id()
const
final
{
47596
return
ID
;
47597
}
47598
47599
public
:
47600
47604
premiumLimitTypeCaptionLength
();
47605
47607
static
const
std::int32_t
ID
= 293984314;
47608
47614
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47615
};
47616
47620
class
premiumLimitTypeBioLength
final :
public
PremiumLimitType
{
47625
std::int32_t get_id()
const
final
{
47626
return
ID
;
47627
}
47628
47629
public
:
47630
47634
premiumLimitTypeBioLength
();
47635
47637
static
const
std::int32_t
ID
= -1146976765;
47638
47644
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47645
};
47646
47650
class
premiumLimitTypeChatFolderInviteLinkCount
final :
public
PremiumLimitType
{
47655
std::int32_t get_id()
const
final
{
47656
return
ID
;
47657
}
47658
47659
public
:
47660
47664
premiumLimitTypeChatFolderInviteLinkCount
();
47665
47667
static
const
std::int32_t
ID
= -128702950;
47668
47674
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47675
};
47676
47680
class
premiumLimitTypeShareableChatFolderCount
final :
public
PremiumLimitType
{
47685
std::int32_t get_id()
const
final
{
47686
return
ID
;
47687
}
47688
47689
public
:
47690
47694
premiumLimitTypeShareableChatFolderCount
();
47695
47697
static
const
std::int32_t
ID
= 1612625095;
47698
47704
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47705
};
47706
47710
class
premiumLimitTypeActiveStoryCount
final :
public
PremiumLimitType
{
47715
std::int32_t get_id()
const
final
{
47716
return
ID
;
47717
}
47718
47719
public
:
47720
47724
premiumLimitTypeActiveStoryCount
();
47725
47727
static
const
std::int32_t
ID
= -1926486372;
47728
47734
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47735
};
47736
47740
class
premiumLimitTypeWeeklyPostedStoryCount
final :
public
PremiumLimitType
{
47745
std::int32_t get_id()
const
final
{
47746
return
ID
;
47747
}
47748
47749
public
:
47750
47754
premiumLimitTypeWeeklyPostedStoryCount
();
47755
47757
static
const
std::int32_t
ID
= -506354313;
47758
47764
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47765
};
47766
47770
class
premiumLimitTypeMonthlyPostedStoryCount
final :
public
PremiumLimitType
{
47775
std::int32_t get_id()
const
final
{
47776
return
ID
;
47777
}
47778
47779
public
:
47780
47784
premiumLimitTypeMonthlyPostedStoryCount
();
47785
47787
static
const
std::int32_t
ID
= 26329490;
47788
47794
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47795
};
47796
47800
class
premiumLimitTypeStoryCaptionLength
final :
public
PremiumLimitType
{
47805
std::int32_t get_id()
const
final
{
47806
return
ID
;
47807
}
47808
47809
public
:
47810
47814
premiumLimitTypeStoryCaptionLength
();
47815
47817
static
const
std::int32_t
ID
= -1093324030;
47818
47824
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47825
};
47826
47830
class
premiumLimitTypeStorySuggestedReactionAreaCount
final :
public
PremiumLimitType
{
47835
std::int32_t get_id()
const
final
{
47836
return
ID
;
47837
}
47838
47839
public
:
47840
47844
premiumLimitTypeStorySuggestedReactionAreaCount
();
47845
47847
static
const
std::int32_t
ID
= -1170032633;
47848
47854
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47855
};
47856
47860
class
premiumLimitTypeSimilarChatCount
final :
public
PremiumLimitType
{
47865
std::int32_t get_id()
const
final
{
47866
return
ID
;
47867
}
47868
47869
public
:
47870
47874
premiumLimitTypeSimilarChatCount
();
47875
47877
static
const
std::int32_t
ID
= -1563549935;
47878
47884
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47885
};
47886
47887
class
InternalLinkType
;
47888
47892
class
premiumPaymentOption
final :
public
Object
{
47897
std::int32_t get_id()
const
final
{
47898
return
ID
;
47899
}
47900
47901
public
:
47903
string
currency_
;
47905
int53
amount_
;
47907
int32
discount_percentage_
;
47909
int32
month_count_
;
47911
string
store_product_id_
;
47913
object_ptr<InternalLinkType>
payment_link_
;
47914
47918
premiumPaymentOption
();
47919
47930
premiumPaymentOption
(
string
const
&
currency_
,
int53
amount_
,
int32
discount_percentage_
,
int32
month_count_
,
string
const
&
store_product_id_
,
object_ptr<InternalLinkType>
&&
payment_link_
);
47931
47933
static
const
std::int32_t
ID
= -1945346126;
47934
47940
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47941
};
47942
47943
class
BusinessFeature
;
47944
47945
class
PremiumFeature
;
47946
47947
class
PremiumLimitType
;
47948
47949
class
PremiumStoryFeature
;
47950
47955
class
PremiumSource
:
public
Object
{
47956
public
:
47957
};
47958
47962
class
premiumSourceLimitExceeded
final :
public
PremiumSource
{
47967
std::int32_t get_id()
const
final
{
47968
return
ID
;
47969
}
47970
47971
public
:
47973
object_ptr<PremiumLimitType>
limit_type_
;
47974
47978
premiumSourceLimitExceeded
();
47979
47985
explicit
premiumSourceLimitExceeded
(
object_ptr<PremiumLimitType>
&&
limit_type_
);
47986
47988
static
const
std::int32_t
ID
= -2052159742;
47989
47995
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
47996
};
47997
48001
class
premiumSourceFeature
final :
public
PremiumSource
{
48006
std::int32_t get_id()
const
final
{
48007
return
ID
;
48008
}
48009
48010
public
:
48012
object_ptr<PremiumFeature>
feature_
;
48013
48017
premiumSourceFeature
();
48018
48024
explicit
premiumSourceFeature
(
object_ptr<PremiumFeature>
&&
feature_
);
48025
48027
static
const
std::int32_t
ID
= 445813541;
48028
48034
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48035
};
48036
48040
class
premiumSourceBusinessFeature
final :
public
PremiumSource
{
48045
std::int32_t get_id()
const
final
{
48046
return
ID
;
48047
}
48048
48049
public
:
48051
object_ptr<BusinessFeature>
feature_
;
48052
48056
premiumSourceBusinessFeature
();
48057
48063
explicit
premiumSourceBusinessFeature
(
object_ptr<BusinessFeature>
&&
feature_
);
48064
48066
static
const
std::int32_t
ID
= -1492946340;
48067
48073
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48074
};
48075
48079
class
premiumSourceStoryFeature
final :
public
PremiumSource
{
48084
std::int32_t get_id()
const
final
{
48085
return
ID
;
48086
}
48087
48088
public
:
48090
object_ptr<PremiumStoryFeature>
feature_
;
48091
48095
premiumSourceStoryFeature
();
48096
48102
explicit
premiumSourceStoryFeature
(
object_ptr<PremiumStoryFeature>
&&
feature_
);
48103
48105
static
const
std::int32_t
ID
= -1030737556;
48106
48112
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48113
};
48114
48118
class
premiumSourceLink
final :
public
PremiumSource
{
48123
std::int32_t get_id()
const
final
{
48124
return
ID
;
48125
}
48126
48127
public
:
48129
string
referrer_
;
48130
48134
premiumSourceLink
();
48135
48141
explicit
premiumSourceLink
(
string
const
&
referrer_
);
48142
48144
static
const
std::int32_t
ID
= 2135071132;
48145
48151
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48152
};
48153
48157
class
premiumSourceSettings
final :
public
PremiumSource
{
48162
std::int32_t get_id()
const
final
{
48163
return
ID
;
48164
}
48165
48166
public
:
48167
48171
premiumSourceSettings
();
48172
48174
static
const
std::int32_t
ID
= -285702859;
48175
48181
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48182
};
48183
48184
class
businessFeaturePromotionAnimation
;
48185
48186
class
formattedText
;
48187
48188
class
premiumFeaturePromotionAnimation
;
48189
48190
class
premiumStatePaymentOption
;
48191
48195
class
premiumState
final :
public
Object
{
48200
std::int32_t get_id()
const
final
{
48201
return
ID
;
48202
}
48203
48204
public
:
48206
object_ptr<formattedText>
state_
;
48208
array<object_ptr<premiumStatePaymentOption>
>
payment_options_
;
48210
array<object_ptr<premiumFeaturePromotionAnimation>
>
animations_
;
48212
array<object_ptr<businessFeaturePromotionAnimation>
>
business_animations_
;
48213
48217
premiumState
();
48218
48227
premiumState
(
object_ptr<formattedText>
&&
state_
,
array
<
object_ptr<premiumStatePaymentOption>
> &&
payment_options_
,
array
<
object_ptr<premiumFeaturePromotionAnimation>
> &&
animations_
,
array
<
object_ptr<businessFeaturePromotionAnimation>
> &&
business_animations_
);
48228
48230
static
const
std::int32_t
ID
= 1772082178;
48231
48237
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48238
};
48239
48240
class
premiumPaymentOption
;
48241
48245
class
premiumStatePaymentOption
final :
public
Object
{
48250
std::int32_t get_id()
const
final
{
48251
return
ID
;
48252
}
48253
48254
public
:
48256
object_ptr<premiumPaymentOption>
payment_option_
;
48258
bool
is_current_
;
48260
bool
is_upgrade_
;
48262
string
last_transaction_id_
;
48263
48267
premiumStatePaymentOption
();
48268
48277
premiumStatePaymentOption
(
object_ptr<premiumPaymentOption>
&&
payment_option_
,
bool
is_current_
,
bool
is_upgrade_
,
string
const
&
last_transaction_id_
);
48278
48280
static
const
std::int32_t
ID
= 2097591673;
48281
48287
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48288
};
48289
48294
class
PremiumStoryFeature
:
public
Object
{
48295
public
:
48296
};
48297
48301
class
premiumStoryFeaturePriorityOrder
final :
public
PremiumStoryFeature
{
48306
std::int32_t get_id()
const
final
{
48307
return
ID
;
48308
}
48309
48310
public
:
48311
48315
premiumStoryFeaturePriorityOrder
();
48316
48318
static
const
std::int32_t
ID
= -1880001849;
48319
48325
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48326
};
48327
48331
class
premiumStoryFeatureStealthMode
final :
public
PremiumStoryFeature
{
48336
std::int32_t get_id()
const
final
{
48337
return
ID
;
48338
}
48339
48340
public
:
48341
48345
premiumStoryFeatureStealthMode
();
48346
48348
static
const
std::int32_t
ID
= 1194605988;
48349
48355
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48356
};
48357
48361
class
premiumStoryFeaturePermanentViewsHistory
final :
public
PremiumStoryFeature
{
48366
std::int32_t get_id()
const
final
{
48367
return
ID
;
48368
}
48369
48370
public
:
48371
48375
premiumStoryFeaturePermanentViewsHistory
();
48376
48378
static
const
std::int32_t
ID
= -1029683296;
48379
48385
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48386
};
48387
48391
class
premiumStoryFeatureCustomExpirationDuration
final :
public
PremiumStoryFeature
{
48396
std::int32_t get_id()
const
final
{
48397
return
ID
;
48398
}
48399
48400
public
:
48401
48405
premiumStoryFeatureCustomExpirationDuration
();
48406
48408
static
const
std::int32_t
ID
= -593229162;
48409
48415
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48416
};
48417
48421
class
premiumStoryFeatureSaveStories
final :
public
PremiumStoryFeature
{
48426
std::int32_t get_id()
const
final
{
48427
return
ID
;
48428
}
48429
48430
public
:
48431
48435
premiumStoryFeatureSaveStories
();
48436
48438
static
const
std::int32_t
ID
= -1501286467;
48439
48445
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48446
};
48447
48451
class
premiumStoryFeatureLinksAndFormatting
final :
public
PremiumStoryFeature
{
48456
std::int32_t get_id()
const
final
{
48457
return
ID
;
48458
}
48459
48460
public
:
48461
48465
premiumStoryFeatureLinksAndFormatting
();
48466
48468
static
const
std::int32_t
ID
= -622623753;
48469
48475
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48476
};
48477
48481
class
premiumStoryFeatureVideoQuality
final :
public
PremiumStoryFeature
{
48486
std::int32_t get_id()
const
final
{
48487
return
ID
;
48488
}
48489
48490
public
:
48491
48495
premiumStoryFeatureVideoQuality
();
48496
48498
static
const
std::int32_t
ID
= -1162887511;
48499
48505
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48506
};
48507
48508
class
GiveawayPrize
;
48509
48513
class
prepaidGiveaway
final :
public
Object
{
48518
std::int32_t get_id()
const
final
{
48519
return
ID
;
48520
}
48521
48522
public
:
48524
int64
id_
;
48526
int32
winner_count_
;
48528
object_ptr<GiveawayPrize>
prize_
;
48530
int32
boost_count_
;
48532
int32
payment_date_
;
48533
48537
prepaidGiveaway
();
48538
48548
prepaidGiveaway
(
int64
id_
,
int32
winner_count_
,
object_ptr<GiveawayPrize>
&&
prize_
,
int32
boost_count_
,
int32
payment_date_
);
48549
48551
static
const
std::int32_t
ID
= -277859441;
48552
48558
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48559
};
48560
48561
class
InlineQueryResult
;
48562
48563
class
targetChatTypes
;
48564
48568
class
preparedInlineMessage
final :
public
Object
{
48573
std::int32_t get_id()
const
final
{
48574
return
ID
;
48575
}
48576
48577
public
:
48579
int64
inline_query_id_
;
48581
object_ptr<InlineQueryResult>
result_
;
48583
object_ptr<targetChatTypes>
chat_types_
;
48584
48588
preparedInlineMessage
();
48589
48597
preparedInlineMessage
(
int64
inline_query_id_
,
object_ptr<InlineQueryResult>
&&
result_
,
object_ptr<targetChatTypes>
&&
chat_types_
);
48598
48600
static
const
std::int32_t
ID
= -1808892734;
48601
48607
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48608
};
48609
48613
class
preparedInlineMessageId
final :
public
Object
{
48618
std::int32_t get_id()
const
final
{
48619
return
ID
;
48620
}
48621
48622
public
:
48624
string
id_
;
48626
int32
expiration_date_
;
48627
48631
preparedInlineMessageId
();
48632
48639
preparedInlineMessageId
(
string
const
&
id_
,
int32
expiration_date_
);
48640
48642
static
const
std::int32_t
ID
= 940415972;
48643
48649
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48650
};
48651
48652
class
formattedText
;
48653
48654
class
photo
;
48655
48659
class
productInfo
final :
public
Object
{
48664
std::int32_t get_id()
const
final
{
48665
return
ID
;
48666
}
48667
48668
public
:
48670
string
title_
;
48672
object_ptr<formattedText>
description_
;
48674
object_ptr<photo>
photo_
;
48675
48679
productInfo
();
48680
48688
productInfo
(
string
const
&
title_
,
object_ptr<formattedText>
&&
description_
,
object_ptr<photo>
&&
photo_
);
48689
48691
static
const
std::int32_t
ID
= -2015069020;
48692
48698
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48699
};
48700
48701
class
profileAccentColors
;
48702
48706
class
profileAccentColor
final :
public
Object
{
48711
std::int32_t get_id()
const
final
{
48712
return
ID
;
48713
}
48714
48715
public
:
48717
int32
id_
;
48719
object_ptr<profileAccentColors>
light_theme_colors_
;
48721
object_ptr<profileAccentColors>
dark_theme_colors_
;
48723
int32
min_supergroup_chat_boost_level_
;
48725
int32
min_channel_chat_boost_level_
;
48726
48730
profileAccentColor
();
48731
48741
profileAccentColor
(
int32
id_
,
object_ptr<profileAccentColors>
&&
light_theme_colors_
,
object_ptr<profileAccentColors>
&&
dark_theme_colors_
,
int32
min_supergroup_chat_boost_level_
,
int32
min_channel_chat_boost_level_
);
48742
48744
static
const
std::int32_t
ID
= 557679253;
48745
48751
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48752
};
48753
48757
class
profileAccentColors
final :
public
Object
{
48762
std::int32_t get_id()
const
final
{
48763
return
ID
;
48764
}
48765
48766
public
:
48768
array<int32>
palette_colors_
;
48770
array<int32>
background_colors_
;
48772
array<int32>
story_colors_
;
48773
48777
profileAccentColors
();
48778
48786
profileAccentColors
(
array<int32>
&&
palette_colors_
,
array<int32>
&&
background_colors_
,
array<int32>
&&
story_colors_
);
48787
48789
static
const
std::int32_t
ID
= -596042431;
48790
48796
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48797
};
48798
48799
class
file
;
48800
48801
class
minithumbnail
;
48802
48806
class
profilePhoto
final :
public
Object
{
48811
std::int32_t get_id()
const
final
{
48812
return
ID
;
48813
}
48814
48815
public
:
48817
int64
id_
;
48819
object_ptr<file>
small_
;
48821
object_ptr<file>
big_
;
48823
object_ptr<minithumbnail>
minithumbnail_
;
48825
bool
has_animation_
;
48827
bool
is_personal_
;
48828
48832
profilePhoto
();
48833
48844
profilePhoto
(
int64
id_
,
object_ptr<file>
&&
small_
,
object_ptr<file>
&&
big_
,
object_ptr<minithumbnail>
&&
minithumbnail_
,
bool
has_animation_
,
bool
is_personal_
);
48845
48847
static
const
std::int32_t
ID
= -1025754018;
48848
48854
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48855
};
48856
48857
class
proxy
;
48858
48862
class
proxies
final :
public
Object
{
48867
std::int32_t get_id()
const
final
{
48868
return
ID
;
48869
}
48870
48871
public
:
48873
array<object_ptr<proxy>
>
proxies_
;
48874
48878
proxies
();
48879
48885
explicit
proxies
(
array
<
object_ptr<proxy>
> &&
proxies_
);
48886
48888
static
const
std::int32_t
ID
= 1200447205;
48889
48895
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48896
};
48897
48898
class
ProxyType
;
48899
48903
class
proxy
final :
public
Object
{
48908
std::int32_t get_id()
const
final
{
48909
return
ID
;
48910
}
48911
48912
public
:
48914
int32
id_
;
48916
string
server_
;
48918
int32
port_
;
48920
int32
last_used_date_
;
48922
bool
is_enabled_
;
48924
object_ptr<ProxyType>
type_
;
48925
48929
proxy
();
48930
48941
proxy
(
int32
id_
,
string
const
&
server_
,
int32
port_
,
int32
last_used_date_
,
bool
is_enabled_
,
object_ptr<ProxyType>
&&
type_
);
48942
48944
static
const
std::int32_t
ID
= 196049779;
48945
48951
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
48952
};
48953
48958
class
ProxyType
:
public
Object
{
48959
public
:
48960
};
48961
48965
class
proxyTypeSocks5
final :
public
ProxyType
{
48970
std::int32_t get_id()
const
final
{
48971
return
ID
;
48972
}
48973
48974
public
:
48976
string
username_
;
48978
string
password_
;
48979
48983
proxyTypeSocks5
();
48984
48991
proxyTypeSocks5
(
string
const
&
username_
,
string
const
&
password_
);
48992
48994
static
const
std::int32_t
ID
= -890027341;
48995
49001
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49002
};
49003
49007
class
proxyTypeHttp
final :
public
ProxyType
{
49012
std::int32_t get_id()
const
final
{
49013
return
ID
;
49014
}
49015
49016
public
:
49018
string
username_
;
49020
string
password_
;
49022
bool
http_only_
;
49023
49027
proxyTypeHttp
();
49028
49036
proxyTypeHttp
(
string
const
&
username_
,
string
const
&
password_
,
bool
http_only_
);
49037
49039
static
const
std::int32_t
ID
= -1547188361;
49040
49046
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49047
};
49048
49052
class
proxyTypeMtproto
final :
public
ProxyType
{
49057
std::int32_t get_id()
const
final
{
49058
return
ID
;
49059
}
49060
49061
public
:
49063
string
secret_
;
49064
49068
proxyTypeMtproto
();
49069
49075
explicit
proxyTypeMtproto
(
string
const
&
secret_
);
49076
49078
static
const
std::int32_t
ID
= -1964826627;
49079
49085
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49086
};
49087
49092
class
PublicChatType
:
public
Object
{
49093
public
:
49094
};
49095
49099
class
publicChatTypeHasUsername
final :
public
PublicChatType
{
49104
std::int32_t get_id()
const
final
{
49105
return
ID
;
49106
}
49107
49108
public
:
49109
49113
publicChatTypeHasUsername
();
49114
49116
static
const
std::int32_t
ID
= 350789758;
49117
49123
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49124
};
49125
49129
class
publicChatTypeIsLocationBased
final :
public
PublicChatType
{
49134
std::int32_t get_id()
const
final
{
49135
return
ID
;
49136
}
49137
49138
public
:
49139
49143
publicChatTypeIsLocationBased
();
49144
49146
static
const
std::int32_t
ID
= 1183735952;
49147
49153
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49154
};
49155
49156
class
message
;
49157
49158
class
story
;
49159
49164
class
PublicForward
:
public
Object
{
49165
public
:
49166
};
49167
49171
class
publicForwardMessage
final :
public
PublicForward
{
49176
std::int32_t get_id()
const
final
{
49177
return
ID
;
49178
}
49179
49180
public
:
49182
object_ptr<message>
message_
;
49183
49187
publicForwardMessage
();
49188
49194
explicit
publicForwardMessage
(
object_ptr<message>
&&
message_
);
49195
49197
static
const
std::int32_t
ID
= 51885010;
49198
49204
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49205
};
49206
49210
class
publicForwardStory
final :
public
PublicForward
{
49215
std::int32_t get_id()
const
final
{
49216
return
ID
;
49217
}
49218
49219
public
:
49221
object_ptr<story>
story_
;
49222
49226
publicForwardStory
();
49227
49233
explicit
publicForwardStory
(
object_ptr<story>
&&
story_
);
49234
49236
static
const
std::int32_t
ID
= 2145330863;
49237
49243
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49244
};
49245
49246
class
PublicForward
;
49247
49251
class
publicForwards
final :
public
Object
{
49256
std::int32_t get_id()
const
final
{
49257
return
ID
;
49258
}
49259
49260
public
:
49262
int32
total_count_
;
49264
array<object_ptr<PublicForward>
>
forwards_
;
49266
string
next_offset_
;
49267
49271
publicForwards
();
49272
49280
publicForwards
(
int32
total_count_
,
array
<
object_ptr<PublicForward>
> &&
forwards_
,
string
const
&
next_offset_
);
49281
49283
static
const
std::int32_t
ID
= -2011272719;
49284
49290
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49291
};
49292
49293
class
GiveawayPrize
;
49294
49295
class
animation
;
49296
49297
class
audio
;
49298
49299
class
document
;
49300
49301
class
photo
;
49302
49303
class
sticker
;
49304
49305
class
video
;
49306
49307
class
videoNote
;
49308
49309
class
voiceNote
;
49310
49315
class
PushMessageContent
:
public
Object
{
49316
public
:
49317
};
49318
49322
class
pushMessageContentHidden
final :
public
PushMessageContent
{
49327
std::int32_t get_id()
const
final
{
49328
return
ID
;
49329
}
49330
49331
public
:
49333
bool
is_pinned_
;
49334
49338
pushMessageContentHidden
();
49339
49345
explicit
pushMessageContentHidden
(
bool
is_pinned_
);
49346
49348
static
const
std::int32_t
ID
= -316950436;
49349
49355
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49356
};
49357
49361
class
pushMessageContentAnimation
final :
public
PushMessageContent
{
49366
std::int32_t get_id()
const
final
{
49367
return
ID
;
49368
}
49369
49370
public
:
49372
object_ptr<animation>
animation_
;
49374
string
caption_
;
49376
bool
is_pinned_
;
49377
49381
pushMessageContentAnimation
();
49382
49390
pushMessageContentAnimation
(
object_ptr<animation>
&&
animation_
,
string
const
&
caption_
,
bool
is_pinned_
);
49391
49393
static
const
std::int32_t
ID
= 1034215396;
49394
49400
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49401
};
49402
49406
class
pushMessageContentAudio
final :
public
PushMessageContent
{
49411
std::int32_t get_id()
const
final
{
49412
return
ID
;
49413
}
49414
49415
public
:
49417
object_ptr<audio>
audio_
;
49419
bool
is_pinned_
;
49420
49424
pushMessageContentAudio
();
49425
49432
pushMessageContentAudio
(
object_ptr<audio>
&&
audio_
,
bool
is_pinned_
);
49433
49435
static
const
std::int32_t
ID
= 381581426;
49436
49442
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49443
};
49444
49448
class
pushMessageContentContact
final :
public
PushMessageContent
{
49453
std::int32_t get_id()
const
final
{
49454
return
ID
;
49455
}
49456
49457
public
:
49459
string
name_
;
49461
bool
is_pinned_
;
49462
49466
pushMessageContentContact
();
49467
49474
pushMessageContentContact
(
string
const
&
name_
,
bool
is_pinned_
);
49475
49477
static
const
std::int32_t
ID
= -12219820;
49478
49484
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49485
};
49486
49490
class
pushMessageContentContactRegistered
final :
public
PushMessageContent
{
49495
std::int32_t get_id()
const
final
{
49496
return
ID
;
49497
}
49498
49499
public
:
49500
49504
pushMessageContentContactRegistered
();
49505
49507
static
const
std::int32_t
ID
= -303962720;
49508
49514
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49515
};
49516
49520
class
pushMessageContentDocument
final :
public
PushMessageContent
{
49525
std::int32_t get_id()
const
final
{
49526
return
ID
;
49527
}
49528
49529
public
:
49531
object_ptr<document>
document_
;
49533
bool
is_pinned_
;
49534
49538
pushMessageContentDocument
();
49539
49546
pushMessageContentDocument
(
object_ptr<document>
&&
document_
,
bool
is_pinned_
);
49547
49549
static
const
std::int32_t
ID
= -458379775;
49550
49556
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49557
};
49558
49562
class
pushMessageContentGame
final :
public
PushMessageContent
{
49567
std::int32_t get_id()
const
final
{
49568
return
ID
;
49569
}
49570
49571
public
:
49573
string
title_
;
49575
bool
is_pinned_
;
49576
49580
pushMessageContentGame
();
49581
49588
pushMessageContentGame
(
string
const
&
title_
,
bool
is_pinned_
);
49589
49591
static
const
std::int32_t
ID
= -515131109;
49592
49598
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49599
};
49600
49604
class
pushMessageContentGameScore
final :
public
PushMessageContent
{
49609
std::int32_t get_id()
const
final
{
49610
return
ID
;
49611
}
49612
49613
public
:
49615
string
title_
;
49617
int32
score_
;
49619
bool
is_pinned_
;
49620
49624
pushMessageContentGameScore
();
49625
49633
pushMessageContentGameScore
(
string
const
&
title_
,
int32
score_
,
bool
is_pinned_
);
49634
49636
static
const
std::int32_t
ID
= 901303688;
49637
49643
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49644
};
49645
49649
class
pushMessageContentInvoice
final :
public
PushMessageContent
{
49654
std::int32_t get_id()
const
final
{
49655
return
ID
;
49656
}
49657
49658
public
:
49660
string
price_
;
49662
bool
is_pinned_
;
49663
49667
pushMessageContentInvoice
();
49668
49675
pushMessageContentInvoice
(
string
const
&
price_
,
bool
is_pinned_
);
49676
49678
static
const
std::int32_t
ID
= -1731687492;
49679
49685
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49686
};
49687
49691
class
pushMessageContentLocation
final :
public
PushMessageContent
{
49696
std::int32_t get_id()
const
final
{
49697
return
ID
;
49698
}
49699
49700
public
:
49702
bool
is_live_
;
49704
bool
is_pinned_
;
49705
49709
pushMessageContentLocation
();
49710
49717
pushMessageContentLocation
(
bool
is_live_
,
bool
is_pinned_
);
49718
49720
static
const
std::int32_t
ID
= -1288005709;
49721
49727
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49728
};
49729
49733
class
pushMessageContentPaidMedia
final :
public
PushMessageContent
{
49738
std::int32_t get_id()
const
final
{
49739
return
ID
;
49740
}
49741
49742
public
:
49744
int53
star_count_
;
49746
bool
is_pinned_
;
49747
49751
pushMessageContentPaidMedia
();
49752
49759
pushMessageContentPaidMedia
(
int53
star_count_
,
bool
is_pinned_
);
49760
49762
static
const
std::int32_t
ID
= -1252595894;
49763
49769
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49770
};
49771
49775
class
pushMessageContentPhoto
final :
public
PushMessageContent
{
49780
std::int32_t get_id()
const
final
{
49781
return
ID
;
49782
}
49783
49784
public
:
49786
object_ptr<photo>
photo_
;
49788
string
caption_
;
49790
bool
is_secret_
;
49792
bool
is_pinned_
;
49793
49797
pushMessageContentPhoto
();
49798
49807
pushMessageContentPhoto
(
object_ptr<photo>
&&
photo_
,
string
const
&
caption_
,
bool
is_secret_
,
bool
is_pinned_
);
49808
49810
static
const
std::int32_t
ID
= 140631122;
49811
49817
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49818
};
49819
49823
class
pushMessageContentPoll
final :
public
PushMessageContent
{
49828
std::int32_t get_id()
const
final
{
49829
return
ID
;
49830
}
49831
49832
public
:
49834
string
question_
;
49836
bool
is_regular_
;
49838
bool
is_pinned_
;
49839
49843
pushMessageContentPoll
();
49844
49852
pushMessageContentPoll
(
string
const
&
question_
,
bool
is_regular_
,
bool
is_pinned_
);
49853
49855
static
const
std::int32_t
ID
= -44403654;
49856
49862
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49863
};
49864
49868
class
pushMessageContentPremiumGiftCode
final :
public
PushMessageContent
{
49873
std::int32_t get_id()
const
final
{
49874
return
ID
;
49875
}
49876
49877
public
:
49879
int32
month_count_
;
49880
49884
pushMessageContentPremiumGiftCode
();
49885
49891
explicit
pushMessageContentPremiumGiftCode
(
int32
month_count_
);
49892
49894
static
const
std::int32_t
ID
= 413224997;
49895
49901
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49902
};
49903
49907
class
pushMessageContentGiveaway
final :
public
PushMessageContent
{
49912
std::int32_t get_id()
const
final
{
49913
return
ID
;
49914
}
49915
49916
public
:
49918
int32
winner_count_
;
49920
object_ptr<GiveawayPrize>
prize_
;
49922
bool
is_pinned_
;
49923
49927
pushMessageContentGiveaway
();
49928
49936
pushMessageContentGiveaway
(
int32
winner_count_
,
object_ptr<GiveawayPrize>
&&
prize_
,
bool
is_pinned_
);
49937
49939
static
const
std::int32_t
ID
= -700547186;
49940
49946
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49947
};
49948
49952
class
pushMessageContentGift
final :
public
PushMessageContent
{
49957
std::int32_t get_id()
const
final
{
49958
return
ID
;
49959
}
49960
49961
public
:
49963
int53
star_count_
;
49964
49968
pushMessageContentGift
();
49969
49975
explicit
pushMessageContentGift
(
int53
star_count_
);
49976
49978
static
const
std::int32_t
ID
= -2069312245;
49979
49985
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
49986
};
49987
49991
class
pushMessageContentUpgradedGift
final :
public
PushMessageContent
{
49996
std::int32_t get_id()
const
final
{
49997
return
ID
;
49998
}
49999
50000
public
:
50002
bool
is_upgrade_
;
50003
50007
pushMessageContentUpgradedGift
();
50008
50014
explicit
pushMessageContentUpgradedGift
(
bool
is_upgrade_
);
50015
50017
static
const
std::int32_t
ID
= -1711666466;
50018
50024
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50025
};
50026
50030
class
pushMessageContentScreenshotTaken
final :
public
PushMessageContent
{
50035
std::int32_t get_id()
const
final
{
50036
return
ID
;
50037
}
50038
50039
public
:
50040
50044
pushMessageContentScreenshotTaken
();
50045
50047
static
const
std::int32_t
ID
= 214245369;
50048
50054
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50055
};
50056
50060
class
pushMessageContentSticker
final :
public
PushMessageContent
{
50065
std::int32_t get_id()
const
final
{
50066
return
ID
;
50067
}
50068
50069
public
:
50071
object_ptr<sticker>
sticker_
;
50073
string
emoji_
;
50075
bool
is_pinned_
;
50076
50080
pushMessageContentSticker
();
50081
50089
pushMessageContentSticker
(
object_ptr<sticker>
&&
sticker_
,
string
const
&
emoji_
,
bool
is_pinned_
);
50090
50092
static
const
std::int32_t
ID
= 1553513939;
50093
50099
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50100
};
50101
50105
class
pushMessageContentStory
final :
public
PushMessageContent
{
50110
std::int32_t get_id()
const
final
{
50111
return
ID
;
50112
}
50113
50114
public
:
50116
bool
is_mention_
;
50118
bool
is_pinned_
;
50119
50123
pushMessageContentStory
();
50124
50131
pushMessageContentStory
(
bool
is_mention_
,
bool
is_pinned_
);
50132
50134
static
const
std::int32_t
ID
= 599622223;
50135
50141
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50142
};
50143
50147
class
pushMessageContentText
final :
public
PushMessageContent
{
50152
std::int32_t get_id()
const
final
{
50153
return
ID
;
50154
}
50155
50156
public
:
50158
string
text_
;
50160
bool
is_pinned_
;
50161
50165
pushMessageContentText
();
50166
50173
pushMessageContentText
(
string
const
&
text_
,
bool
is_pinned_
);
50174
50176
static
const
std::int32_t
ID
= 274587305;
50177
50183
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50184
};
50185
50189
class
pushMessageContentVideo
final :
public
PushMessageContent
{
50194
std::int32_t get_id()
const
final
{
50195
return
ID
;
50196
}
50197
50198
public
:
50200
object_ptr<video>
video_
;
50202
string
caption_
;
50204
bool
is_secret_
;
50206
bool
is_pinned_
;
50207
50211
pushMessageContentVideo
();
50212
50221
pushMessageContentVideo
(
object_ptr<video>
&&
video_
,
string
const
&
caption_
,
bool
is_secret_
,
bool
is_pinned_
);
50222
50224
static
const
std::int32_t
ID
= 310038831;
50225
50231
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50232
};
50233
50237
class
pushMessageContentVideoNote
final :
public
PushMessageContent
{
50242
std::int32_t get_id()
const
final
{
50243
return
ID
;
50244
}
50245
50246
public
:
50248
object_ptr<videoNote>
video_note_
;
50250
bool
is_pinned_
;
50251
50255
pushMessageContentVideoNote
();
50256
50263
pushMessageContentVideoNote
(
object_ptr<videoNote>
&&
video_note_
,
bool
is_pinned_
);
50264
50266
static
const
std::int32_t
ID
= -1122764417;
50267
50273
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50274
};
50275
50279
class
pushMessageContentVoiceNote
final :
public
PushMessageContent
{
50284
std::int32_t get_id()
const
final
{
50285
return
ID
;
50286
}
50287
50288
public
:
50290
object_ptr<voiceNote>
voice_note_
;
50292
bool
is_pinned_
;
50293
50297
pushMessageContentVoiceNote
();
50298
50305
pushMessageContentVoiceNote
(
object_ptr<voiceNote>
&&
voice_note_
,
bool
is_pinned_
);
50306
50308
static
const
std::int32_t
ID
= 88910987;
50309
50315
void
store
(TlStorerToString &s,
const
char
*field_name)
const
final
;
50316
};
50317
50321
class
pushMessageContentBasicGroupChatCreate
final :
public
PushMessageContent
{
50326
std::int32_t get_id()
const
final
{
50327
return
ID
;
50328
}
50329