Class ComposeActionResponseBuilder

ComposeActionResponseBuilder

Trình tạo cho các đối tượng ComposeActionResponse.

Phương thức

Phương thứcKiểu dữ liệu trả vềMô tả ngắn
build()ComposeActionResponseTạo và xác thực phản hồi của thao tác soạn thư hiện tại.
setGmailDraft(draft)ComposeActionResponseBuilderĐặt bản nháp GmailMessage đã tạo bằng GmailMessage.createDraftReply(body) hoặc các hàm tương tự.

Tài liệu chi tiết

build()

Tạo và xác thực phản hồi của thao tác soạn thư hiện tại.

Cầu thủ trả bóng

ComposeActionResponse – Một ComposeActionResponse đã được xác thực.

Gửi

Error – nếu phản hồi thao tác tạo thành phần không hợp lệ.


setGmailDraft(draft)

Đặt bản nháp GmailMessage đã tạo bằng GmailMessage.createDraftReply(body) hoặc các hàm tương tự.

Thông số

TênLoạiMô tả
draftGmailDraftGmailDraft để sử dụng.

Cầu thủ trả bóng

ComposeActionResponseBuilder – Đối tượng này, để liên kết.