Struct actix_telegram::methods::ExportChatInviteLink [−][src]
pub struct ExportChatInviteLink { pub chat_id: ChatIdOrUsername, }
Use this method to generate a new invite link for a chat; any previously generated link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the new invite link as String on success.
Fields
chat_id: ChatIdOrUsername
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Trait Implementations
impl Debug for ExportChatInviteLink
[src]
impl Debug for ExportChatInviteLink
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ActixMessage for ExportChatInviteLink
[src]
impl ActixMessage for ExportChatInviteLink
type Result = Result<String, ()>
The type of value that this message will resolved with if it is successful. Read more
impl Handler<ExportChatInviteLink> for TelegramApi
[src]
impl Handler<ExportChatInviteLink> for TelegramApi
Auto Trait Implementations
impl Send for ExportChatInviteLink
impl Send for ExportChatInviteLink
impl Sync for ExportChatInviteLink
impl Sync for ExportChatInviteLink