1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,913 · python 20,426 · 6,405 files · digest 00b5738199cb · built in 1.5 s · crystals off
crates/cre8-app-messaging/src/providers/telegram_bot.rs
Items
struct TelegramBotProvider const TELEGRAM_CHANNELS struct TelegramSendResult struct TelegramMessage impl MessageProvider for TelegramBotProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 11 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| env_bot_tokensrc/providers/telegram_bot.rs:35 | fn | 3 | 1 | 3 | 1 | 1.4 | |
| requestsrc/providers/telegram_bot.rs:108 | fn | 13 | 1 | 2 | 0 | 0.8 | |
| TelegramBotProvider::idsrc/providers/telegram_bot.rs:40 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TelegramBotProvider::channelssrc/providers/telegram_bot.rs:44 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TelegramBotProvider::is_availablesrc/providers/telegram_bot.rs:48 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TelegramBotProvider::unavailable_reasonsrc/providers/telegram_bot.rs:52 | trait impl | 3 | 2 | 0 | 1 | 0.5 | |
| TelegramBotProvider::cost_cents_per_callsrc/providers/telegram_bot.rs:56 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TelegramBotProvider::sendsrc/providers/telegram_bot.rs:60 | trait impl | 41 | 5 | 0 | 4 | 0.5 | |
| channels_chat_onlysrc/providers/telegram_bot.rs:123 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| send_rejects_wrong_channel_missing_token_and_empty_chat_idsrc/providers/telegram_bot.rs:131 | fn | 16 | 1 | 0 | 4 | 0.5 | |
| send_builds_telegram_request_when_configuredsrc/providers/telegram_bot.rs:149 | fn | 7 | 2 | 0 | 2 | 0.5 |
Source not readable from this process.