create

open fun create(updateHandler: Client.ResultHandler, updateExceptionHandler: Client.ExceptionHandler, defaultExceptionHandler: Client.ExceptionHandler): Client

Creates new Client.

Return

created Client

Parameters

updateHandler

Handler for incoming updates.

updateExceptionHandler

Handler for exceptions thrown from updateHandler. If it is null, exceptions will be ignored.

defaultExceptionHandler

Default handler for exceptions thrown from all ResultHandler. If it is null, exceptions will be ignored.