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

[feat] Model-less mode #294

Merged
merged 5 commits into from
Dec 21, 2022
Merged

[feat] Model-less mode #294

merged 5 commits into from
Dec 21, 2022

Conversation

fabio-ivona
Copy link
Member

@fabio-ivona fabio-ivona commented Dec 14, 2022

this PR will enable the usage of telegraph without the need to create a TelegraphBot/TelegraphChat model, useful for simple projects

the bot/chat pair can both be set for each call:

Telegraph::bot('TOKEN')->chat('ID')->message('hello')->send()

and in configuration with telegraph.bot_token and telegraph.chat_id

ref #290

@fabio-ivona fabio-ivona merged commit 65d7c40 into main Dec 21, 2022
@fabio-ivona fabio-ivona deleted the feat-bypass-telegraph-models branch March 1, 2023 11:02
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.

2 participants