Skip to content

Commit

Permalink
use camelcase instead of snakecase style,
Browse files Browse the repository at this point in the history
  • Loading branch information
Cojad committed Mar 20, 2022
1 parent 5748278 commit d6024e2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions packages/messaging-api-telegram/src/TelegramTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ export type SendMessageOption = {
*
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
*/
protect_content?: boolean;
protectContent?: boolean;

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

export type CopyMessageOption = {
Expand Down Expand Up @@ -1564,7 +1564,7 @@ export type CopyMessageOption = {
*
* - https://telegram.org/blog/protected-content-delete-by-date-and-more#protected-content-in-groups-and-channels
*/
protect_content?: boolean;
protectContent?: boolean;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
* If the message is a reply, ID of the original message
Expand Down

0 comments on commit d6024e2

Please sign in to comment.