protect_content
Good afternoon! I want to use the protect_content=true parameter to send messages with text/picture How does it turn on?
Hello! Currently it's not supported
Thanks! If it's not a secret, when can we approximately expect the addition of this function?
On this week I hope :)
@galeoner can you check changes in master and then I'll tag a release?
Thanks! I’ll check it in current week.
Recheck again, after handled download from master) worked!!! Thank you!
I read the description for the sendPhoto procedure. Have they forgotten about it or are they deliberately underworking it? For there are no such fields there either.
What do yo mean? There is protect_content at https://core.telegram.org/bots/api#sendphoto and https://github.com/TelegramBot/Api/blob/master/src/BotApi.php#L1299
I was looking the wrong way. Thank you so much! Last question. Tell me where you can see how to send send Media Group images from a local disk from server. Unfortunately, it is impossible to use links in my case. But I don't understand the logic a little bit how to do it within this library.
Did you try method from README?
I tried of course) Only I saw how to send web links but not a local file. This is not in your description.
$document = new \CURLFile('document.txt');
$bot->sendDocument($chatId, $document);
document.txt - is a local file
I was talking about sendMediaGroup)