has no attribute 'id'
are you trying to send view to a channel message, or just read the message
I just need to read it, I use this method because the BOT told me so in the chat
i know, i triggered the bot message. this is not going to send a view, rather read the unread messages in the chat, and you can't pass links await client.send_read_acknowledge(f't.me/username', 18) you can also do await (message|event).mark_read()
'int' object has no attribute 'id'
await client.send_read_acknowledge(f't.me/username', max_id=18)
Max id is the message id? I wanna just mark that message as read
you can't mark "that message", you mark all the messages older than and up until that messages aka that max_id
So how seen bots works
just pass it to max_id. it does what you want
https://t.me/TelethonChat/553357
Обсуждают сегодня