diff --git a/pom.xml b/pom.xml index 150483c..15d7c3e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.github.cmdotcom text-sdk-java - 1.1-SNAPSHOT + 1.2-SNAPSHOT diff --git a/src/main/java/com/cmtelecom/text/sdk/models/Channel.java b/src/main/java/com/cmtelecom/text/sdk/models/Channel.java index 09c68d1..0158b94 100644 --- a/src/main/java/com/cmtelecom/text/sdk/models/Channel.java +++ b/src/main/java/com/cmtelecom/text/sdk/models/Channel.java @@ -1,5 +1,7 @@ package com.cmtelecom.text.sdk.models; +import com.google.gson.annotations.SerializedName; + public enum Channel { /// /// Messages will be sent as SMS text messages @@ -77,5 +79,23 @@ public enum Channel { /// This channel is the successor of the "Push" channel. /// Contact CM for information on how to migrate your current Push integration /// - MobilePush + MobilePush, + + /// + /// Messages will be sent over Facebook Messenger. + /// + /// + /// Note that CM needs to configure this for you to work. + /// + @SerializedName("Facebook Messenger") + FacebookMessenger, + + /// + /// Messages will be sent over Google Business Messages. + /// + /// + /// Note that CM needs to configure this for you to work. + /// + @SerializedName("Google Business Messages") + GoogleBusinessMessages } \ No newline at end of file