Skip to content

Instantly share code, notes, and snippets.

@rodrigorm
Created September 17, 2018 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigorm/3f7f7371b3c1bb34000ef2396dc967bb to your computer and use it in GitHub Desktop.
Save rodrigorm/3f7f7371b3c1bb34000ef2396dc967bb to your computer and use it in GitHub Desktop.
message = {
type: 'chat' | 'groupchat' | 'normal',
body: 'Olá'
};
messageForm = {
type: 'chat' | 'groupchat' | 'normal',
form: {
title: '',
instruction: '',
type: '',
fields: [
{
type: 'list-multi',
name: 'name',
desc: '',
required: false,
label: '',
value: '',
options: [
{
value: '',
label: '',
],
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment