vysheng / tg

telegram-cli
GNU General Public License v2.0
6.5k stars 1.54k forks source link

How I get the string of msg.caption from msg.media via lua script???? #1631

Closed dapi115 closed 5 years ago

dapi115 commented 5 years ago

I get photo with caption via public group. I want extract the caption text to use it in lua script. I only get "nil" if I print msg.caption

Paulchen232 commented 5 years ago

Use msg.media.caption

dapi115 commented 5 years ago

Thanks