pub struct RobotRecvMessage {Show 18 fields
pub msg_id: String,
pub msgtype: String,
pub content: MsgContent,
pub conversation_id: String,
pub conversation_type: String,
pub conversation_title: String,
pub at_users: Vec<User>,
pub is_in_at_list: bool,
pub chatbot_corp_id: String,
pub chatbot_user_id: String,
pub sender_id: String,
pub sender_nick: String,
pub sender_corp_id: String,
pub sender_staff_id: String,
pub session_webhook_expired_time: u64,
pub session_webhook: String,
pub is_admin: bool,
pub create_at: u64,
}
Expand description
Message type pushed by DingTalk server
Please refer to the official document for the definition of each field
Fields§
§msg_id: String
§msgtype: String
§content: MsgContent
§conversation_id: String
§conversation_type: String
1 - single chat 2 - group chat
conversation_title: String
§at_users: Vec<User>
§is_in_at_list: bool
§chatbot_corp_id: String
§chatbot_user_id: String
§sender_id: String
§sender_nick: String
§sender_corp_id: String
§sender_staff_id: String
§session_webhook_expired_time: u64
§session_webhook: String
§is_admin: bool
§create_at: u64
Trait Implementations§
Source§impl Debug for RobotRecvMessage
impl Debug for RobotRecvMessage
Source§impl<'de> Deserialize<'de> for RobotRecvMessage
impl<'de> Deserialize<'de> for RobotRecvMessage
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
Auto Trait Implementations§
impl Freeze for RobotRecvMessage
impl RefUnwindSafe for RobotRecvMessage
impl Send for RobotRecvMessage
impl Sync for RobotRecvMessage
impl Unpin for RobotRecvMessage
impl UnwindSafe for RobotRecvMessage
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