Tg Update Handler
class TgUpdateHandler
An update processing class.
Properties
Functions
Link copied to clipboard
Handle the update.
Functional handling dsl
Link copied to clipboard
A method to parse update from string.
Link copied to clipboard
A method for handling updates from a string. Define processing behavior before calling, see setBehaviour.
Link copied to clipboard
suspend fun TgUpdateHandler.runExceptionHandler(dispatcher: CoroutineDispatcher = PROCESSING_DISPATCHER, delay: Long = 100, block: ExceptionHandler): Job
Runs exception handler loop.
Link copied to clipboard
A function for defining the behavior to handle updates.
Link copied to clipboard
Function to define the actions that will be applied to updates when they are being processed. When set, it starts an update processing cycle.
Link copied to clipboard
Stops listening of new updates.