modifications for ya-bot API