Skip to main content

app_id

Function app_id 

Source
pub fn app_id() -> Result<Option<String>, RkError>
Expand description

The App id from the environment, absent when unset.

§Errors

Refuses an RK_BOT_APP_ID that is not the numeric id — the value lands in a JSON claim, so anything else would sign a malformed token.