cra*_*ash 2 python telegram telethon
我知道我可以用这个
client.send_file(receiver, '/path/to/photo.jpg')
发送图像,但如何为图像附加标题?
Mat*_*owe 6
根据文档,只需使用关键字参数传递标题的值,如下所示client.send_file(chat, '/my/photos/me.jpg', caption="It's me!")。您可以在这里阅读文档
client.send_file(chat, '/my/photos/me.jpg', caption="It's me!")
归档时间:
5 年,3 月 前
查看次数:
3588 次
最近记录:
4 年,4 月 前