Botframework-sdk: Custom Facebook and Telegram messages

Created on 3 May 2016  ·  14Comments  ·  Source: microsoft/botframework-sdk

The documentation http://docs.botframework.com/connector/custom-channeldata/ specifies how to send custom messages to Slack. How can I send custom messages to Facebook and Telegram?

Most helpful comment

@wiltodelta Custom messages now supported in Telegram. Documentation here: http://docs.botframework.com/connector/custom-channeldata/#custom-telegram-messages

All 14 comments

Is this on the C# side of things?

Yes

I updated the documentation for facebook last night. Telegram support is coming soon

@tomlm Thanks!

Also note I added “Attachments” section which talks about how to use attachments

From: Kuznetsov Victor [mailto:[email protected]]
Sent: Wednesday, May 4, 2016 10:36 AM
To: Microsoft/BotBuilder [email protected]
Cc: Tom Laird-McConnell Tom.[email protected]; Mention [email protected]
Subject: Re: [Microsoft/BotBuilder] Custom Facebook and Telegram messages (#216)

@tomlmhttps://github.com/tomlm Thanks!


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/216#issuecomment-216942281

@tomlm how to use rich card attachments?

http://docs.botframework.com/connector/message-actions/#navtitle
http://docs.botframework.com/connector/custom-channeldata/#navtitle

From: Kuznetsov Victor [mailto:[email protected]]
Sent: Wednesday, May 4, 2016 11:58 PM
To: Microsoft/BotBuilder [email protected]
Cc: Tom Laird-McConnell Tom.[email protected]; Mention [email protected]
Subject: Re: [Microsoft/BotBuilder] Custom Facebook and Telegram messages (#216)

@tomlmhttps://github.com/tomlm how to use rich card attachments?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/216#issuecomment-217089186

@tomlm I tried, but nothing received:

Message replyMessage = context.MakeMessage();

replyMessage.Attachments = new List<Attachment>
{
    new Attachment
    {
        Title = title,
        TitleLink = titleLink,
        Text = text,
        FallbackText = text,
        ThumbnailUrl = thumbnailUrl,
        Actions = new List<Action>
        {
            new Action
            {
                Title = "Details",
                Url = titleLink
            }
        }
     }
};

@wiltodelta Custom messages now supported in Telegram. Documentation here: http://docs.botframework.com/connector/custom-channeldata/#custom-telegram-messages

@eanders-MS Thanks!

@tomlm, @eanders-MS I would like to try rich card attachments, but it not work for me.

Can you share your attachment array?

Sent from my tumbs


From: Kuznetsov Victormailto:[email protected]
Sent: ‎5/‎7/‎2016 1:06 AM
To: Microsoft/BotBuildermailto:[email protected]
Cc: Tom Laird-McConnellmailto:[email protected]; Mentionmailto:[email protected]
Subject: Re: [Microsoft/BotBuilder] Custom Facebook and Telegram messages (#216)

@tomlmhttps://github.com/tomlm & @eanders-MShttps://github.com/eanders-MS: I would like to try rich card attachments, but it not work for me.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/216#issuecomment-217617613

I shared my code upper! ⬆️

I tried that it worked for me. I don't know what you are doing wrong

Was this page helpful?
0 / 5 - 0 ratings