Skip to content

ui.telegram.client #

fn new_client #

fn new_client(bot_token string, supervisor_key string) !TelegramClient

factory for telegram client initializes baobab client and redis queues

fn (TelegramClient) execute #

fn (mut client TelegramClient) execute()

listens for incoming messages, relays to flow

fn (TelegramClient) clear_old_updates #

fn (mut client TelegramClient) clear_old_updates() string