function textMessagePayload (args: {
fromUserName : string,
toUserName : string,
content : string,
}): string {
const xml = [
'',
'',
'' + new Date().getTime() + '',
'',
'',
].join('')
return xml
}
function imageMessagePayload (args: {
toUserName : string,
fromUserName : string,
mediaId : string,
}): string {
const xml = [
'',
'',
'' + new Date().getTime() + '',
'',
'',
].join('')
return xml
}
export {
textMessagePayload,
imageMessagePayload,
}