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

Cannot cast value of type NULL to type string in Inline mode #59

Closed
DyarWeb opened this issue Dec 14, 2022 · 3 comments
Closed

Cannot cast value of type NULL to type string in Inline mode #59

DyarWeb opened this issue Dec 14, 2022 · 3 comments
Labels
wontfix This will not be worked on

Comments

@DyarWeb
Copy link
Contributor

DyarWeb commented Dec 14, 2022

Hello, The library does not support Inline mode and I tested it with a simple bot and got
Cannot cast value of type NULL to type string error in log channel

@punyflash
Copy link
Member

Your description is unclear. Please follow a template to report a bug

@punyflash punyflash closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2022
@DyarWeb
Copy link
Contributor Author

DyarWeb commented Dec 15, 2022

The library does not support Inline mode and I tested it with a simple bot and got an error

  1. Turn on Inline mode in BotFather
  2. use Inline mode : @bot_username some_thing

Then you will receive the following error in log channel if you add it:
Laravel ERROR (local): Cannot cast value of type NULL to type string {"exception":"[object] (WeStacks\\TeleBot\\Exceptions\\TeleBotException(code: 0): Cannot cast value of type NULL to type string at /var/www/vendor/westacks/telebot/src/Helpers/Type.php:96)"} []

@DyarWeb DyarWeb changed the title Cannot cast value of type NULL to type string in inline_query Cannot cast value of type NULL to type string in Inline mode Dec 15, 2022
@punyflash punyflash added the wontfix This will not be worked on label Dec 15, 2022
@punyflash
Copy link
Member

Inline mode works well. Issue will not be worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants