Struct botapi::gen_methods::CallUnbanChatMember
source · pub struct CallUnbanChatMember<'a> { /* private fields */ }
Implementations§
source§impl<'a> CallUnbanChatMember<'a>
impl<'a> CallUnbanChatMember<'a>
sourcepub fn chat_id(self, chat_id: i64) -> Self
pub fn chat_id(self, chat_id: i64) -> Self
Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)
sourcepub fn only_if_banned(self, only_if_banned: bool) -> Self
pub fn only_if_banned(self, only_if_banned: bool) -> Self
Do nothing if the user is not banned