Skip to content
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

implements bot info method #22

Merged
merged 9 commits into from
Feb 27, 2022
Merged

implements bot info method #22

merged 9 commits into from
Feb 27, 2022

Conversation

fabio-ivona
Copy link
Member

Adds a botInfo method to Telegraph class

this will allow to retrieve a bot's data from telegraph APIs:

$bot->info()

/*
id: xxxxx
is_bot: true
first_name: telegraph-test
username: my_test_bot
can_join_groups: true
can_read_all_group_messages: false
supports_inline_queries: false
*/

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