1.1 KiB
1.1 KiB
title | description | image | redirect_from |
---|---|---|---|
help.getDeepLinkInfo | Get info about a `t.me` link | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/methods/help_getDeepLinkInfo.html |
Method: help.getDeepLinkInfo
Get info about a t.me
link
Parameters:
Name | Type | Description | Required |
---|---|---|---|
path | string | Path in t.me/path |
Yes |
Return type: help.DeepLinkInfo
Can bots use this method: NO
MadelineProto Example (now async for huge speed and parallelism!):
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]);
Or, if you're into Lua:
help.DeepLinkInfo = help.getDeepLinkInfo({path='string', })