Skip to content

WizardLoop/filterURL-GetAnyMessage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

filterURL-GetAnyMessage

Description

filter the chat type by telegram url with custom filters!

Function to filter the chat type by telegram url with custom filters: (b/u) For all supported formats, go to the examples folder.

all type of chats: channel/group/user/bot || public/private || channel comment & topics groups

( From my project: @GetAnyMessageRobot )

You can check our bot here.

*Written by PHPwiz ( php-wiz )

explanation

url paths:

$out1 = $result1['out1'] ?? null; // PATH URL 1 
$out2 = $result1['out2'] ?? null; // PATH URL 2
$out3 = $result1['out3'] ?? null;  // PATH URL 3
$out4 = $result1['out4'] ?? null; // PATH URL 4
$out5 = $result1['out5'] ?? null; // PATH URL 5

info:

PATH URL 1 ($out1):
if path is c/C = private chat(group/channel).
if path is u/U = user chat.
if path is b/B = chat bot.
else = (username) so its public channel/group.

*checks if path does not start with + to filter out invitation links.
*Check only on Telegram links.

About

filter the chat type by telegram url with custom filters!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages