Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message bird adapter not working #534

Open
KarlynG opened this issue Jun 16, 2023 · 0 comments
Open

Message bird adapter not working #534

KarlynG opened this issue Jun 16, 2023 · 0 comments

Comments

@KarlynG
Copy link

KarlynG commented Jun 16, 2023

Hi.
I'm trying to use the MessageBird Adapter Sample but I can't get it to send a reply back. I have a Whatsapp Channel configured in message bird and a Webhook also configured. The request to my webhook URL (to the adapter sample) return 200 but there is no reply back in the Whatsapp chat I'm testing with. I have correctly configured the MessageBirdAccessKey, MessageBirdSigningKey and MessageBirdWebhookEndpointUrl in the appsettings.json.

Just want to add that if I use the MessageBird Conversation Api I can send a message to the chat. The issue is when the code reachs the await turnContext.SendActivityAsync(reply); which is suppose to send a message, is not sending anything at all.

Any help?

Edit:
I added this piece of code to test if the application was working as expected with those values and it replies back with the "Test" message. Is there any reason why the default implementation is not working?

client.SendConversationMessage(turnContext.Activity.Conversation.Id, new ConversationMessageSendRequest()
                        {
                            ChannelId = turnContext.Activity.ChannelId,
                            ConversationId = turnContext.Activity.Conversation.Id,
                            Type = ContentType.Text,
                            Content = new Content() { Text = "Test" },
                        });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant