Contribute to Open Source. Search issue labels to find the right project for you!

Send new ticket via Telegram and Trigger notification via Telegram

zammad/zammad

<!– Hi there - thanks for filling an issue. Please ensure the following things before creating an issue - thank you! 🤓

  • Search existing issues and the CHANGELOG.md for your issue - there might be a solution already
  • Make sure to use the latest version of Zammad if possible
  • Add the log/production.log file from your system. Attention: Make sure no confidential data is in it!
  • Please write the issue in english

  • The upper textblock will be removed automatically when you submit your issue * –>

Infos:

  • Used Zammad version: 1.5.x
  • Used Zammad installation source: package
  • Operating system: Debian Jessie
  • Browser + version: Firefox 55.0.2

Expected behavior:

Send new ticket via Telegram and send Trigger notification via Telegram *

Actual behavior:

I can not find an option to send new tickets via Telegram. Also, I can not find an option to send trigger notifications via telegram. *

Steps to reproduce the behavior:

Create new ticket and change Trigger notification *

Updated 25/08/2017 06:40 1 Comments

[Question] Telegram: answerInlineQuery & answerCallbackQuery are not working properly

Microsoft/BotBuilder

<!– Have a question?

Ask on http://stackoverflow.com/questions/tagged/botframework using the tag "botframework".

–>

System Information

  • SDK Language: Node.js
  • SDK Version: 3.9.0 & 3.4.4
  • Development Environment: localhost, ngrok (2.2.8), visual studio code (1.14.2)

Bot Info <!– As registered in the Bot Developer Portal at https://dev.botframework.com –>

  • Connected channels: Telegram

Issue Description

<!– Describe your issue, question, or feature request –> Regarding the utilization of Telegram-specific actions through channelData. if I received Telegram update with InlineQuery and then I answered by answerInlineQuery OR even I received Telegram update with CallbackQuery and then I answered by answerCallbackQuery, this error occurred [500] Internal Server Error. While other methods like sendMessage is working properly.

Code Example

<!– Share your bot code that causes the problem. A complete working example is best. –> BotFramework-Telegram-InlineQuery

Actual Results

<!– What actually happened. Please give examples and support it with screenshots, copied output or error messages. –>

the incoming update from telegram contained InlineQuery:- { "update_id": 875506648, "inline_query": { "id": "27876010608893950", "from": { "id": 6490389, "first_name": "Ahmed", "last_name": "Almalki", "username": "ahmedsmalki", "language_code": "en-SA" }, "query": "", "offset": "" } } this error occurred after sending a message with channelData either answerInlineQuery or answerCallbackQuery:- Error: Request to 'https: //telegram.botframework.com/v3/conversations/6490389/activities/27876010608893950' failed: [500] Internal Server Error at Request._callback (/Users/ABC/projects/BotFramework-Telegram-InlineQuery/node_modules/botbuilder/lib/bots/ChatConnector.js:523:46) at Request.self.callback (/Users/ABC/projects/BotFramework-Telegram-InlineQuery/node_modules/request/request.js:188:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (/Users/ABC/projects/BotFramework-Telegram-InlineQuery/node_modules/request/request.js:1171:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage.<anonymous> (/Users/ABC/projects/BotFramework-Telegram-InlineQuery/node_modules/request/request.js:1091:12) at IncomingMessage.g (events.js:292:16) at emitNone (events.js:91:20)

Updated 01/10/2017 21:18 2 Comments

[Telegram] Is Mention Entity supported for Telegram?

Microsoft/BotBuilder

System Information (Required)

  • SDK language C#
  • SDK version 3.8
  • Development environment - Azure Bot Service

    Issue Description

    I am trying to add mention entity to my reply activities as described in this article. When I send the reply constructed with the code below I get no actual reply from the bot in the channel.

Example Code

var reply = activity.CreateReply();
var replyText = "test";

var entity = new Entity();
entity.SetAs(new Mention
{
    Text = replyText,
    Mentioned = new ChannelAccount
    {
        Name = activity.From?.Name,
        Id = activity.From?.Id
    }
});

reply.Entities.Add(entity);

await Connector.Conversations.ReplyToActivityAsync(reply);

Expected Behavior

This is how replies look like in Telegram when you do it as a user from UI: http://imgur.com/pzYvV2C

Updated 05/10/2017 20:07 5 Comments

Fork me on GitHub