Documentation
¶
Overview ¶
Package drive registers Drive-domain EventKeys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommentAddOutput ¶
type CommentAddOutput struct {
Type string `json:"type" desc:"Event type; always drive.notice.comment_add_v1"`
EventID string `json:"event_id,omitempty" desc:"Globally unique event ID; safe for deduplication"`
Timestamp string `` /* 169-byte string literal not displayed */
AppID string `json:"app_id,omitempty" desc:"Application ID from the event header"`
TenantKey string `json:"tenant_key,omitempty" desc:"Tenant key from the event header"`
FileToken string `json:"file_token" desc:"Token of the commented document; pass it with file_type to the drive comment APIs"`
FileType string `json:"file_type,omitempty" desc:"Type of the commented document, for example docx, doc, sheet, or file"`
CommentID string `json:"comment_id" desc:"Comment ID; for a reply this is the parent comment"`
ReplyID string `` /* 150-byte string literal not displayed */
NoticeType string `` /* 175-byte string literal not displayed */
IsMentioned bool `json:"is_mentioned" desc:"Whether the notice receiver (to_*) was @mentioned in the comment or reply"`
Visibility string `json:"visibility,omitempty" desc:"Comment visibility reported by the server"`
FromOpenID string `` /* 161-byte string literal not displayed */
FromUnionID string `` /* 162-byte string literal not displayed */
FromUserID string `` /* 161-byte string literal not displayed */
FromUserType string `json:"from_user_type,omitempty" desc:"Comment author type, for example user or bot"`
ToOpenID string `` /* 160-byte string literal not displayed */
ToUnionID string `` /* 162-byte string literal not displayed */
ToUserID string `` /* 161-byte string literal not displayed */
}
CommentAddOutput is the flattened shape for drive.notice.comment_add_v1.
Click to show internal directories.
Click to hide internal directories.