Skip to content

django_telethon.callback.on_message not working #9

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
TheFern97941 opened this issue Jul 12, 2024 · 1 comment
Open

django_telethon.callback.on_message not working #9

TheFern97941 opened this issue Jul 12, 2024 · 1 comment

Comments

@TheFern97941
Copy link

截屏2024-07-12 21 12 12 截屏2024-07-12 21 14 03 截屏2024-07-12 21 14 11 截屏2024-07-12 21 13 28
@Visionario
Copy link

Put this inside ready function on apps.py after connect receivers

        from django_telethon import send_to_telegra_thread
        # Send a payload/message to the Telegram thread
        send_to_telegra_thread(some_key="some_value", another_key="another_value")

And run, it will work

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

No branches or pull requests

2 participants