Removida a obrigatoriedade da descrição do rows para ser algo opcional.
Isso permite os "circulos" das opções ficarem mais alinhados com os titulos sem a necessidade de adicionar espaço em branco caso não queira adicionar a descrição.
{
"number": "559999999999 (Recipient number with Country Code)", "options": {
"delay": 1200,
"presence": "composing"
},
"listMessage": {
"title": "List Title",
"description": "List description",
"buttonText": "Click Here",
"footerText": "footer list\nhttps://examplelink.com.br", "sections": [
{
"title": "Row tilte 01",
"rows": [
{
"title": "Title row 01",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,", "rowId": "rowId 001"
},
{
"title": "Title row 02",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,", "rowId": "rowId 002"
}
]
}
}
Depois:
{
"number": "559999999999 (Recipient number with Country Code)", "options": {
"delay": 1200,
"presence": "composing"
},
"listMessage": {
"title": "List Title",
"description": "List description",
"buttonText": "Click Here",
"footerText": "footer list\nhttps://examplelink.com.br", "sections": [
{
"title": "Row tilte 01",
"rows": [
{
"title": "Title row 01",
// "description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,", //podendo remover por completo como foi feito no Title row 02 abaixo ou apenas comentar a descrição "rowId": "rowId 001"
},
{
"title": "Title row 02",
"rowId": "rowId 002"
}
]
}
}
No exemplo acima usando a description . Nota-se que o "○" row fica alinhado entre o titulo e a descrição e com a obrigatoriedade caso o usuario nao queira adicionar uma descrição e coloque um espaço em branco o layout da lista fica torto/quebrado
Ja no exemplo abaixo isso ja é possivel ser ajustado pois nao existe mais a obrigatoriedade
Removida a obrigatoriedade da descrição do rows para ser algo opcional.
Isso permite os "circulos" das opções ficarem mais alinhados com os titulos sem a necessidade de adicionar espaço em branco caso não queira adicionar a descrição.
{ "number": "559999999999 (Recipient number with Country Code)", "options": { "delay": 1200, "presence": "composing" }, "listMessage": { "title": "List Title", "description": "List description", "buttonText": "Click Here", "footerText": "footer list\nhttps://examplelink.com.br", "sections": [ { "title": "Row tilte 01", "rows": [ { "title": "Title row 01", "description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,", "rowId": "rowId 001" }, { "title": "Title row 02", "description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,", "rowId": "rowId 002" } ] } }
Depois:
{ "number": "559999999999 (Recipient number with Country Code)", "options": { "delay": 1200, "presence": "composing" }, "listMessage": { "title": "List Title", "description": "List description", "buttonText": "Click Here", "footerText": "footer list\nhttps://examplelink.com.br", "sections": [ { "title": "Row tilte 01", "rows": [ { "title": "Title row 01", // "description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,", //podendo remover por completo como foi feito no Title row 02 abaixo ou apenas comentar a descrição "rowId": "rowId 001" }, { "title": "Title row 02", "rowId": "rowId 002" } ] } }
No exemplo acima usando a description . Nota-se que o "○" row fica alinhado entre o titulo e a descrição e com a obrigatoriedade caso o usuario nao queira adicionar uma descrição e coloque um espaço em branco o layout da lista fica torto/quebrado
Ja no exemplo abaixo isso ja é possivel ser ajustado pois nao existe mais a obrigatoriedade