Struct telegram_types::bot::methods::GetChat
source · pub struct GetChat<'a> {
pub chat_id: ChatTarget<'a>,
}
Expand description
Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).
Returns a Chat
object on success.
Fields
chat_id: ChatTarget<'a>
Trait Implementations
sourceimpl<'de, 'a> Deserialize<'de> for GetChat<'a>
impl<'de, 'a> Deserialize<'de> for GetChat<'a>
sourcefn 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
sourceimpl<'a> PartialEq<GetChat<'a>> for GetChat<'a>
impl<'a> PartialEq<GetChat<'a>> for GetChat<'a>
impl<'a> Eq for GetChat<'a>
impl<'a> StructuralEq for GetChat<'a>
impl<'a> StructuralPartialEq for GetChat<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for GetChat<'a>
impl<'a> Send for GetChat<'a>
impl<'a> Sync for GetChat<'a>
impl<'a> Unpin for GetChat<'a>
impl<'a> UnwindSafe for GetChat<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more