Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Better way to send messages? #33

@davispuh

Description

@davispuh

Currently to send messages to Skype or Telegram we have to manually create a Conversation, but it would be nicer if there was some higher level API.

this is example of our current code

SkypeService = 'https://smba.trafficmanager.net/apis/'
TelegramService = 'https://telegram.botframework.com'

to = BotFramework::ChannelAccount.new
to.id = SKYPE_TARGET_GROUP_ID
activity = BotFramework::Activity.new(type: 'message', locale: 'en', text: msg, from: OUR_ACCOUNT, recipient: to)
conv = BotFramework::Conversation.new(SkypeService)
conv.send(to.id, activity)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions