Interface IPostArgs

Options specifying the data that is to be posted.

interface IPostArgs {
    audioOnly?: boolean;
    calendarProvider?: CalendarProvider;
    call?: INewCall;
    callCustomization?: ICallCustomization;
    callOccurrence?: ICallOccurrenceOptions;
    callUpdates?: ICallUpdates;
    changePassword?: IChangePasswordArgs;
    conversationId?: string;
    id?: string;
    list?: INewList;
    listUpdates?: IListUpdates;
    mediaMetadata?: IMediaMetadataArgs;
    profileBanner?: string;
    profileImage?: string;
    profileOptions?: IProfileUpdateOptions;
    reminder?: number;
    rsvp?: CallRsvpStatus;
    tweet?: INewTweet;
    upload?: IUploadArgs;
    userId?: string;
    username?: string;
}

Implemented by

Properties

audioOnly?: boolean

Whether the call to create is audio-only.

Used only when creating a call using ResourceType.CALL_CREATE.

calendarProvider?: CalendarProvider

The external calendar provider.

Required only when unlinking a calendar using ResourceType.CALL_CALENDAR_UNLINK.

call?: INewCall

The call that is to be scheduled.

Required only when scheduling a call using ResourceType.CALL_SCHEDULE.

callCustomization?: ICallCustomization

The customization (color, visibility) to apply to a scheduled call.

Required only when customizing a scheduled call using ResourceType.CALL_CUSTOMIZE.

callOccurrence?: ICallOccurrenceOptions

The occurrence(s) of the scheduled call to act on.

callUpdates?: ICallUpdates

The updates to apply to a scheduled call.

Required only when updating a scheduled call using ResourceType.CALL_UPDATE.

changePassword?: IChangePasswordArgs

Password change arguments.

Required only when changing password using ResourceType.USER_PASSWORD_CHANGE.

conversationId?: string

The id of the conversation to delete.

Required only when deleting a conversation using ResourceType.DM_DELETE_CONVERSATION

id?: string

The id of the target resource.

list?: INewList

The list that is to be created.

Required only when creating a list using the following resources:

listUpdates?: IListUpdates

The updates to apply to an existing list.

Required only when updating a list using ResourceType.LIST_UPDATE.

mediaMetadata?: IMediaMetadataArgs

The metadata to set for an already uploaded media item.

Required only when setting media metadata using ResourceType.MEDIA_METADATA_CREATE.

profileBanner?: string

Base64-encoded profile banner data.

Required only when updating profile banner using ResourceType.USER_PROFILE_BANNER_UPDATE.

profileImage?: string

Base64-encoded profile image data.

Required only when updating profile image using ResourceType.USER_PROFILE_IMAGE_UPDATE.

profileOptions?: IProfileUpdateOptions

Profile update options.

Required only when updating user profile using ResourceType.USER_PROFILE_UPDATE

reminder?: number

The number of minutes before a scheduled call at which to be reminded of it (0 to 10080).

Required only when setting a reminder using ResourceType.CALL_REMINDER.

The RSVP status to respond to a scheduled call invitation with.

Required only when responding to an invitation using ResourceType.CALL_RSVP.

tweet?: INewTweet

The tweet that is to be posted.

Required only when posting a tweet using ResourceType.TWEET_POST

upload?: IUploadArgs

The media file to be uploaded.

Required only when uploading a media using the following resources:

userId?: string

The id of the target user.

Required only for the following resources:

username?: string

The new username to set.

Required only when changing username using ResourceType.USER_USERNAME_CHANGE.