Hello sakuma6
For 3 you can use actions. For example:
async payload => {
try {
const datetime = moment()
const text = new Text(`This is a reply text from your bot with datetime: ${datetime}.`)
const message = new Message(`This is a reply text from your bot as a fallback text.`)
message.addResponse(text)
return message
} catch(err) {
console.error(err)
}
}
Please note that the time is always relative to the user's timezone. You probably need to reformat it to the users’ timezone. You can use moment js for that ->
moment(date).tz('Europe/Amsterdam').format('LLLL')
Also, the user's timezone should also be available in his profile.