pub struct GetGroupsInCommon {
pub user_id: i32,
pub offset_chat_id: i64,
pub limit: i32,
}
Expand description
Returns a list of common chats with a given user. Chats are sorted by their type and creation date
Fields§
§user_id: i32
User identifier
offset_chat_id: i64
Chat identifier starting from which to return chats; use 0 for the first request
limit: i32
Maximum number of chats to be returned; up to 100
Trait Implementations§
Source§impl Clone for GetGroupsInCommon
impl Clone for GetGroupsInCommon
Source§fn clone(&self) -> GetGroupsInCommon
fn clone(&self) -> GetGroupsInCommon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetGroupsInCommon
impl Debug for GetGroupsInCommon
Source§impl<'de> Deserialize<'de> for GetGroupsInCommon
impl<'de> Deserialize<'de> for GetGroupsInCommon
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for GetGroupsInCommon
impl Method for GetGroupsInCommon
Auto Trait Implementations§
impl Freeze for GetGroupsInCommon
impl RefUnwindSafe for GetGroupsInCommon
impl Send for GetGroupsInCommon
impl Sync for GetGroupsInCommon
impl Unpin for GetGroupsInCommon
impl UnwindSafe for GetGroupsInCommon
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