본문으로 건너뛰기

IdeaService

Index

Constructors

constructor

Properties

publicreadonlyhttpRequest

httpRequest: BaseHttpRequest

Methods

publicideaCreate

publicideaInfo

  • Get an idea's information Bot-compatible Retrieves information about an idea.

    @throws

    ApiError


    Parameters

    • __namedParameters: { id: string }

    Returns CancelablePromise<{ data?: GetIdeaResponse }>

    any Successfully retrieved information about the idea.

publicideaList

  • List out ideas Bot-compatible Lists out a given number of ideas in a channel. This method uses the Swit API's pagination scheme.

    @throws

    ApiError


    Parameters

    • __namedParameters: { channelId: string; limit?: number; offset?: string }

    Returns CancelablePromise<{ data?: GetIdeaListResponse }>

    any Successfully retrieved the ideas.

publicideaReactionCreate

publicideaReactionRemove

  • Remove a reaction emoji from an idea Removes a reaction emoji from an idea.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully removed the reaction.

publicideaRemove

  • Delete an idea Bot-compatible Deletes an idea in a channel.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully deleted the idea.