1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes).
// **DO NOT EDIT THIS FILE**,
// edit `cg` instead.
use serde::Serialize;

use crate::types::True;

impl_payload! {
    /// Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns _True_ on success. Requires no parameters.
    #[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
    pub Close (CloseSetters) => True {

    }
}