mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 08:37:15 +00:00
telegram bot ui settings and code sending
This commit is contained in:
1 parent
aed212d8f8
commit
e79946b4e4
9 files changed
+236
-62
No files matched your search
@@ -2178,6 +2178,14 @@ pub fn main_has_valid_2fa_sync() -> SyncReturn<bool> {
|
||||
SyncReturn(has_valid_2fa())
|
||||
}
|
||||
|
||||
pub fn main_verify_bot(token: String) -> String {
|
||||
verify_bot(token)
|
||||
}
|
||||
|
||||
pub fn main_has_valid_bot_sync() -> SyncReturn<bool> {
|
||||
SyncReturn(has_valid_bot())
|
||||
}
|
||||
|
||||
pub fn main_get_hard_option(key: String) -> SyncReturn<String> {
|
||||
SyncReturn(get_hard_option(key))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user