Skip to content

Commit d6024e2

Browse files
committed
use camelcase instead of snakecase style,
1 parent 5748278 commit d6024e2

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

packages/messaging-api-telegram/src/TelegramTypes.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ export type SendMessageOption = {
14921492
*
14931493
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
14941494
*/
1495-
protect_content?: boolean;
1495+
protectContent?: boolean;
14961496

14971497
/**
14981498
* If the message is a reply, ID of the original message
@@ -1533,7 +1533,7 @@ export type ForwardMessageOption = {
15331533
*
15341534
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
15351535
*/
1536-
protect_content?: boolean;
1536+
protectContent?: boolean;
15371537
};
15381538

15391539
export type CopyMessageOption = {
@@ -1564,7 +1564,7 @@ export type CopyMessageOption = {
15641564
*
15651565
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
15661566
*/
1567-
protect_content?: boolean;
1567+
protectContent?: boolean;
15681568

15691569
/**
15701570
* If the message is a reply, ID of the original message
@@ -1621,7 +1621,7 @@ export type SendPhotoOption = {
16211621
*
16221622
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
16231623
*/
1624-
protect_content?: boolean;
1624+
protectContent?: boolean;
16251625

16261626
/**
16271627
* If the message is a reply, ID of the original message
@@ -1693,7 +1693,7 @@ export type SendAudioOption = {
16931693
*
16941694
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
16951695
*/
1696-
protect_content?: boolean;
1696+
protectContent?: boolean;
16971697

16981698
/**
16991699
* If the message is a reply, ID of the original message
@@ -1750,7 +1750,7 @@ export type SendDocumentOption = {
17501750
*
17511751
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
17521752
*/
1753-
protect_content?: boolean;
1753+
protectContent?: boolean;
17541754

17551755
/**
17561756
* If the message is a reply, ID of the original message
@@ -1827,7 +1827,7 @@ export type SendVideoOption = {
18271827
*
18281828
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
18291829
*/
1830-
protect_content?: boolean;
1830+
protectContent?: boolean;
18311831

18321832
/**
18331833
* If the message is a reply, ID of the original message
@@ -1899,7 +1899,7 @@ export type SendAnimationOption = {
18991899
*
19001900
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
19011901
*/
1902-
protect_content?: boolean;
1902+
protectContent?: boolean;
19031903

19041904
/**
19051905
* If the message is a reply, ID of the original message
@@ -1956,7 +1956,7 @@ export type SendVoiceOption = {
19561956
*
19571957
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
19581958
*/
1959-
protect_content?: boolean;
1959+
protectContent?: boolean;
19601960

19611961
/**
19621962
* If the message is a reply, ID of the original message
@@ -2008,7 +2008,7 @@ export type SendVideoNoteOption = {
20082008
*
20092009
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
20102010
*/
2011-
protect_content?: boolean;
2011+
protectContent?: boolean;
20122012

20132013
/**
20142014
* If the message is a reply, ID of the original message
@@ -2045,7 +2045,7 @@ export type SendMediaGroupOption = {
20452045
*
20462046
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
20472047
*/
2048-
protect_content?: boolean;
2048+
protectContent?: boolean;
20492049

20502050
/**
20512051
* If the message is a reply, ID of the original message
@@ -2073,7 +2073,7 @@ export type SendLocationOption = {
20732073
*
20742074
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
20752075
*/
2076-
protect_content?: boolean;
2076+
protectContent?: boolean;
20772077

20782078
/**
20792079
* If the message is a reply, ID of the original message
@@ -2159,7 +2159,7 @@ export type SendVenueOption = {
21592159
*
21602160
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
21612161
*/
2162-
protect_content?: boolean;
2162+
protectContent?: boolean;
21632163

21642164
/**
21652165
* If the message is a reply, ID of the original message
@@ -2220,7 +2220,7 @@ export type SendContactOption = {
22202220
*
22212221
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
22222222
*/
2223-
protect_content?: boolean;
2223+
protectContent?: boolean;
22242224

22252225
/**
22262226
* If the message is a reply, ID of the original message
@@ -2302,7 +2302,7 @@ export type SendPollOption = {
23022302
*
23032303
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
23042304
*/
2305-
protect_content?: boolean;
2305+
protectContent?: boolean;
23062306

23072307
/**
23082308
* If the message is a reply, ID of the original message
@@ -2481,7 +2481,7 @@ export type SendStickerOption = {
24812481
*
24822482
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
24832483
*/
2484-
protect_content?: boolean;
2484+
protectContent?: boolean;
24852485

24862486
/**
24872487
* If the message is a reply, ID of the original message
@@ -2609,7 +2609,7 @@ export type SendInvoiceOption = {
26092609
*
26102610
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
26112611
*/
2612-
protect_content?: boolean;
2612+
protectContent?: boolean;
26132613

26142614
/**
26152615
* If the message is a reply, ID of the original message
@@ -2683,7 +2683,7 @@ export type SendGameOption = {
26832683
*
26842684
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
26852685
*/
2686-
protect_content?: boolean;
2686+
protectContent?: boolean;
26872687

26882688
/**
26892689
* If the message is a reply, ID of the original message

0 commit comments

Comments
 (0)