Enum telegram::schema::InputPeer
[−]
pub enum InputPeer { inputPeerEmpty, inputPeerSelf, inputPeerContact { user_id: i32, }, inputPeerForeign { user_id: i32, access_hash: i64, }, inputPeerChat { chat_id: i32, }, }
Variants
inputPeerEmpty
inputPeerSelf
inputPeerContact
Fields of inputPeerContact
user_id: i32 |
inputPeerForeign
Fields of inputPeerForeign
user_id: i32 | |
access_hash: i64 |
inputPeerChat
Fields of inputPeerChat
chat_id: i32 |
Trait Implementations
impl Debug for InputPeer
[src]
impl Serialize for InputPeer
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.