остается лишь прикрепить в attachments метода wall.postпри этом где у вас параметр
attachments
?<type><owner_id>_<media_id>
f'photo{owner_id}_result'
@bot.message_handler(text=TextFilter(equals='!start', ignore_case=True))
message.from_user.id-> message.chat.id
permissions_for
принимает в качестве аргумента объект класса Memberchannel.permissions_for(client.user)
сделать, либо попробовать сначала получить объект юзера через client.get_user(id_) и передать уже в функцию if event.type == VkEventType.MESSAGE_NEW and event.to_me:
bool(pr.append(float(row['Цена,руб.'])) == False
This is a short-circuit operator, so it only evaluates the second argument if the first one is true.
inline_message_id
, но не message
.If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present.