0

I would need a date/time picker in order for user to choose date or time in google hangout chat bots.I could not found any documentation on this function in google hangout api.

Example:

staff wants to apply a leave for few days. She/he can do it by just selecting date or time in calendar.

  • There is a datepicker for [Gmail Addons cards](https://developers.google.com/apps-script/reference/card-service/date-picker), while the options for Google Chat API are listed [here](https://developers.google.com/hangouts/chat/reference/message-formats/cards). – ziganotschka Aug 11 '20 at 10:29
  • I dont see Goolge Chat api enable datepicker beside the onClick.openLink which it will call external web page. Can u help explain which part of formatting enable datepicker? – Muhammad Aiman Azizan Aug 12 '20 at 03:01
  • What I meant is that currecntly there is only a datepicker for Gmail Add-ons, unfortunately so far there is none for Google Chat API. – ziganotschka Aug 12 '20 at 07:42
  • ok got it thank you – Muhammad Aiman Azizan Aug 12 '20 at 08:51

1 Answers1

0

It's not currently supported, no. https://developers.google.com/chat/api/reference/rest/v1/cards#datetimepicker

The widget that lets users to specify a date and time. Not supported by Google Chat apps.

jduncan
  • 677
  • 2
  • 12
  • 22