pub struct SetChatSettings<'a> { /* private fields */ }Implementations§
Source§impl<'a> SetChatSettings<'a>
impl<'a> SetChatSettings<'a>
pub fn chat_available_condition(self, value: ChatCondition) -> Self
pub fn chat_available_group(self, value: ChatGroup) -> Self
pub fn min_follower_minute(self, value: MinFollowerMinute) -> Self
pub fn allow_subscriber_in_follower_mode(self, value: bool) -> Self
pub fn chat_slow_mode_sec(self, value: ChatSlowModeSec) -> Self
pub fn chat_emoji_mode(self, value: bool) -> Self
pub async fn send(self) -> Result<(), Error>
Trait Implementations§
Source§impl<'a> Debug for SetChatSettings<'a>
impl<'a> Debug for SetChatSettings<'a>
Auto Trait Implementations§
impl<'a> Freeze for SetChatSettings<'a>
impl<'a> !RefUnwindSafe for SetChatSettings<'a>
impl<'a> Send for SetChatSettings<'a>
impl<'a> Sync for SetChatSettings<'a>
impl<'a> Unpin for SetChatSettings<'a>
impl<'a> UnsafeUnpin for SetChatSettings<'a>
impl<'a> !UnwindSafe for SetChatSettings<'a>
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