[Python] The problem with the number of Inline buttons [closed]

Discussão em 'Python' iniciado por Stack, Setembro 24, 2024.

  1. Stack

    Stack Membro Participativo

    I am currently developing a Telegram bot that will function as follows: It can be added to group chats. Upon request, it will send messages with time slots for the whole week (each lasting one hour). In total, it turns out 7 * 16 = 112 slots. Ideally, it should be a single message in the form of a table, where days (7 pieces) will be indicated on the X axis, and time slots (16 pieces) on the Y axis. Each cell will represent one slot. However, there is one big problem: Telegram limits the number of buttons in one message to one hundred. I would like to know how to get around this limitation or change the form factor. I don't want to transfer the group members to a separate chat or send additional messages to the group. I tried to make it so that every day was on a "separate" page (the message with the buttons just changed), but the problem is that it (the message) changes for all users at the same time, and this is clearly not what I need.

    Continue reading...

Compartilhe esta Página