Struct grammers_session::ChatHashCache [−][src]
pub struct ChatHashCache { /* fields omitted */ }
In-memory chat cache, mapping peers to their respective access hashes.
Implementations
impl ChatHashCache
[src]
impl ChatHashCache
[src]pub fn new() -> Self
[src]
pub fn self_id(&self) -> i32
[src]
pub fn is_self_bot(&self) -> bool
[src]
pub fn contains_user(&self, user_id: i32) -> bool
[src]
pub fn get_input_channel(&self, channel_id: i32) -> Option<InputChannel>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChatHashCache
impl RefUnwindSafe for ChatHashCache
impl Send for ChatHashCache
impl Send for ChatHashCache
impl Sync for ChatHashCache
impl Sync for ChatHashCache
impl Unpin for ChatHashCache
impl Unpin for ChatHashCache
impl UnwindSafe for ChatHashCache
impl UnwindSafe for ChatHashCache