-record(bot, { self :: gleam@erlang@process:subject(telega@bot:bot_message()), config :: telega@internal@config:config(), bot_info :: telega@model:user(), catch_handler :: fun((telega@bot:context(any(), any()), any()) -> {ok, nil} | {error, any()}), session_settings :: telega@bot:session_settings(any(), any()), handlers :: list(telega@bot:handler(any(), any())), registry_subject :: gleam@erlang@process:subject(telega@internal@registry:registry_message(telega@bot:chat_instance_message(any(), any()))) }).