File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ export class IterableEmbeddedMessageDefaultAction {
4646 * An interface defining the dictionary object containing the properties for the embedded message default action.
4747 */
4848export interface EmbeddedMessageDefaultActionDict {
49+ /** The type of the action */
4950 type : string ;
51+ /** The url for the action when the type is `openUrl` */
5052 data ?: string ;
5153}
Original file line number Diff line number Diff line change @@ -91,11 +91,18 @@ export class IterableEmbeddedMessageElements {
9191 * An interface defining the dictionary object containing the properties for the embedded message elements.
9292 */
9393export interface EmbeddedMessageElementsDict {
94+ /** The title of the embedded message */
9495 title ?: string ;
96+ /** The body of the embedded message */
9597 body ?: string ;
98+ /** The url of the embedded message image */
9699 mediaUrl ?: string ;
100+ /** The caption of the embedded message image */
97101 mediaUrlCaption ?: string ;
102+ /** The default action of the embedded message */
98103 defaultAction ?: IterableEmbeddedMessageDefaultAction ;
104+ /** The buttons of the embedded message */
99105 buttons ?: IterableEmbeddedMessageElementsButton [ ] ;
106+ /** The text elements of the embedded message */
100107 text ?: IterableEmbeddedMessageText [ ] ;
101108}
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ export class IterableEmbeddedMessageText {
4242 * An interface defining the dictionary object containing the properties for an embedded message text.
4343 */
4444export interface EmbeddedMessageTextDict {
45+ /** The id of the text element */
4546 id : string ;
47+ /** The text of the text element */
4648 text ?: string ;
49+ /** The type of the text element */
4750 type ?: string ;
4851}
You can’t perform that action at this time.
0 commit comments