intermediator-bot-sample icon indicating copy to clipboard operation
intermediator-bot-sample copied to clipboard

Support emojis, files, and images

Open colbytimmsl opened this issue 6 years ago • 2 comments

After some testing I realised that you can't send emojis, images, or files to the receiving user. Would be great to see this added as a feature. Currently if a user sends any of the above mentioned features, the receiver will get a blank message.

colbytimmsl avatar Mar 18 '19 21:03 colbytimmsl

From the source code I can see that it supports only text messages. It requires changes in the MessageRouter class. And it is possible to override method RouteMessageIfSenderIsConnectedAsync

line 420

image

tbuha avatar Mar 25 '19 17:03 tbuha

@colbytimmsl I've created simple method extension to send image/file messages

https://github.com/tbuha/intermediator-bot-sample/commit/b43075a646044149dce55329339861912e860140

tbuha avatar Mar 26 '19 15:03 tbuha