UsersResource.Threads
module Format : sig ... end
val delete :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.t
Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead.
val get :
?base_url:string ->
?etag:string ->
?std_params:GapiService.StandardParameters.t ->
?format:Format.t ->
?metadataHeaders:string list ->
userId:string ->
id:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.Thread.t * GapiConversation.Session.t
Gets the specified thread.
val list :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?includeSpamTrash:bool ->
?maxResults:int ->
?labelIds:string list ->
?pageToken:string ->
?q:string ->
userId:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.ListThreadsResponse.t * GapiConversation.Session.t
Lists the threads in the user's mailbox.
val modify :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiGmailV1Model.ModifyThreadRequest.t ->
GapiConversation.Session.t ->
GapiGmailV1Model.Thread.t * GapiConversation.Session.t
Modifies the labels applied to the thread. This applies to all messages in the thread.
val trash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.Thread.t * GapiConversation.Session.t
Moves the specified thread to the trash.
val untrash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.Thread.t * GapiConversation.Session.t
Removes the specified thread from the trash.