8000 filterURL-GetAnyMessage by WizardLoop · Pull Request #4 · WizardLoop/filterURL-GetAnyMessage · GitHub
[go: up one dir, main page]

Skip to content

filterURL-GetAnyMessage #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

filterURL-GetAnyMessage #4

wants to merge 1 commit into from

Conversation

WizardLoop
Copy link
Owner

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)

all type of chats: channel/group/user/bot || public/private

( 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.

filterURL (filter type of chat by link)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0