diff --git a/src/local_macros.rs b/src/local_macros.rs index b8a4db59..68c746a7 100644 --- a/src/local_macros.rs +++ b/src/local_macros.rs @@ -393,9 +393,14 @@ macro_rules! impl_payload { } #[macro_use] -// This macro is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This macro is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS MACRO**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema macro_rules! requester_forward { ($i:ident $(, $rest:ident )* $(,)? => $body:ident, $ty:ident ) => { requester_forward!(@method $i $body $ty); diff --git a/src/payloads.rs b/src/payloads.rs index c6baef2f..bf4e498c 100644 --- a/src/payloads.rs +++ b/src/payloads.rs @@ -12,9 +12,14 @@ /// namespace. pub mod setters; -// This block is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This block is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS BLOCK**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema mod add_sticker_to_set; mod answer_callback_query; mod answer_inline_query; diff --git a/src/payloads/add_sticker_to_set.rs b/src/payloads/add_sticker_to_set.rs index ca2f6242..7d58a7ea 100644 --- a/src/payloads/add_sticker_to_set.rs +++ b/src/payloads/add_sticker_to_set.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InputSticker, MaskPosition, True}; diff --git a/src/payloads/answer_callback_query.rs b/src/payloads/answer_callback_query.rs index 8c636ac7..7d0d1bb3 100644 --- a/src/payloads/answer_callback_query.rs +++ b/src/payloads/answer_callback_query.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::True; diff --git a/src/payloads/answer_inline_query.rs b/src/payloads/answer_inline_query.rs index b81e0892..1225600c 100644 --- a/src/payloads/answer_inline_query.rs +++ b/src/payloads/answer_inline_query.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InlineQueryResult, True}; diff --git a/src/payloads/answer_pre_checkout_query.rs b/src/payloads/answer_pre_checkout_query.rs index 375180b0..d185dbdc 100644 --- a/src/payloads/answer_pre_checkout_query.rs +++ b/src/payloads/answer_pre_checkout_query.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::True; diff --git a/src/payloads/answer_shipping_query.rs b/src/payloads/answer_shipping_query.rs index 46cd48a1..da97b5d0 100644 --- a/src/payloads/answer_shipping_query.rs +++ b/src/payloads/answer_shipping_query.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ShippingOption, True}; diff --git a/src/payloads/close.rs b/src/payloads/close.rs index 3386aff1..406b0054 100644 --- a/src/payloads/close.rs +++ b/src/payloads/close.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::True; diff --git a/src/payloads/copy_message.rs b/src/payloads/copy_message.rs index 0e5eeefd..4a6cbbc1 100644 --- a/src/payloads/copy_message.rs +++ b/src/payloads/copy_message.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/create_chat_invite_link.rs b/src/payloads/create_chat_invite_link.rs index e543ca34..9fcfcd93 100644 --- a/src/payloads/create_chat_invite_link.rs +++ b/src/payloads/create_chat_invite_link.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, ChatInviteLink}; diff --git a/src/payloads/create_new_sticker_set.rs b/src/payloads/create_new_sticker_set.rs index 6625f64f..cd043718 100644 --- a/src/payloads/create_new_sticker_set.rs +++ b/src/payloads/create_new_sticker_set.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InputSticker, MaskPosition, True}; diff --git a/src/payloads/delete_chat_photo.rs b/src/payloads/delete_chat_photo.rs index db346e4e..9905ba12 100644 --- a/src/payloads/delete_chat_photo.rs +++ b/src/payloads/delete_chat_photo.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/delete_chat_sticker_set.rs b/src/payloads/delete_chat_sticker_set.rs index c8b66e32..c9042585 100644 --- a/src/payloads/delete_chat_sticker_set.rs +++ b/src/payloads/delete_chat_sticker_set.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, True}; diff --git a/src/payloads/delete_message.rs b/src/payloads/delete_message.rs index 3e113023..a287ead9 100644 --- a/src/payloads/delete_message.rs +++ b/src/payloads/delete_message.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, True}; diff --git a/src/payloads/delete_sticker_from_set.rs b/src/payloads/delete_sticker_from_set.rs index c3f30b59..680a2452 100644 --- a/src/payloads/delete_sticker_from_set.rs +++ b/src/payloads/delete_sticker_from_set.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::True; diff --git a/src/payloads/delete_webhook.rs b/src/payloads/delete_webhook.rs index cda82309..843643de 100644 --- a/src/payloads/delete_webhook.rs +++ b/src/payloads/delete_webhook.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::True; diff --git a/src/payloads/edit_chat_invite_link.rs b/src/payloads/edit_chat_invite_link.rs index 92d09934..98732b98 100644 --- a/src/payloads/edit_chat_invite_link.rs +++ b/src/payloads/edit_chat_invite_link.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/edit_message_caption.rs b/src/payloads/edit_message_caption.rs index 143a703c..df901a8b 100644 --- a/src/payloads/edit_message_caption.rs +++ b/src/payloads/edit_message_caption.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InlineKeyboardMarkup, Message, MessageEntity, ParseMode}; diff --git a/src/payloads/edit_message_caption_inline.rs b/src/payloads/edit_message_caption_inline.rs index 247b59de..f5a65e03 100644 --- a/src/payloads/edit_message_caption_inline.rs +++ b/src/payloads/edit_message_caption_inline.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InlineKeyboardMarkup, MessageEntity, ParseMode, True}; diff --git a/src/payloads/edit_message_live_location.rs b/src/payloads/edit_message_live_location.rs index e9b3670e..26f2be3e 100644 --- a/src/payloads/edit_message_live_location.rs +++ b/src/payloads/edit_message_live_location.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, ReplyMarkup}; diff --git a/src/payloads/edit_message_live_location_inline.rs b/src/payloads/edit_message_live_location_inline.rs index c7241a1c..5a6238d6 100644 --- a/src/payloads/edit_message_live_location_inline.rs +++ b/src/payloads/edit_message_live_location_inline.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{Message, ReplyMarkup}; diff --git a/src/payloads/edit_message_media.rs b/src/payloads/edit_message_media.rs index c0c3388c..b8d59e9c 100644 --- a/src/payloads/edit_message_media.rs +++ b/src/payloads/edit_message_media.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InlineKeyboardMarkup, InputMedia, Message}; diff --git a/src/payloads/edit_message_media_inline.rs b/src/payloads/edit_message_media_inline.rs index 47bd4600..69c28718 100644 --- a/src/payloads/edit_message_media_inline.rs +++ b/src/payloads/edit_message_media_inline.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InlineKeyboardMarkup, InputMedia, True}; diff --git a/src/payloads/edit_message_reply_markup.rs b/src/payloads/edit_message_reply_markup.rs index b580cfe2..81ab2496 100644 --- a/src/payloads/edit_message_reply_markup.rs +++ b/src/payloads/edit_message_reply_markup.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InlineKeyboardMarkup, Message}; diff --git a/src/payloads/edit_message_reply_markup_inline.rs b/src/payloads/edit_message_reply_markup_inline.rs index 0cfbf92e..20f2a178 100644 --- a/src/payloads/edit_message_reply_markup_inline.rs +++ b/src/payloads/edit_message_reply_markup_inline.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InlineKeyboardMarkup, True}; diff --git a/src/payloads/edit_message_text.rs b/src/payloads/edit_message_text.rs index ee8f18de..fb704638 100644 --- a/src/payloads/edit_message_text.rs +++ b/src/payloads/edit_message_text.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InlineKeyboardMarkup, Message, MessageEntity, ParseMode}; diff --git a/src/payloads/edit_message_text_inline.rs b/src/payloads/edit_message_text_inline.rs index d529814a..38fdb60a 100644 --- a/src/payloads/edit_message_text_inline.rs +++ b/src/payloads/edit_message_text_inline.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InlineKeyboardMarkup, MessageEntity, ParseMode, True}; diff --git a/src/payloads/export_chat_invite_link.rs b/src/payloads/export_chat_invite_link.rs index 0cfd1b10..adf5e49e 100644 --- a/src/payloads/export_chat_invite_link.rs +++ b/src/payloads/export_chat_invite_link.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/forward_message.rs b/src/payloads/forward_message.rs index fd33171d..2ccad51e 100644 --- a/src/payloads/forward_message.rs +++ b/src/payloads/forward_message.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message}; diff --git a/src/payloads/get_chat.rs b/src/payloads/get_chat.rs index 403629f3..2b40a11d 100644 --- a/src/payloads/get_chat.rs +++ b/src/payloads/get_chat.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{Chat, ChatId}; diff --git a/src/payloads/get_chat_administrators.rs b/src/payloads/get_chat_administrators.rs index 49c05bf6..9cdb1f06 100644 --- a/src/payloads/get_chat_administrators.rs +++ b/src/payloads/get_chat_administrators.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, ChatMember}; diff --git a/src/payloads/get_chat_member.rs b/src/payloads/get_chat_member.rs index a4cbaa0e..7b76d51c 100644 --- a/src/payloads/get_chat_member.rs +++ b/src/payloads/get_chat_member.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, ChatMember}; diff --git a/src/payloads/get_chat_members_count.rs b/src/payloads/get_chat_members_count.rs index 237c4d33..b5bb6350 100644 --- a/src/payloads/get_chat_members_count.rs +++ b/src/payloads/get_chat_members_count.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/get_file.rs b/src/payloads/get_file.rs index 0535b768..2c2c0b08 100644 --- a/src/payloads/get_file.rs +++ b/src/payloads/get_file.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::File; diff --git a/src/payloads/get_game_high_scores.rs b/src/payloads/get_game_high_scores.rs index 6ddfa108..854cd5e4 100644 --- a/src/payloads/get_game_high_scores.rs +++ b/src/payloads/get_game_high_scores.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{TargetMessage, True}; diff --git a/src/payloads/get_me.rs b/src/payloads/get_me.rs index 66b6c48a..4c2f85ff 100644 --- a/src/payloads/get_me.rs +++ b/src/payloads/get_me.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::Me; diff --git a/src/payloads/get_my_commands.rs b/src/payloads/get_my_commands.rs index f5591f29..29063456 100644 --- a/src/payloads/get_my_commands.rs +++ b/src/payloads/get_my_commands.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; impl_payload! { diff --git a/src/payloads/get_sticker_set.rs b/src/payloads/get_sticker_set.rs index e9e35f5a..c3dbc0db 100644 --- a/src/payloads/get_sticker_set.rs +++ b/src/payloads/get_sticker_set.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::StickerSet; diff --git a/src/payloads/get_updates.rs b/src/payloads/get_updates.rs index 3bc35912..695b60de 100644 --- a/src/payloads/get_updates.rs +++ b/src/payloads/get_updates.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{AllowedUpdate, Update}; diff --git a/src/payloads/get_user_profile_photos.rs b/src/payloads/get_user_profile_photos.rs index b9a6b0fc..56a97492 100644 --- a/src/payloads/get_user_profile_photos.rs +++ b/src/payloads/get_user_profile_photos.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::UserProfilePhotos; diff --git a/src/payloads/get_webhook_info.rs b/src/payloads/get_webhook_info.rs index e3e9d050..0ea91a87 100644 --- a/src/payloads/get_webhook_info.rs +++ b/src/payloads/get_webhook_info.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::WebhookInfo; diff --git a/src/payloads/kick_chat_member.rs b/src/payloads/kick_chat_member.rs index a64798ff..26a51129 100644 --- a/src/payloads/kick_chat_member.rs +++ b/src/payloads/kick_chat_member.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, True}; diff --git a/src/payloads/leave_chat.rs b/src/payloads/leave_chat.rs index 3c237c7e..17dbf567 100644 --- a/src/payloads/leave_chat.rs +++ b/src/payloads/leave_chat.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/log_out.rs b/src/payloads/log_out.rs index ece3cc50..82c362eb 100644 --- a/src/payloads/log_out.rs +++ b/src/payloads/log_out.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::True; diff --git a/src/payloads/pin_chat_message.rs b/src/payloads/pin_chat_message.rs index 6ad729cc..7293bccb 100644 --- a/src/payloads/pin_chat_message.rs +++ b/src/payloads/pin_chat_message.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/promote_chat_member.rs b/src/payloads/promote_chat_member.rs index 7aaa11dc..9e69082f 100644 --- a/src/payloads/promote_chat_member.rs +++ b/src/payloads/promote_chat_member.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, True}; diff --git a/src/payloads/restrict_chat_member.rs b/src/payloads/restrict_chat_member.rs index c0db9c07..c6cb3c9c 100644 --- a/src/payloads/restrict_chat_member.rs +++ b/src/payloads/restrict_chat_member.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, ChatPermissions, True}; diff --git a/src/payloads/revoke_chat_invite_link.rs b/src/payloads/revoke_chat_invite_link.rs index 0c4d466b..04a7389f 100644 --- a/src/payloads/revoke_chat_invite_link.rs +++ b/src/payloads/revoke_chat_invite_link.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/send_animation.rs b/src/payloads/send_animation.rs index 786d778f..115dc8b0 100644 --- a/src/payloads/send_animation.rs +++ b/src/payloads/send_animation.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/send_audio.rs b/src/payloads/send_audio.rs index d52c4bfa..bbfb8734 100644 --- a/src/payloads/send_audio.rs +++ b/src/payloads/send_audio.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/send_chat_action.rs b/src/payloads/send_chat_action.rs index 1d5cd378..854b69c2 100644 --- a/src/payloads/send_chat_action.rs +++ b/src/payloads/send_chat_action.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatAction, ChatId, Message}; diff --git a/src/payloads/send_contact.rs b/src/payloads/send_contact.rs index 9bc256b1..01852e8f 100644 --- a/src/payloads/send_contact.rs +++ b/src/payloads/send_contact.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, ReplyMarkup}; diff --git a/src/payloads/send_dice.rs b/src/payloads/send_dice.rs index b3b168d4..fc19d585 100644 --- a/src/payloads/send_dice.rs +++ b/src/payloads/send_dice.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, DiceEmoji, Message, ReplyMarkup}; diff --git a/src/payloads/send_document.rs b/src/payloads/send_document.rs index 9d262300..82c72606 100644 --- a/src/payloads/send_document.rs +++ b/src/payloads/send_document.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/send_game.rs b/src/payloads/send_game.rs index f9ef39c4..eaa8e9e9 100644 --- a/src/payloads/send_game.rs +++ b/src/payloads/send_game.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{Message, ReplyMarkup}; diff --git a/src/payloads/send_invoice.rs b/src/payloads/send_invoice.rs index 0eb4df20..4573633b 100644 --- a/src/payloads/send_invoice.rs +++ b/src/payloads/send_invoice.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InlineKeyboardMarkup, LabeledPrice, Message}; diff --git a/src/payloads/send_location.rs b/src/payloads/send_location.rs index fdc49e8a..96c7e4c4 100644 --- a/src/payloads/send_location.rs +++ b/src/payloads/send_location.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, ReplyMarkup}; diff --git a/src/payloads/send_media_group.rs b/src/payloads/send_media_group.rs index adffeaa1..7da96386 100644 --- a/src/payloads/send_media_group.rs +++ b/src/payloads/send_media_group.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputMedia, Message}; diff --git a/src/payloads/send_message.rs b/src/payloads/send_message.rs index 6417d53f..e3ff3dab 100644 --- a/src/payloads/send_message.rs +++ b/src/payloads/send_message.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/send_photo.rs b/src/payloads/send_photo.rs index 33a333c8..64339696 100644 --- a/src/payloads/send_photo.rs +++ b/src/payloads/send_photo.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/send_poll.rs b/src/payloads/send_poll.rs index 48ef9331..ec289ae3 100644 --- a/src/payloads/send_poll.rs +++ b/src/payloads/send_poll.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, MessageEntity, ParseMode, PollType, ReplyMarkup}; diff --git a/src/payloads/send_sticker.rs b/src/payloads/send_sticker.rs index 21199ca1..b40e46e3 100644 --- a/src/payloads/send_sticker.rs +++ b/src/payloads/send_sticker.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, ReplyMarkup}; diff --git a/src/payloads/send_venue.rs b/src/payloads/send_venue.rs index 331807b4..b3181b78 100644 --- a/src/payloads/send_venue.rs +++ b/src/payloads/send_venue.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, ReplyMarkup}; diff --git a/src/payloads/send_video.rs b/src/payloads/send_video.rs index 13815516..49e03a73 100644 --- a/src/payloads/send_video.rs +++ b/src/payloads/send_video.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/send_video_note.rs b/src/payloads/send_video_note.rs index 08fefd48..de68d364 100644 --- a/src/payloads/send_video_note.rs +++ b/src/payloads/send_video_note.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, ReplyMarkup}; diff --git a/src/payloads/send_voice.rs b/src/payloads/send_voice.rs index 0a4817a0..e6900f63 100644 --- a/src/payloads/send_voice.rs +++ b/src/payloads/send_voice.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile, Message, MessageEntity, ParseMode, ReplyMarkup}; diff --git a/src/payloads/set_chat_administrator_custom_title.rs b/src/payloads/set_chat_administrator_custom_title.rs index 323f9e62..3ce02ccf 100644 --- a/src/payloads/set_chat_administrator_custom_title.rs +++ b/src/payloads/set_chat_administrator_custom_title.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, True}; diff --git a/src/payloads/set_chat_description.rs b/src/payloads/set_chat_description.rs index e964a799..1192228e 100644 --- a/src/payloads/set_chat_description.rs +++ b/src/payloads/set_chat_description.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/set_chat_permissions.rs b/src/payloads/set_chat_permissions.rs index 334c53cd..1c619310 100644 --- a/src/payloads/set_chat_permissions.rs +++ b/src/payloads/set_chat_permissions.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, ChatPermissions, True}; diff --git a/src/payloads/set_chat_photo.rs b/src/payloads/set_chat_photo.rs index 46723c03..a02c2378 100644 --- a/src/payloads/set_chat_photo.rs +++ b/src/payloads/set_chat_photo.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InputFile}; diff --git a/src/payloads/set_chat_sticker_set.rs b/src/payloads/set_chat_sticker_set.rs index 3a6d3fe6..54410143 100644 --- a/src/payloads/set_chat_sticker_set.rs +++ b/src/payloads/set_chat_sticker_set.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, True}; diff --git a/src/payloads/set_chat_title.rs b/src/payloads/set_chat_title.rs index 9df76f55..40e98248 100644 --- a/src/payloads/set_chat_title.rs +++ b/src/payloads/set_chat_title.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/set_game_score.rs b/src/payloads/set_game_score.rs index addbf208..5d1bdb4c 100644 --- a/src/payloads/set_game_score.rs +++ b/src/payloads/set_game_score.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::Message; diff --git a/src/payloads/set_game_score_inline.rs b/src/payloads/set_game_score_inline.rs index 5f7834e2..1b62c50a 100644 --- a/src/payloads/set_game_score_inline.rs +++ b/src/payloads/set_game_score_inline.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::Message; diff --git a/src/payloads/set_my_commands.rs b/src/payloads/set_my_commands.rs index 951cf160..3071b667 100644 --- a/src/payloads/set_my_commands.rs +++ b/src/payloads/set_my_commands.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::BotCommand; diff --git a/src/payloads/set_passport_data_errors.rs b/src/payloads/set_passport_data_errors.rs index 0ed70843..fdb52796 100644 --- a/src/payloads/set_passport_data_errors.rs +++ b/src/payloads/set_passport_data_errors.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{PassportElementError, True}; diff --git a/src/payloads/set_sticker_position_in_set.rs b/src/payloads/set_sticker_position_in_set.rs index b264b2bc..965c0e69 100644 --- a/src/payloads/set_sticker_position_in_set.rs +++ b/src/payloads/set_sticker_position_in_set.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::True; diff --git a/src/payloads/set_sticker_set_thumb.rs b/src/payloads/set_sticker_set_thumb.rs index edb32b00..a73f687a 100644 --- a/src/payloads/set_sticker_set_thumb.rs +++ b/src/payloads/set_sticker_set_thumb.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{InputFile, True}; diff --git a/src/payloads/set_webhook.rs b/src/payloads/set_webhook.rs index 9a6ba57a..2162642a 100644 --- a/src/payloads/set_webhook.rs +++ b/src/payloads/set_webhook.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{AllowedUpdate, InputFile, True}; diff --git a/src/payloads/setters.rs b/src/payloads/setters.rs index da76b0f3..9a7f520d 100644 --- a/src/payloads/setters.rs +++ b/src/payloads/setters.rs @@ -1,7 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. - +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema #[doc(no_inline)] pub use crate::payloads::{ AddStickerToSetSetters as _, AnswerCallbackQuerySetters as _, AnswerInlineQuerySetters as _, diff --git a/src/payloads/stop_message_live_location.rs b/src/payloads/stop_message_live_location.rs index cd7a2dc2..55c4e0e6 100644 --- a/src/payloads/stop_message_live_location.rs +++ b/src/payloads/stop_message_live_location.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, Message, ReplyMarkup}; diff --git a/src/payloads/stop_message_live_location_inline.rs b/src/payloads/stop_message_live_location_inline.rs index 802d51cf..0aeb7650 100644 --- a/src/payloads/stop_message_live_location_inline.rs +++ b/src/payloads/stop_message_live_location_inline.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{Message, ReplyMarkup}; diff --git a/src/payloads/stop_poll.rs b/src/payloads/stop_poll.rs index 3446b9c7..f5a956cf 100644 --- a/src/payloads/stop_poll.rs +++ b/src/payloads/stop_poll.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, InlineKeyboardMarkup, Poll}; diff --git a/src/payloads/unban_chat_member.rs b/src/payloads/unban_chat_member.rs index 2ca4225e..ca94d87c 100644 --- a/src/payloads/unban_chat_member.rs +++ b/src/payloads/unban_chat_member.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{ChatId, True}; diff --git a/src/payloads/unpin_all_chat_messages.rs b/src/payloads/unpin_all_chat_messages.rs index 84094426..d605e314 100644 --- a/src/payloads/unpin_all_chat_messages.rs +++ b/src/payloads/unpin_all_chat_messages.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/unpin_chat_message.rs b/src/payloads/unpin_chat_message.rs index 36f08d33..fb9a88d0 100644 --- a/src/payloads/unpin_chat_message.rs +++ b/src/payloads/unpin_chat_message.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::ChatId; diff --git a/src/payloads/upload_sticker_file.rs b/src/payloads/upload_sticker_file.rs index 953276c8..05a49f86 100644 --- a/src/payloads/upload_sticker_file.rs +++ b/src/payloads/upload_sticker_file.rs @@ -1,6 +1,11 @@ -// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). +// This file is auto generated by [`cg`] from [`schema`]. +// // **DO NOT EDIT THIS FILE**, -// edit `cg` instead. +// +// Edit `cg` or `schema` instead. +// +// [cg]: https://github.com/teloxide/cg +// [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema use serde::Serialize; use crate::types::{File, InputFile}; diff --git a/src/requests/requester.rs b/src/requests/requester.rs index 083b0398..c6689ef8 100644 --- a/src/requests/requester.rs +++ b/src/requests/requester.rs @@ -52,9 +52,14 @@ pub trait Requester { /// Error type returned by all requests. type Err: std::error::Error + Send; - // This block is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes). + // This block is auto generated by [`cg`] from [`schema`]. + // // **DO NOT EDIT THIS BLOCK**, - // edit `cg` instead. + // + // Edit `cg` or `schema` instead. + // + // [cg]: https://github.com/teloxide/cg + // [`schema`]: https://github.com/WaffleLapkin/tg-methods-schema type GetUpdates: Request<Payload = GetUpdates, Err = Self::Err>;