mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 15:01:45 +01:00
fix typos
This commit is contained in:
parent
fbbb5c842b
commit
5fb0a4787f
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ impl User {
|
|||
}
|
||||
|
||||
/// Returns `true` if this is special user used by telegram bot API to
|
||||
/// denote an annonymous user that sends messages on behalf of a group.
|
||||
/// denote an anonymous user that sends messages on behalf of a group.
|
||||
pub fn is_anonymous(&self) -> bool {
|
||||
// https://github.com/tdlib/td/blob/4791fb6a2af0257f6cad8396e10424a79ee5f768/td/telegram/ContactsManager.cpp#L4941-L4943
|
||||
const ANON_ID: i64 = 1087968824;
|
||||
|
@ -68,7 +68,7 @@ impl User {
|
|||
}
|
||||
|
||||
/// Returns `true` if this is special user used by telegram bot API to
|
||||
/// denote an annonymous user that sends messages on behalf of a channel.
|
||||
/// denote an anonymous user that sends messages on behalf of a channel.
|
||||
pub fn is_channel(&self) -> bool {
|
||||
// https://github.com/tdlib/td/blob/4791fb6a2af0257f6cad8396e10424a79ee5f768/td/telegram/ContactsManager.cpp#L4945-L4947
|
||||
const ANON_CHANNEL_ID: i64 = 136817688;
|
||||
|
|
Loading…
Reference in a new issue