Struct tbot::methods::GetWebhookInfo
source · pub struct GetWebhookInfo<'a> { /* private fields */ }
Expand description
Gets information about the bot’s webhook.
Reflects the getWebhookInfo
method.
Implementations§
source§impl GetWebhookInfo<'_>
impl GetWebhookInfo<'_>
sourcepub async fn call(self) -> Result<WebhookInfo, MethodCall>
pub async fn call(self) -> Result<WebhookInfo, MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for GetWebhookInfo<'a>
impl<'a> Clone for GetWebhookInfo<'a>
source§fn clone(&self) -> GetWebhookInfo<'a>
fn clone(&self) -> GetWebhookInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more