pub struct CallSetChatAdministratorCustomTitle<'a> { /* private fields */ }
Implementations§
source§impl<'a> CallSetChatAdministratorCustomTitle<'a>
impl<'a> CallSetChatAdministratorCustomTitle<'a>
sourcepub fn chat_id(self, chat_id: i64) -> Self
pub fn chat_id(self, chat_id: i64) -> Self
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
sourcepub fn custom_title(self, custom_title: &'a str) -> Self
pub fn custom_title(self, custom_title: &'a str) -> Self
New custom title for the administrator; 0-16 characters, emoji are not allowed