Struct tg_botapi::methods::RestrictChatMember [−][src]
pub struct RestrictChatMember {
pub chat_id: ChatId,
pub user_id: i64,
pub until_date: Option<i64>,
pub can_send_messages: Option<bool>,
pub can_send_media_messages: Option<bool>,
pub can_send_other_messages: Option<bool>,
pub can_add_web_page_previews: Option<bool>,
}
Fields
chat_id: ChatId
user_id: i64
until_date: Option<i64>
can_send_messages: Option<bool>
can_send_media_messages: Option<bool>
can_send_other_messages: Option<bool>
can_add_web_page_previews: Option<bool>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RestrictChatMember
impl Send for RestrictChatMember
impl Sync for RestrictChatMember
impl Unpin for RestrictChatMember
impl UnwindSafe for RestrictChatMember
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more