feat(telegram): add operator bind command for unauthorized users
This commit is contained in:
parent
bfc67c9c29
commit
fa94117269
3 changed files with 53 additions and 0 deletions
|
|
@ -328,6 +328,11 @@ enum ChannelCommands {
|
|||
/// Channel name
|
||||
name: String,
|
||||
},
|
||||
/// Bind a Telegram identity (username or numeric user ID) into allowlist
|
||||
BindTelegram {
|
||||
/// Telegram identity to allow (username without '@' or numeric user ID)
|
||||
identity: String,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Subcommand, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue