Skip to main content

parse_get_me_response

Function parse_get_me_response 

Source
pub fn parse_get_me_response(json: &Value) -> Option<String>
Expand description

Parse a getMe API response and extract the bot username. Exposed for testing.