get

open operator override fun get(id: ID): TelegramBot(source)

Find a matching bot by token or user id. if id is a NumericalID, think of it as a User.id for finding. Otherwise, it is treated as a token, then converted to a Long and then treated as a User.id.

See also

Throws

If there is no matching bot