P
P
p1ugg2020-07-03 19:04:27
Python
p1ugg, 2020-07-03 19:04:27

How to send long messages with a bot in python?

I want to send a long message to the answer, I get this error vk_api.exceptions.ApiError: [914] Message is too long, can I fix it somehow?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Renat Ataev, 2020-07-03
@p1ugg

Send in parts then, otherwise nothing

G
Guerro69, 2020-07-03
@Guerro69

If such an error occurs, then you, at least somehow, will not be able to send the message in its entirety, because this error comes from the vk api itself, and here you can’t do anything.

S
Stockholm Syndrome, 2020-07-03
@StockholmSyndrome

divide messages into parts, the maximum message length for VK is 4096 characters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question