mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
31 lines
734 B
Rust
31 lines
734 B
Rust
/*
|
|
* VRChat API Documentation
|
|
*
|
|
*
|
|
* Contact: me@ruby.js.org
|
|
* Generated by: https://openapi-generator.tech
|
|
*/
|
|
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
|
|
pub struct InviteRequest {
|
|
/// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
#[serde(rename = "instanceId")]
|
|
pub instance_id: String,
|
|
#[serde(rename = "messageSlot", skip_serializing_if = "Option::is_none")]
|
|
pub message_slot: Option<i32>,
|
|
}
|
|
|
|
impl InviteRequest {
|
|
pub fn new(instance_id: String) -> InviteRequest {
|
|
InviteRequest {
|
|
instance_id,
|
|
message_slot: None,
|
|
}
|
|
}
|
|
}
|
|
|
|
|