优化:Telegram转发支持自定义bot地址(复用ApiToken字段,http开头)

pull/67/head
pppscn 3 years ago
parent 519ca3db5a
commit fb437fb329

@ -40,7 +40,10 @@ public class SenderTelegramMsg extends SenderBaseMsg {
//特殊处理避免标题重复
text = text.replaceAll("#", "井").trim();
final String requestUrl = "https://api.telegram.org/bot" + apiToken + "/sendMessage";
if (!apiToken.startsWith("http")) {
apiToken = "https://api.telegram.org/bot" + apiToken + "/sendMessage";
}
final String requestUrl = apiToken;
Log.i(TAG, "requestUrl:" + requestUrl);
Map bodyMap = new HashMap();

@ -1,199 +1,199 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="app_name">SmsForwarder</string>
<string name="notification_content">Forward to DingTalk/WeCom/FeiShu/Email/Bark/ServerChan/Telegram/Webhook, etc</string>
<!--Common-->
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<string name="del">Delete</string>
<string name="test">Test</string>
<string name="confirm">Confirm</string>
<string name="all">All</string>
<string name="select">Select</string>
<string name="clone">Clone Settings</string>
<string name="setting">Settings</string>
<string name="about">About</string>
<string name="rule_setting">Rule Setting</string>
<string name="sender_setting">Sender Setting</string>
<string name="log_tips">Tips: Pull to refresh; Long press to delete one log entry.</string>
<string name="rule_tips">Tips: Tap "NEW FORWARDING RULE" to add a new rule; Long press one to delete; Tap an existing one to edit.</string>
<string name="sender_tips">Tips: Tap "NEW SENDER" to add a new sender; Long press one to delete; Tap an existing one to edit.</string>
<!--AboutActivity-->
<string name="version">Version</string>
<string name="check_for_updates">Check for updates</string>
<string name="auto_startup">Auto startup</string>
<string name="show_tips">Show tips</string>
<string name="open_source">Open source</string>
<string name="synchronize_mirror">Synchronize Mirror</string>
<string name="qq_group">QQ Group</string>
<string name="qq_group1">1st562854376</string>
<string name="qq_group2">2nd31330492</string>
<string name="join_qq_group1">Join 1st Group</string>
<string name="join_qq_group2">Join 2nd Group</string>
<string name="cache">Cache</string>
<string name="purge">Purge</string>
<string name="checking">Checking…</string>
<string name="up_to_date">Yo, you are up to date!</string>
<string name="cache_purged">Cache purged</string>
<string name="unknown_qq_version">No mobile QQ is installed or not supported by recent version!</string>
<!--MainActivity-->
<string name="bt_refresh_log">Clear Logs</string>
<string name="delete_log_title">Delete confirmation</string>
<string name="delete_log_tips">Are you sure to delete this log entry?</string>
<string name="delete_log_toast">The log entry has deleted.</string>
<string name="details">Details</string>
<string name="clear_logs_tips">Are you sure to clear all forwarding logs?</string>
<string name="pull_tips">Pull to refresh.</string>
<string name="release_tips">Release to refresh.</string>
<string name="reflashing_tips">Refreshing…</string>
<!--RuleActivity-->
<string name="setrule">Fwd Rule Settings</string>
<string name="delete_rule_title">Delete confirmation</string>
<string name="delete_rule_tips">Are you sure to delete this rule entry?</string>
<string name="delete_rule_toast">The rule entry has deleted.</string>
<string name="new_sender_first">Please add a new sender and then choose it.</string>
<string name="add_sender_first">Please add a sender first.</string>
<string name="select_sender">Select Sender</string>
<string name="rule_tester">Rule tester:</string>
<string name="new_forwarding_rule">New forwarding rule</string>
<string name="test_sim_slot">Test Sim Slot</string>
<string name="test_phone_number">Test Phone Number</string>
<string name="test_msg_content">Test Msg Content</string>
<string name="match_sim_slot">Sim Slot</string>
<string name="match_field">Field</string>
<string name="phone_number">Phone No.</string>
<string name="sms_content">SMS</string>
<string name="multiple_matches">Multiple</string>
<string name="match_type">Type</string>
<string name="btn_is">Is</string>
<string name="btn_contain">Contain</string>
<string name="btn_not_contain">Not Contain</string>
<string name="btn_start_with">Start With</string>
<string name="btn_end_with">End With</string>
<string name="btn_regex">Regex Match</string>
<string name="match_value">Value</string>
<!--SenderActivity-->
<string name="invalid_sender">Invalid sender, abort!</string>
<string name="delete_sender_title">Delete confirmation</string>
<string name="delete_sender_tips">Are you sure to delete this rule entry?</string>
<string name="delete_sender_toast">The rule entry has deleted.</string>
<string name="add_sender_title">Select sender type</string>
<string name="not_supported">Not supported</string>
<string name="setdingdingtitle">DingTalk Bot Settings</string>
<string name="setemailtitle">Email Settings</string>
<string name="setwebnotifytitle">Webhook Settings</string>
<string name="setqywxgrouprobottitle">WeCom Group Bot Settings</string>
<string name="setqywxapptitle">WeCom Settings</string>
<string name="setbarktitle">Bark Settings</string>
<string name="setserverchantitle">ServerChan·Turbo Settings</string>
<string name="settelegramtitle">Telegram Bot Settings</string>
<string name="setsmstitle">SMS Settings</string>
<string name="setfeishutitle">FeiShu Bot Settings</string>
<string name="test_phone_num">19999999999</string>
<string name="test_content">Test content @</string>
<string name="test_sms">【JD】code 387481, ihelp.jd.com</string>
<string name="test_group_name">Test Group Name</string>
<string name="failed_to_fwd">Failed to fwd</string>
<string name="invalid_token">Token cannot be empty</string>
<string name="invalid_email">Invalid email settings</string>
<string name="invalid_bark_server">Bark-server cannot be empty</string>
<string name="invalid_apiToken_or_chatId">Neither ApiToken nor ChatId can be empty</string>
<string name="invalid_sendkey">SendKey cannot be empty</string>
<string name="invalid_webserver">WebServer cannot be empty</string>
<string name="invalid_webhook">webHook cannot be empty</string>
<string name="invalid_at_mobiles">The specified member cannot be empty or select @all</string>
<string name="invalid_phone_num">Phone number cannot be empty</string>
<string name="new_sender">New Sender</string>
<string name="set_bark_name">Bark Group Name</string>
<string name="set_bark_server">Bark-Server, e.g. https://bark.bms.ink/XXXXXXXX/</string>
<string name="set_bark_icon">Bark-Icon (optional), e.g. http://day.app/assets/images/avatar.jpg</string>
<string name="set_name">Name</string>
<string name="dingding_token">Token e.g. the XXXXXX part of https://oapi.dingtalk.com/robot/send?access_token=XXXXXX</string>
<string name="dingding_secret">Secret (optional)</string>
<string name="dingding_at">At Mobiles e.g. 18888888888,19999999999</string>
<string name="email_host">SMTP Host</string>
<string name="smtp_port">SMTP Port</string>
<string name="enable_ssl">SSL</string>
<string name="email_account">Account</string>
<string name="email_password">Password/Auth Code</string>
<string name="email_nickname">Nickname</string>
<string name="email_to">Send To</string>
<string name="feishu_webhook">Webhook</string>
<string name="feishu_secret">Secret (optional)</string>
<string name="Corp_ID">Corp ID</string>
<string name="Agent_ID">Agent ID</string>
<string name="App_Secret">App Secret</string>
<string name="is_at_all">Is at all</string>
<string name="specified_member">Specified Member</string>
<string name="specified_member_tips">TipSpecify members receive messages, member ID list (multiple recipients with \'|\' space, maximum 1000)</string>
<string name="QYWXGroupRobotWebHook">WebHook, e.g. https://qyapi.weixin.qq.com/cgixx?key=xxx</string>
<string name="ServerChanSendKey">ServerChan\'s SendKey</string>
<string name="TelegramApiToken">ApiToken</string>
<string name="TelegramChatId">ChatId</string>
<string name="WebNotifyMethod">Method</string>
<string name="WebNotifyWebServer">WebServer e.g. https://a.b.com/msg?token=xyz</string>
<string name="WebNotifyWebParams">WebParams e.g. payload=%7B%22text%22%3A%22[msg]%22%7D [msg] will be replaced with text message content. \nSupport Json format, for example: {"text":[MSG]}.\n Note: MSG is automatically utF-8 encoded in addition to JSON format</string>
<string name="WebNotifySecret">Secret (If empty, sign is not counted)</string>
<string name="SmsSimSlot">Sim Slot</string>
<string name="same_source">Same source</string>
<string name="SmsMobiles">Receive mobile phone numbers separated by, e.g. 15888888888;19999999999</string>
<string name="OnlyNoNetwork">仅当无网络时启用</string>
<!--SettingActivity-->
<string name="device_name">Device name</string>
<string name="sim1_remark" tools:ignore="Typos">SIM1 Remark</string>
<string name="sim2_remark" tools:ignore="Typos">SIM2 Remark</string>
<string name="carrier_mobile">Carrier_Mobile Number</string>
<string name="low_power_alarm_threshold">Low power alarm threshold</string>
<string name="low_power_alarm_threshold_tips">Value range: 0100. Left blank or 0 is disabled</string>
<string name="retry_interval">Retry interval (seconds)</string>
<string name="retry_interval_tips">Retry five times after it fails</string>
<string name="add_extra">Sim slot info attached</string>
<string name="add_device_name">Device Name attached</string>
<string name="forward_missed_calls">Forward missed calls</string>
<string name="enable_custom_templates">Enable custom templates</string>
<string name="custom_templates">Custom templates</string>
<string name="custom_templates_tips">TipInsert labels as needed;Leave blank to default template</string>
<string name="insert_sender">Phone</string>
<string name="insert_content">SMS</string>
<string name="insert_extra">SIM</string>
<string name="insert_time">Time</string>
<string name="insert_device_name">Device</string>
<string name="init_setting">Restore initial Setting</string>
<string name="battery_setting">Battery Optimization</string>
<string name="unknown_number">Unknown Number</string>
<string name="calling">Incoming telegram</string>
<string name="unsupport">Your phone does not support this setting</string>
<string name="isIgnored">Set successfully!</string>
<!--Other-->
<string name="version_now">v1.0</string>
<string name="linkweb">https://github.com/pppscn/SmsForwarder</string>
<string name="linkweb2">https://gitee.com/pp/SmsForwarder</string>
<string name="cache_size">0KB</string>
<string name="sim1" tools:ignore="Typos">SIM1</string>
<string name="sim2" tools:ignore="Typos">SIM2</string>
<string name="mu_rule_tips">多重匹配规则示例:\n \n 并且 是 手机号 相等 10086\n 或者 是 手机号 相等 10011\n 并且 是 短信内容 包含 欠费\n \n 以上规则表示收到短信并且手机号是10086 或者 手机号是10010并且 短信内容 包含 欠费 时转发短信\n 注意:每行开始的空格代表层级,太过复杂的多重规则可能导致内存占用很大!</string>
<string name="post">POST</string>
<string name="get">GET</string>
<!--CloneActivity-->
<string name="local_ip">Local IP</string>
<string name="operating_instruction">Operation instructions: \n1. Please keep the old and new phones in the same WiFi network, and do not turn on isolation \n2.The old mobile phone directly click "send" button, get "server IP" \n3. After filling in "Server IP" for the new mobile phone, click "Receive" button \n [note], the sender and forwarding rules will be completely covered after the new mobile phone receives!</string>
<string name="send">Send</string>
<string name="stop">Stop</string>
<string name="old_mobile_phone">I\'m the old phone</string>
<string name="receive">Receive</string>
<string name="new_mobile_phone">I\'m the new phone</string>
<string name="server_ip">Server IP: </string>
<string name="point">.</string>
<string name="invalid_ip">Please enter a valid IP address</string>
<string name="server_has_started">The server is started successfully</string>
<string name="server_has_stopped">The server has been stopped</string>
<string name="sender_cannot_receive">This mobile phone is the sender and cannot receive files.</string>
<string name="no_wifi_network">If the Wifi network is not connected, the one-click cloning function cannot be used.</string>
<string name="invalid_server_ip">Please enter a valid server IP address</string>
<string name="download_failed">Download Failed</string>
<string name="download_success">Download Success</string>
<string name="on_wireless_network">Currently on a wireless network</string>
<string name="on_mobile_network">Currently on a mobile network</string>
<string name="no_network">No network at present</string>
<string name="not_connected_wifi">Not connected WIFI</string>
<string name="failed_to_get_ip">Failed to get IP address</string>
</resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="app_name">SmsForwarder</string>
<string name="notification_content">Forward to DingTalk/WeCom/FeiShu/Email/Bark/ServerChan/Telegram/Webhook, etc</string>
<!--Common-->
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<string name="del">Delete</string>
<string name="test">Test</string>
<string name="confirm">Confirm</string>
<string name="all">All</string>
<string name="select">Select</string>
<string name="clone">Clone Settings</string>
<string name="setting">Settings</string>
<string name="about">About</string>
<string name="rule_setting">Rule Setting</string>
<string name="sender_setting">Sender Setting</string>
<string name="log_tips">Tips: Pull to refresh; Long press to delete one log entry.</string>
<string name="rule_tips">Tips: Tap "NEW FORWARDING RULE" to add a new rule; Long press one to delete; Tap an existing one to edit.</string>
<string name="sender_tips">Tips: Tap "NEW SENDER" to add a new sender; Long press one to delete; Tap an existing one to edit.</string>
<!--AboutActivity-->
<string name="version">Version</string>
<string name="check_for_updates">Check for updates</string>
<string name="auto_startup">Auto startup</string>
<string name="show_tips">Show tips</string>
<string name="open_source">Open source</string>
<string name="synchronize_mirror">Synchronize Mirror</string>
<string name="qq_group">QQ Group</string>
<string name="qq_group1">1st562854376</string>
<string name="qq_group2">2nd31330492</string>
<string name="join_qq_group1">Join 1st Group</string>
<string name="join_qq_group2">Join 2nd Group</string>
<string name="cache">Cache</string>
<string name="purge">Purge</string>
<string name="checking">Checking…</string>
<string name="up_to_date">Yo, you are up to date!</string>
<string name="cache_purged">Cache purged</string>
<string name="unknown_qq_version">No mobile QQ is installed or not supported by recent version!</string>
<!--MainActivity-->
<string name="bt_refresh_log">Clear Logs</string>
<string name="delete_log_title">Delete confirmation</string>
<string name="delete_log_tips">Are you sure to delete this log entry?</string>
<string name="delete_log_toast">The log entry has deleted.</string>
<string name="details">Details</string>
<string name="clear_logs_tips">Are you sure to clear all forwarding logs?</string>
<string name="pull_tips">Pull to refresh.</string>
<string name="release_tips">Release to refresh.</string>
<string name="reflashing_tips">Refreshing…</string>
<!--RuleActivity-->
<string name="setrule">Fwd Rule Settings</string>
<string name="delete_rule_title">Delete confirmation</string>
<string name="delete_rule_tips">Are you sure to delete this rule entry?</string>
<string name="delete_rule_toast">The rule entry has deleted.</string>
<string name="new_sender_first">Please add a new sender and then choose it.</string>
<string name="add_sender_first">Please add a sender first.</string>
<string name="select_sender">Select Sender</string>
<string name="rule_tester">Rule tester:</string>
<string name="new_forwarding_rule">New forwarding rule</string>
<string name="test_sim_slot">Test Sim Slot</string>
<string name="test_phone_number">Test Phone Number</string>
<string name="test_msg_content">Test Msg Content</string>
<string name="match_sim_slot">Sim Slot</string>
<string name="match_field">Field</string>
<string name="phone_number">Phone No.</string>
<string name="sms_content">SMS</string>
<string name="multiple_matches">Multiple</string>
<string name="match_type">Type</string>
<string name="btn_is">Is</string>
<string name="btn_contain">Contain</string>
<string name="btn_not_contain">Not Contain</string>
<string name="btn_start_with">Start With</string>
<string name="btn_end_with">End With</string>
<string name="btn_regex">Regex Match</string>
<string name="match_value">Value</string>
<!--SenderActivity-->
<string name="invalid_sender">Invalid sender, abort!</string>
<string name="delete_sender_title">Delete confirmation</string>
<string name="delete_sender_tips">Are you sure to delete this rule entry?</string>
<string name="delete_sender_toast">The rule entry has deleted.</string>
<string name="add_sender_title">Select sender type</string>
<string name="not_supported">Not supported</string>
<string name="setdingdingtitle">DingTalk Bot Settings</string>
<string name="setemailtitle">Email Settings</string>
<string name="setwebnotifytitle">Webhook Settings</string>
<string name="setqywxgrouprobottitle">WeCom Group Bot Settings</string>
<string name="setqywxapptitle">WeCom Settings</string>
<string name="setbarktitle">Bark Settings</string>
<string name="setserverchantitle">ServerChan·Turbo Settings</string>
<string name="settelegramtitle">Telegram Bot Settings</string>
<string name="setsmstitle">SMS Settings</string>
<string name="setfeishutitle">FeiShu Bot Settings</string>
<string name="test_phone_num">19999999999</string>
<string name="test_content">Test content @</string>
<string name="test_sms">【JD】code 387481, ihelp.jd.com</string>
<string name="test_group_name">Test Group Name</string>
<string name="failed_to_fwd">Failed to fwd</string>
<string name="invalid_token">Token cannot be empty</string>
<string name="invalid_email">Invalid email settings</string>
<string name="invalid_bark_server">Bark-server cannot be empty</string>
<string name="invalid_apiToken_or_chatId">Neither ApiToken nor ChatId can be empty</string>
<string name="invalid_sendkey">SendKey cannot be empty</string>
<string name="invalid_webserver">WebServer cannot be empty</string>
<string name="invalid_webhook">webHook cannot be empty</string>
<string name="invalid_at_mobiles">The specified member cannot be empty or select @all</string>
<string name="invalid_phone_num">Phone number cannot be empty</string>
<string name="new_sender">New Sender</string>
<string name="set_bark_name">Bark Group Name</string>
<string name="set_bark_server">Bark-Server, e.g. https://bark.bms.ink/XXXXXXXX/</string>
<string name="set_bark_icon">Bark-Icon (optional), e.g. http://day.app/assets/images/avatar.jpg</string>
<string name="set_name">Name</string>
<string name="dingding_token">Token e.g. the XXXXXX part of https://oapi.dingtalk.com/robot/send?access_token=XXXXXX</string>
<string name="dingding_secret">Secret (optional)</string>
<string name="dingding_at">At Mobiles e.g. 18888888888,19999999999</string>
<string name="email_host">SMTP Host</string>
<string name="smtp_port">SMTP Port</string>
<string name="enable_ssl">SSL</string>
<string name="email_account">Account</string>
<string name="email_password">Password/Auth Code</string>
<string name="email_nickname">Nickname</string>
<string name="email_to">Send To</string>
<string name="feishu_webhook">Webhook</string>
<string name="feishu_secret">Secret (optional)</string>
<string name="Corp_ID">Corp ID</string>
<string name="Agent_ID">Agent ID</string>
<string name="App_Secret">App Secret</string>
<string name="is_at_all">Is at all</string>
<string name="specified_member">Specified Member</string>
<string name="specified_member_tips">TipSpecify members receive messages, member ID list (multiple recipients with \'|\' space, maximum 1000)</string>
<string name="QYWXGroupRobotWebHook">WebHook, e.g. https://qyapi.weixin.qq.com/cgixx?key=xxx</string>
<string name="ServerChanSendKey">ServerChan\'s SendKey</string>
<string name="TelegramApiToken">ApiToken or Custom address</string>
<string name="TelegramChatId">ChatId</string>
<string name="WebNotifyMethod">Method</string>
<string name="WebNotifyWebServer">WebServer e.g. https://a.b.com/msg?token=xyz</string>
<string name="WebNotifyWebParams">WebParams e.g. payload=%7B%22text%22%3A%22[msg]%22%7D [msg] will be replaced with text message content. \nSupport Json format, for example: {"text":[MSG]}.\n Note: MSG is automatically utF-8 encoded in addition to JSON format</string>
<string name="WebNotifySecret">Secret (If empty, sign is not counted)</string>
<string name="SmsSimSlot">Sim Slot</string>
<string name="same_source">Same source</string>
<string name="SmsMobiles">Receive mobile phone numbers separated by, e.g. 15888888888;19999999999</string>
<string name="OnlyNoNetwork">仅当无网络时启用</string>
<!--SettingActivity-->
<string name="device_name">Device name</string>
<string name="sim1_remark" tools:ignore="Typos">SIM1 Remark</string>
<string name="sim2_remark" tools:ignore="Typos">SIM2 Remark</string>
<string name="carrier_mobile">Carrier_Mobile Number</string>
<string name="low_power_alarm_threshold">Low power alarm threshold</string>
<string name="low_power_alarm_threshold_tips">Value range: 0100. Left blank or 0 is disabled</string>
<string name="retry_interval">Retry interval (seconds)</string>
<string name="retry_interval_tips">Retry five times after it fails</string>
<string name="add_extra">Sim slot info attached</string>
<string name="add_device_name">Device Name attached</string>
<string name="forward_missed_calls">Forward missed calls</string>
<string name="enable_custom_templates">Enable custom templates</string>
<string name="custom_templates">Custom templates</string>
<string name="custom_templates_tips">TipInsert labels as needed;Leave blank to default template</string>
<string name="insert_sender">Phone</string>
<string name="insert_content">SMS</string>
<string name="insert_extra">SIM</string>
<string name="insert_time">Time</string>
<string name="insert_device_name">Device</string>
<string name="init_setting">Restore initial Setting</string>
<string name="battery_setting">Battery Optimization</string>
<string name="unknown_number">Unknown Number</string>
<string name="calling">Incoming telegram</string>
<string name="unsupport">Your phone does not support this setting</string>
<string name="isIgnored">Set successfully!</string>
<!--Other-->
<string name="version_now">v1.0</string>
<string name="linkweb">https://github.com/pppscn/SmsForwarder</string>
<string name="linkweb2">https://gitee.com/pp/SmsForwarder</string>
<string name="cache_size">0KB</string>
<string name="sim1" tools:ignore="Typos">SIM1</string>
<string name="sim2" tools:ignore="Typos">SIM2</string>
<string name="mu_rule_tips">多重匹配规则示例:\n \n 并且 是 手机号 相等 10086\n 或者 是 手机号 相等 10011\n 并且 是 短信内容 包含 欠费\n \n 以上规则表示收到短信并且手机号是10086 或者 手机号是10010并且 短信内容 包含 欠费 时转发短信\n 注意:每行开始的空格代表层级,太过复杂的多重规则可能导致内存占用很大!</string>
<string name="post">POST</string>
<string name="get">GET</string>
<!--CloneActivity-->
<string name="local_ip">Local IP</string>
<string name="operating_instruction">Operation instructions: \n1. Please keep the old and new phones in the same WiFi network, and do not turn on isolation \n2.The old mobile phone directly click "send" button, get "server IP" \n3. After filling in "Server IP" for the new mobile phone, click "Receive" button \n [note], the sender and forwarding rules will be completely covered after the new mobile phone receives!</string>
<string name="send">Send</string>
<string name="stop">Stop</string>
<string name="old_mobile_phone">I\'m the old phone</string>
<string name="receive">Receive</string>
<string name="new_mobile_phone">I\'m the new phone</string>
<string name="server_ip">Server IP: </string>
<string name="point">.</string>
<string name="invalid_ip">Please enter a valid IP address</string>
<string name="server_has_started">The server is started successfully</string>
<string name="server_has_stopped">The server has been stopped</string>
<string name="sender_cannot_receive">This mobile phone is the sender and cannot receive files.</string>
<string name="no_wifi_network">If the Wifi network is not connected, the one-click cloning function cannot be used.</string>
<string name="invalid_server_ip">Please enter a valid server IP address</string>
<string name="download_failed">Download Failed</string>
<string name="download_success">Download Success</string>
<string name="on_wireless_network">Currently on a wireless network</string>
<string name="on_mobile_network">Currently on a mobile network</string>
<string name="no_network">No network at present</string>
<string name="not_connected_wifi">Not connected WIFI</string>
<string name="failed_to_get_ip">Failed to get IP address</string>
</resources>

@ -127,7 +127,7 @@
<string name="specified_member_tips">Tip指定接收消息的成员成员ID列表多个接收者用|分隔最多支持1000个</string>
<string name="QYWXGroupRobotWebHook">设置WebHook地址:示例https://qyapi.weixin.qq.com/cgixx?key=xxx</string>
<string name="ServerChanSendKey">设置Server酱·Turbo版的SendKey</string>
<string name="TelegramApiToken">设置Telegram机器人的ApiToken</string>
<string name="TelegramApiToken">设置Telegram机器人的ApiToken 或 自定义地址</string>
<string name="TelegramChatId">设置被通知人(或群组)的ChatId</string>
<string name="WebNotifyMethod">请求方式</string>
<string name="WebNotifyWebServer">设置WebServer例如https://a.b.com/msg?token=xyz</string>

Loading…
Cancel
Save