diff --git a/telers/src/types/user.rs b/telers/src/types/user.rs index 9d9dbd3..321d764 100644 --- a/telers/src/types/user.rs +++ b/telers/src/types/user.rs @@ -20,13 +20,13 @@ pub struct User { /// `true`, if this user is a bot pub is_bot: bool, /// User's or bot's first name - pub first_name: String, + pub first_name: Box, /// User's or bot's last name - pub last_name: Option, + pub last_name: Option>, /// User's or bot's username - pub username: Option, + pub username: Option>, /// [`IETF language tag`](https://en.wikipedia.org/wiki/IETF_language_tag) of the user's language - pub language_code: Option, + pub language_code: Option>, /// `true`, if this user is a Telegram Premium user pub is_premium: Option, /// `true`, if this user added the bot to the attachment menu