Attachments class
첨부 파일을 나타내는 클래스입니다.
생성자
| Attachments(Connector |
첨부 파일을 만듭니다. |
메서드
생성자 세부 정보
Attachments(ConnectorClientContext)
첨부 파일을 만듭니다.
new Attachments(client: ConnectorClientContext)
매개 변수
- client
- ConnectorClientContext
서비스 클라이언트에 대한 참조입니다.
메서드 세부 정보
getAttachment(string, string, RequestOptionsBase)
명명된 뷰를 이진 콘텐츠로 가져오기
function getAttachment(attachmentId: string, viewId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentResponse>
매개 변수
- attachmentId
-
string
첨부 파일 ID
- viewId
-
string
attachmentInfo에서 ID 보기
- options
-
RequestOptionsBase
반환
Promise<Models.AttachmentsGetAttachmentResponse>
Promise<Models.AttachmentsGetAttachmentResponse>
getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)
function getAttachment(attachmentId: string, viewId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
매개 변수
- attachmentId
-
string
첨부 파일 ID
- viewId
-
string
attachmentInfo에서 ID 보기
- options
-
RequestOptionsBase
선택적 매개 변수
- callback
-
ServiceCallback<void>
콜백
getAttachment(string, string, ServiceCallback<void>)
function getAttachment(attachmentId: string, viewId: string, callback: ServiceCallback<void>)
매개 변수
- attachmentId
-
string
첨부 파일 ID
- viewId
-
string
attachmentInfo에서 ID 보기
- callback
-
ServiceCallback<void>
콜백
getAttachmentInfo(string, RequestOptionsBase)
첨부 파일 뷰를 설명하는 AttachmentInfo 구조 가져오기
function getAttachmentInfo(attachmentId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentInfoResponse>
매개 변수
- attachmentId
-
string
첨부 파일 ID
- options
-
RequestOptionsBase
반환
Promise<Models.AttachmentsGetAttachmentInfoResponse>
Promise<Models.AttachmentsGetAttachmentInfoResponse>
getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)
function getAttachmentInfo(attachmentId: string, options: RequestOptionsBase, callback: ServiceCallback<AttachmentInfo>)
매개 변수
- attachmentId
-
string
첨부 파일 ID
- options
-
RequestOptionsBase
선택적 매개 변수
- callback
-
ServiceCallback<AttachmentInfo>
콜백
getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)
function getAttachmentInfo(attachmentId: string, callback: ServiceCallback<AttachmentInfo>)
매개 변수
- attachmentId
-
string
첨부 파일 ID
- callback
-
ServiceCallback<AttachmentInfo>
콜백