Eugene Razmanov
Eugene Razmanov

Reputation: 31

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");
}

Upvotes: 3

Views: 3097

Answers (1)

T Laird-McConnell
T Laird-McConnell

Reputation: 416

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.

Upvotes: 1

Related Questions