pub struct TelegramSecrets {
pub bot_token: String,
}Expand description
Telegram uses one long-lived bot token, issued by @BotFather. It carries the bot’s identity on its own — there is no separate application ID.
Fields§
§bot_token: StringAuto Trait Implementations§
impl Freeze for TelegramSecrets
impl RefUnwindSafe for TelegramSecrets
impl Send for TelegramSecrets
impl Sync for TelegramSecrets
impl Unpin for TelegramSecrets
impl UnsafeUnpin for TelegramSecrets
impl UnwindSafe for TelegramSecrets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more