Code review comment for lp:~d.filoni/telegram-app/audio_receiving

Revision history for this message
Jin (jindallo) wrote :

Hello @Devid,

Thanks for the information,
actually the typeMessageActionChatSentImage is mapping to messageActionEmpty on our library,
well, that's not good since we only support image showing before,
but now we have sticker and your audio!

So let's have a look on this way:
    a) add a boolean isStick by telegram.documentIsSticker() function to check if it is a sticker
    b) add a boolean isAudioMessage by file_handler.targetType to check if it is a image
then we have a way to do that as you want! Take a try,
any problems you can post here and I will help you to get it done :)

« Back to merge proposal