0

I'm creating a Teams bot to send proactive messages and I should save the ConversationReference on the database but my question is how?

Should I save the whole object or just some proprieties?

I'm using Postgres for the database and I'm build the bot in Java.

kylie.zoltan
  • 377
  • 3
  • 15

1 Answers1

2

You actually don't need the entire ConversationReference. There are a few ways to implement Proactive Messaging, and the most simple requires only a conversation Id and a Service Url. Please see this other answer I posted a few months ago, where I reference some sample code and a video from a talk I gave, which both go into more detail. The samples I link to there are in node and C#, so not Java directly, but you should be able to get a good start between those two.

Hilton Giesenow
  • 9,809
  • 2
  • 10
  • 24