drive

package
v1.0.99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package drive registers Drive-domain EventKeys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys() []event.KeyDefinition

Keys returns all Drive-domain EventKey definitions.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL