diff --git a/src/api_params.rs b/src/api_params.rs index 99071ca..12790fe 100644 --- a/src/api_params.rs +++ b/src/api_params.rs @@ -237,7 +237,6 @@ pub struct GetUpdatesParams { pub timeout: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub allowed_updates: Option>, } @@ -259,7 +258,6 @@ pub struct SetWebhookParams { pub max_connections: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub allowed_updates: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -298,7 +296,6 @@ pub struct SendMessageParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -389,7 +386,6 @@ pub struct CopyMessageParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -459,7 +455,6 @@ pub struct SendPhotoParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -512,7 +507,6 @@ pub struct SendAudioParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -578,7 +572,6 @@ pub struct SendDocumentParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -641,7 +634,6 @@ pub struct SendVideoParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -710,7 +702,6 @@ pub struct SendAnimationParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -763,7 +754,6 @@ pub struct SendVoiceParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -856,7 +846,6 @@ pub struct SendPaidMediaParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1142,7 +1131,6 @@ pub struct SendPollParams { pub question_parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub question_entities: Option>, pub options: Vec, @@ -1169,7 +1157,6 @@ pub struct SendPollParams { pub explanation_parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub explanation_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1929,7 +1916,6 @@ pub struct EditMessageTextParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1968,7 +1954,6 @@ pub struct EditMessageCaptionParams { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2143,7 +2128,6 @@ pub struct CreateNewStickerSetParams { #[builder] #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct GetCustomEmojiStickersParams { - #[builder(into)] pub custom_emoji_ids: Vec, } @@ -2204,7 +2188,6 @@ pub struct SetStickerKeywordsParams { pub sticker: String, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub keywords: Option>, } @@ -2469,7 +2452,6 @@ pub struct AnswerShippingQueryParams { pub ok: bool, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub shipping_options: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2603,7 +2585,6 @@ pub struct InputMediaPhoto { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2632,7 +2613,6 @@ pub struct InputMediaVideo { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2673,7 +2653,6 @@ pub struct InputMediaAnimation { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2711,7 +2690,6 @@ pub struct InputMediaAudio { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2745,7 +2723,6 @@ pub struct InputMediaDocument { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2822,7 +2799,6 @@ pub struct ReplyParameters { pub quote_parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub quote_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] diff --git a/src/objects.rs b/src/objects.rs index 8d8c540..f6c26ce 100644 --- a/src/objects.rs +++ b/src/objects.rs @@ -419,7 +419,6 @@ pub struct WebhookInfo { pub max_connections: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub allowed_updates: Option>, } @@ -554,7 +553,6 @@ pub struct ChatFullInfo { pub photo: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub active_usernames: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -578,7 +576,6 @@ pub struct ChatFullInfo { pub personal_chat: Option>, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub available_reactions: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -764,7 +761,6 @@ pub struct Message { pub text: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -792,7 +788,6 @@ pub struct Message { pub paid_media: Option>, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub photo: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -820,7 +815,6 @@ pub struct Message { pub caption: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -854,7 +848,6 @@ pub struct Message { pub location: Option>, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub new_chat_members: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -866,7 +859,6 @@ pub struct Message { pub new_chat_title: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub new_chat_photo: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1044,7 +1036,6 @@ pub struct TextQuote { pub text: String, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub entities: Option>, pub position: u32, @@ -1088,7 +1079,6 @@ pub struct ExternalReplyInfo { pub paid_media: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub photo: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1437,7 +1427,6 @@ pub struct PollOption { pub text: String, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub text_entities: Option>, pub voter_count: u32, @@ -1455,7 +1444,6 @@ pub struct InputPollOption { pub text_parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub text_entities: Option>, } @@ -1486,7 +1474,6 @@ pub struct Poll { pub question: String, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub question_entities: Option>, pub options: Vec, @@ -1509,7 +1496,6 @@ pub struct Poll { pub explanation: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub explanation_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1715,7 +1701,6 @@ pub struct SharedUser { pub username: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub photo: Option>, } @@ -1743,7 +1728,6 @@ pub struct ChatShared { pub username: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub photo: Option>, } @@ -1771,7 +1755,6 @@ pub struct VideoChatEnded { #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct VideoChatParticipantsInvited { #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub users: Option>, } @@ -2421,7 +2404,6 @@ pub struct InputSticker { pub mask_position: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub keywords: Option>, } @@ -2563,7 +2545,6 @@ pub struct InlineQueryResultPhoto { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2616,7 +2597,6 @@ pub struct InlineQueryResultGif { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2669,7 +2649,6 @@ pub struct InlineQueryResultMpeg4Gif { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2711,7 +2690,6 @@ pub struct InlineQueryResultVideo { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2760,7 +2738,6 @@ pub struct InlineQueryResultAudio { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2800,7 +2777,6 @@ pub struct InlineQueryResultVoice { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -2833,7 +2809,6 @@ pub struct InlineQueryResultDocument { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[builder(into)] @@ -3039,7 +3014,6 @@ pub struct InlineQueryResultCachedPhoto { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3076,7 +3050,6 @@ pub struct InlineQueryResultCachedGif { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3113,7 +3086,6 @@ pub struct InlineQueryResultCachedMpeg4Gif { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3171,7 +3143,6 @@ pub struct InlineQueryResultCachedDocument { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3208,7 +3179,6 @@ pub struct InlineQueryResultCachedVideo { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3244,7 +3214,6 @@ pub struct InlineQueryResultCachedVoice { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3274,7 +3243,6 @@ pub struct InlineQueryResultCachedAudio { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub caption_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3297,7 +3265,6 @@ pub struct InputTextMessageContent { pub parse_mode: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3739,7 +3706,6 @@ pub struct EncryptedPassportElement { pub email: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub files: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3755,7 +3721,6 @@ pub struct EncryptedPassportElement { pub selfie: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub translation: Option>, #[builder(into)] @@ -3909,7 +3874,6 @@ pub struct Game { pub text: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub text_entities: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -3951,7 +3915,6 @@ pub struct Giveaway { pub prize_description: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub country_codes: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -4231,7 +4194,6 @@ pub struct TransactionPartnerUser { pub invoice_payload: Option, #[serde(skip_serializing_if = "Option::is_none")] - #[builder(into)] pub paid_media: Option>, }