We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Im trying to use CustomFilterCommand class, but when Im trying to create a new CUstomFilterCommand Object I get the following error
TypeError: CustomFilterCommand is not a constructor
I followed the instruction in the readme, is there any action Im missing?
const CustomFilterCommand = Telegram.CustomFilterCommand;
.when( new CustomFilterCommand($ => { var caption = $.caption; return caption.match(compareText); }, 'customCommand'), new CustomController() )
The text was updated successfully, but these errors were encountered:
i have same problem how can solve that ?
Sorry, something went wrong.
Same problem. :(
No branches or pull requests
Im trying to use CustomFilterCommand class, but when Im trying to create a new CUstomFilterCommand Object I get the following error
TypeError: CustomFilterCommand is not a constructor
I followed the instruction in the readme, is there any action Im missing?
const CustomFilterCommand = Telegram.CustomFilterCommand;
.when(
new CustomFilterCommand($ => { var caption = $.caption;
return caption.match(compareText);
}, 'customCommand'),
new CustomController()
)
The text was updated successfully, but these errors were encountered: