MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / sorted

Function sorted

main.js:3857–3870  ·  view source on GitHub ↗
(unordered)

Source from the content-addressed store, hash-verified

3855 {parse_mode: 'HTML'}
3856 ).catch(globalErrorHandler());
3857 } else if (matchChecksum(commandArgs)) {
3858 const checksum = matchChecksum(commandArgs);
3859 findApkByHash(checksum, (err, apk) => {
3860 if (err) {
3861 bot.sendMessage(msg.chat.id,
3862 '<code>' + checksum + '</code> seems to be a hash, but it does not correspond to any <b>Telegram X</b> build I am aware of.',
3863 {parse_mode: 'HTML'/*, reply_to_message_id: msg.message_id*/}
3864 ).catch(globalErrorHandler());
3865 } else {
3866 bot.sendMessage(msg.chat.id, getChecksumMessage(checksum, apk, true),
3867 {
3868 parse_mode: 'HTML',
3869 disable_web_page_preview: true /*, reply_to_message_id: msg.message_id*/
3870 }
3871 ).catch(globalErrorHandler());
3872 }
3873 });

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected