this:
`bot('SendPhoto', [
'chat_id' => $from_id,
'photo' => new CURLFile("files/image.jpg"),
'caption' => 1
]);`
but how can I send photo from the output of imagick object (without save it and use its address to send )?
my photo is something like :
��,Xo�Ձ�����o�q`eBiY�Ob<�̌��@]! z��N�k���8���L� �$� �G��lOG� ��Z�IX� � �� <[r�L 7 a8�-�@vI!$�I%( ����kE��*S_d2m �����q����L�ޅ(ŏ��mK�
must I always save it before send?
Please format the code you posted, by wrapping it in triple backticks. -> `
Yes, you have to save the binary output into a file first.
Обсуждают сегодня