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

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Trait Implementations

impl Debug for ExportChatInviteLink
[src]

Formats the value using the given formatter. Read more

impl ActixMessage for ExportChatInviteLink
[src]

The type of value that this message will resolved with if it is successful. Read more

impl Handler<ExportChatInviteLink> for TelegramApi
[src]

The type of value that this handle will return

Method is called for every message received by this Actor

Auto Trait Implementations