Struct slack_chat_api::api::Api
source · pub struct Api {
pub client: Client,
}Fields§
§client: ClientImplementations§
source§impl Api
impl Api
sourcepub async fn test(&self, error: &str, foo_: &str) -> Result<DndEndSchema>
pub async fn test(&self, error: &str, foo_: &str) -> Result<DndEndSchema>
This function performs a GET to the /api.test endpoint.
Checks API calling code.
FROM: https://api.slack.com/methods/api.test
Parameters:
error: &str– Error response to return.foo_: &str– example property to return.