Skip to content

Update echo_bot.py #8

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kuznetsov-m
Copy link

The event does not have a event.from member for users who are registered via email.
Fix: Replace event.from to event.data['chat']['chatId']

Fix: Replace event.from to event.data['chat']['chatId']
@kuznetsov-m
Copy link
Author

@sergey-gladkow excuse me, could you help me to get approve for this pull request?

@Olegt0rr
Copy link

Olegt0rr commented Jun 7, 2020

The event does not have a event.from member for users who are registered via email.
Fix: Replace event.from to event.data['chat']['chatId']

If you wanna fix it - you should properly construct Event object instead of [deep][dict][calling]
Also you should add an issue with detailed description of the problem (including dataset for bug reproducing)

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