Skip to content

This sample demonstrates how to receive a message from the Business Messages platform and echo the same message back to the user using the Business Messages Java SDK.

License

Notifications You must be signed in to change notification settings

Jakkapob8504/bm-java-echo-bot

 
 

Repository files navigation

BUSINESS MESSAGES: Echo Bot

This sample demonstrates how to use the Business Messages Java client library for performing operations with the Business Messages API.

This sample contains multiple example codebases. Each subfolder is a complete example bot and can be deployed to Google App Engine to support a Business Messages conversational experience.

This application assumes that you're signed up with Business Messages.

Documentation

The documentation for the Business Messages API can be found here.

Prerequisite

You must have the following software installed on your machine:

Before you begin

  1. Register with Business Messages.
  2. Once registered, follow the instructions to enable the APIs for your project.

Samples

Each sample has a README.md with instructions for running the sample.

Sample Description
step1_base Base code for supporting an echo bot on Business Messages.
step2_rich_features Extension of the base code that contains TODOs to create a rich messaging experience.
full_sample Complete solution for adding rich features.
message_validation_sample Demonstrates how to validate messages com from Google.

Learn more

To learn more about setting up Business Messages and supporting chat from Search and Maps, see the documentation.

About

This sample demonstrates how to receive a message from the Business Messages platform and echo the same message back to the user using the Business Messages Java SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%