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

business_opening_hours is not shown in chat information. #1490

Open
2 tasks done
proDreams opened this issue May 12, 2024 · 0 comments
Open
2 tasks done

business_opening_hours is not shown in chat information. #1490

proDreams opened this issue May 12, 2024 · 0 comments
Labels
bug Something is wrong with the framework

Comments

@proDreams
Copy link

Checklist

  • I am sure the error is coming from aiogram code
  • I have searched in the issue tracker for similar bug reports, including closed ones

Operating system

Debian 12

Python version

3.12

aiogram version

3.6.0

Expected behavior

I expect to receive information about opening hours in the information about the current chat.

Current behavior

business_opening_hours=None

Steps to reproduce

  1. Connect the bot to business mode
  2. Write a message
  3. Check the logs

Code example

async def handle_business_message(message: Message):
    print(await bot(GetChat(chat_id=message.chat.id)))
    # or
    print(message.chat)

Logs

No response

Additional information

If you make a request directly to Telegram https://api.telegram.org/BOT_TOKEN/getChat?chat_id=CHAT_ID, then the necessary information is in the answer.

@proDreams proDreams added the bug Something is wrong with the framework label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong with the framework
Projects
None yet
Development

No branches or pull requests

1 participant