Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to send the location from Telegram to Bot?

Is it possible to send the location from Telegram to Bot, which made in Bot Framework?

I send my location from my Telegram account to my Bot, but the server does not get them (I don't get the response).

Text messages send normal, and I get response from the server.

Code is very simple:

public async Task<Message> Post([FromBody]Message message)
{
    return message.CreateReplyMessage("Tadaa");
}
like image 741
Eugene Razmanov Avatar asked Dec 19 '25 12:12

Eugene Razmanov


1 Answers

Dang it, this is a bug. We are filtering out messages without content and we are not treating the location property as "content". To us it looks like no text, no attachments, no channeldata and so no reason to send the message. I will push through a fix.

like image 191
T Laird-McConnell Avatar answered Dec 21 '25 06:12

T Laird-McConnell



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!