Returns the share token for a thread.
func (
r *ThreadShareService) Get(ctx context.Context,
threadID string,
query ThreadShareGetParams,
opts ...option.RequestOption) (res| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
threadID* | string | |
query* | ThreadShareGetParams | |
opts* | ...option.RequestOption |
Returns the share token for a thread. The token is omitted when the thread is not shared. Gated on runs:share so the control's state matches the control's permission.