0
我似乎無法獲取用於添加要訂閱的日曆的顏色設置,並且用戶可以看到該顏色設置。我爲foregroundColor和backgroundColor設置了值,並將colorRgbFormat設置爲true,但無論我將顏色設置爲何種顏色,該顏色在用戶的顯示中始終呈藍色。Google CalendarList API顏色
calendarList = api.calendar_list.insert.request_schema.new({
'id' => <calendar id>,
'hidden' => false,
'selected' => true,
'colorRgbFormat' => true,
'backgroundColor' => '#ffff00,
'foregroundColor' => '#000000'
})
result = client.execute(
:api_method => api.calendar_list.insert,
:body_object => calendarList
)