From 68bc30c07ba0fb3f5ae4dc71ecee60fd1b858db9 Mon Sep 17 00:00:00 2001 From: Hussachai Puripunpinyo Date: Wed, 21 Dec 2022 10:14:38 -0800 Subject: [PATCH] remove unsupported field `Placeholder` from Datetimepicker --- block_element.go | 1 - 1 file changed, 1 deletion(-) diff --git a/block_element.go b/block_element.go index bee65879d..a70d8f2de 100644 --- a/block_element.go +++ b/block_element.go @@ -399,7 +399,6 @@ func NewTimePickerBlockElement(actionID string) *TimePickerBlockElement { type DateTimePickerBlockElement struct { Type MessageElementType `json:"type"` ActionID string `json:"action_id,omitempty"` - Placeholder *TextBlockObject `json:"placeholder,omitempty"` InitialDateTime int64 `json:"initial_date_time,omitempty"` Confirm *ConfirmationBlockObject `json:"confirm,omitempty"` }