Variable messageSchemaConst
messageSchema: Struct<
{
autoTypeDetect: optional<typeof Boolean$>;
country: optional<typeof String$>;
customFields: optional<Record$<typeof String$, typeof String$>>;
faxOptions: optional<Struct<{ fileIds: Array$<typeof String$> }>>;
from: optional<typeof String$>;
imageId: optional<typeof String$>;
kakaoOptions: optional<
Struct<
{
adFlag: optional<typeof Boolean$>;
bms: optional<Struct<{ targeting: Literal<["I", "M", "N"]> }>>;
buttons: optional<
Array$<
Union<
[
Struct<
{ buttonName: ...; buttonType: ...; linkMo: ...; linkPc: ... },
>,
Struct<
{
buttonName: ...;
buttonType: ...;
linkAnd: ...;
linkIos: ...;
},
>,
Struct<{ buttonName: ...; buttonType: ... }>,
],
>,
>,
>;
disableSms: optional<typeof Boolean$>;
imageId: optional<typeof String$>;
pfId: typeof String$;
templateId: optional<typeof String$>;
variables: optional<
transform<
Record$<typeof String$, typeof String$>,
Record$<typeof String$, typeof String$>,
>,
>;
},
>,
>;
naverOptions: optional<
Struct<
{
buttons: optional<
Array$<
Struct<
{
buttonName: typeof String$;
buttonType: typeof String$;
linkAnd: optional<typeof String$>;
linkIos: optional<typeof String$>;
linkMo: optional<typeof String$>;
linkPc: optional<typeof String$>;
},
>,
>,
>;
disableSms: optional<typeof Boolean$>;
talkId: typeof String$;
templateId: typeof String$;
variables: optional<Record$<typeof String$, typeof String$>>;
},
>,
>;
rcsOptions: optional<
Struct<
{
additionalBody: optional<
Struct<
{
buttons: optional<Array$<Union<(...)>>>;
description: typeof String$;
imaggeId: optional<typeof String$>;
title: typeof String$;
},
>,
>;
brandId: typeof String$;
buttons: optional<
Array$<
Union<
[
Struct<{ buttonName: ...; buttonType: ...; link: ... }>,
Struct<
{
buttonName: ...;
buttonType: ...;
latitude: ...;
longitude: ...;
},
>,
Struct<{ buttonName: ...; buttonType: ...; link: ... }>,
],
>,
>,
>;
commercialType: optional<typeof Boolean$>;
copyAllowed: optional<typeof Boolean$>;
disableSms: optional<typeof Boolean$>;
mmsType: optional<
Literal<["M3", "S3", "M4", "S4", "M5", "S5", "M6", "S6"]>,
>;
templateId: optional<typeof String$>;
variables: optional<Record$<typeof String$, typeof String$>>;
},
>,
>;
replacements: optional<Array$<Struct<{}>>>;
subject: optional<typeof String$>;
text: optional<typeof String$>;
to: Union<[typeof String$, Array$<typeof String$>]>;
type: optional<
Literal<
[
"SMS",
"LMS",
"MMS",
"ATA",
"CTA",
"CTI",
"NSA",
"RCS_SMS",
"RCS_LMS",
"RCS_MMS",
"RCS_TPL",
"RCS_ITPL",
"RCS_LTPL",
"FAX",
"VOICE",
"BMS_TEXT",
"BMS_IMAGE",
"BMS_WIDE",
"BMS_WIDE_ITEM_LIST",
"BMS_CAROUSEL_FEED",
],
>,
>;
voiceOptions: optional<
Struct<
{
counselorNumber: optional<typeof String$>;
headerMessage: optional<typeof String$>;
replyRange: optional<Literal<[1, 2, 3, 4, 5, 6, 7, 8, 9]>>;
tailMessage: optional<typeof String$>;
voiceType: Literal<["FEMALE", "MALE"]>;
},
>,
>;
},
> = ...