-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
PureCloud Jenkins
committed
Nov 17, 2020
1 parent
6399dd6
commit 5e89fee
Showing
34 changed files
with
454 additions
and
775 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package platformclientv2 | ||
import ( | ||
"encoding/json" | ||
) | ||
|
||
// Contentpostback - The postback object result of a user clicking in a button | ||
type Contentpostback struct { | ||
// Id - An ID assigned to the postback reply. Each object inside the content array has a unique ID. | ||
Id *string `json:"id,omitempty"` | ||
|
||
|
||
// Text - The text inside the button clicked (in the structured message template) | ||
Text *string `json:"text,omitempty"` | ||
|
||
|
||
// Payload - Content of the textback payload after clicking a quick reply | ||
Payload *string `json:"payload,omitempty"` | ||
|
||
} | ||
|
||
// String returns a JSON representation of the model | ||
func (o *Contentpostback) String() string { | ||
j, _ := json.Marshal(o) | ||
return string(j) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package platformclientv2 | ||
import ( | ||
"encoding/json" | ||
) | ||
|
||
// Contentreaction - User reaction to public message | ||
type Contentreaction struct { | ||
// ReactionType - Type of reaction | ||
ReactionType *string `json:"reactionType,omitempty"` | ||
|
||
|
||
// Count - Number of users that reacted this way to this public message | ||
Count *int32 `json:"count,omitempty"` | ||
|
||
} | ||
|
||
// String returns a JSON representation of the model | ||
func (o *Contentreaction) String() string { | ||
j, _ := json.Marshal(o) | ||
return string(j) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.