pub struct SetStealthRequest {
pub group_chat_id: Uuid,
pub disable_web: bool,
pub burn_in: Option<u32>,
pub expire_in: Option<u32>,
}Expand description
Запрос на включении стелс режима в чате
Fields§
§group_chat_id: UuidИдентификатор чата
disable_web: bool(Default: false) - если true - отключает доступ к чату с веб-клиента (по умолчанию false)
burn_in: Option<u32>(Default: null) - Время сгорания для прочитавшего, в секундах (по-умолчанию null - выключено)
expire_in: Option<u32>(Default: null) - время сгорания для всех участников чата, в секундах (по-умолчанию null - выключено)
Trait Implementations§
Source§impl Clone for SetStealthRequest
impl Clone for SetStealthRequest
Source§fn clone(&self) -> SetStealthRequest
fn clone(&self) -> SetStealthRequest
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 SetStealthRequest
impl Debug for SetStealthRequest
Source§impl Default for SetStealthRequest
impl Default for SetStealthRequest
Source§fn default() -> SetStealthRequest
fn default() -> SetStealthRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetStealthRequest
impl<'de> Deserialize<'de> for SetStealthRequest
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 SetStealthRequest
impl RefUnwindSafe for SetStealthRequest
impl Send for SetStealthRequest
impl Sync for SetStealthRequest
impl Unpin for SetStealthRequest
impl UnwindSafe for SetStealthRequest
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