Skip to main content

resolve_chat_id

Function resolve_chat_id 

Source
fn resolve_chat_id(
    channel_id: &str,
    default_chat_id: Option<i64>,
) -> Option<i64>
Expand description

Resolves an OutboundMsg.channel_id (a stringified chat id, or empty for “use the bridge’s default”) into a Telegram numeric chat id.