C# 클래스 PodioAPI.Services.StatusService

파일 보기 프로젝트 열기: podio/podio-dotnet

공개 메소드들

메소드 설명
AddNewStatusMessage ( int spaceId, string text, List fileIds = null, int embedId = null, string embedUrl = null, string questionText = null, List questionOptions = null ) : Task

Creates a new status message for a user on a specific space.

Podio API Reference: https://developers.podio.com/doc/status/add-new-status-message-22336

DeleteStatusMessage ( int statusId ) : Task

This is used to delete a status message

Podio API Reference: https://developers.podio.com/doc/status/delete-a-status-message-22339

GetStatusMessage ( int statusId ) : Task

Retrieves a status message by its id.

Podio API Reference: https://developers.podio.com/doc/status/get-status-message-22337

StatusService ( Podio currentInstance ) : System.Collections.Generic
UpdateStatusMessage ( int statusId, string text, List fileIds = null, int embedId = null, string embedUrl = null ) : Task

This will update an existing status message.

Podio API Reference: https://developers.podio.com/doc/status/update-a-status-message-22338

메소드 상세

AddNewStatusMessage() 공개 메소드

Creates a new status message for a user on a specific space.

Podio API Reference: https://developers.podio.com/doc/status/add-new-status-message-22336

public AddNewStatusMessage ( int spaceId, string text, List fileIds = null, int embedId = null, string embedUrl = null, string questionText = null, List questionOptions = null ) : Task
spaceId int
text string The actual status message
fileIds List Temporary files that have been uploaded and should be attached to this item
embedId int /// The id of an embedded link that has been created with the Add an mebed operation in the Embed /// area ///
embedUrl string The url to be attached
questionText string The text of the question if any
questionOptions List The list of answer options as strings
리턴 Task

DeleteStatusMessage() 공개 메소드

This is used to delete a status message

Podio API Reference: https://developers.podio.com/doc/status/delete-a-status-message-22339

public DeleteStatusMessage ( int statusId ) : Task
statusId int
리턴 Task

GetStatusMessage() 공개 메소드

Retrieves a status message by its id.

Podio API Reference: https://developers.podio.com/doc/status/get-status-message-22337

public GetStatusMessage ( int statusId ) : Task
statusId int
리턴 Task

StatusService() 공개 메소드

public StatusService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
리턴 System.Collections.Generic

UpdateStatusMessage() 공개 메소드

This will update an existing status message.

Podio API Reference: https://developers.podio.com/doc/status/update-a-status-message-22338

public UpdateStatusMessage ( int statusId, string text, List fileIds = null, int embedId = null, string embedUrl = null ) : Task
statusId int
text string The actual status message
fileIds List Temporary files that have been uploaded and should be attached to this item
embedId int /// The id of an embedded link that has been created with the Add an mebed operation in the Embed /// area ///
embedUrl string The url to be attached
리턴 Task