import { type ClientParams } from "https://deno.land/x/mtkruto@0.1.157/mod.ts";
Properties
A parse mode to use when the parseMode
parameter is not specified when sending or editing messages. Defauls to ParseMode.None
.
The app_version parameter to be passed to initConnection when calling authorize
. It is recommended that this parameter is changed if users are authorized. Defaults to "MTKruto" followed by this version of MTKruto.
The device_version parameter to be passed to initConnection when calling authorize
. The default varies by the current runtime.
The lang_code parameter to be passed to initConnection when calling authorize
. Defaults to the runtime's language or "en"
.
The lang_pack parameter to be passed to initConnection when calling authorize
. Defaults to an empty string.
The system_lang_cde parameter to be passed to initConnection when calling authorize
. Defaults to the runtime's language or "en"
.
The system_version parameter to be passed to initConnection when calling authorize
. The default varies by the current runtime.
Whether to automatically call start
with no parameters in the first invoke
call. Defaults to true
.
Whether to ignore outgoing messages. Defaults to true
for bots, and false
for users.
Default command prefixes. Defaults to "/"
for bots and "\"
for users. This option must be set separately for nested composers.
Whether to guarantee that order-sensitive updates are delivered at least once before delivering next ones. Useful mainly for clients providing a user interface à la Telegram Desktop. Defaults to false
.
Whether to not handle updates received when the client was not running. Defaults to true
for bots, and false
for users.