Function bind_channel_identity_into
pub fn bind_channel_identity_into(
config: &mut Config,
channel_type: &str,
alias: &str,
identity: &str,
) -> Result<bool, Error>Expand description
Add identity to the peer group bound to <type>.<alias> in-place.
Returns Ok(true) when the identity was newly added, Ok(false) when it
was already present. Pure config mutation — no disk write, no daemon
restart — so it is the single core shared by the CLI
(bind_telegram_identity) and the gateway bind endpoint. The channel
field is the dotted <type>.<alias> ref so authorization stays scoped to
the bound alias; a bare type would broaden the peer across every alias of
that type.