Merge pull request #72 from teloxide/make_annoying_headers_less_annoying

Make annoying headers less annoying
This commit is contained in:
Waffle Lapkin 2021-03-28 13:58:02 +03:00 committed by GitHub
commit 748e96abff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 616 additions and 177 deletions

View file

@ -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);

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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! {

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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 _,

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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;

View file

@ -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;

View file

@ -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};

View file

@ -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>;