getSelf

open suspend fun getSelf(): User(source)

Requests the User this bot represents.

Throws

if something went wrong while retrieving the user.

if the user was null.