ferrisgram 0.2.1

An elegent rust client for the Telegram Bot API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!

use crate::types::SharedUser;
use serde::{Deserialize, Serialize};

/// This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.
/// <https://core.telegram.org/bots/api#usersshared>
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct UsersShared {
    /// Identifier of the request
    pub request_id: i64,
    /// Information about users shared with the bot.
    pub users: Vec<SharedUser>,
}