export interface FavoritesListParams { /** * The ID of the user for whom to return results. */ 'user_id'?: string | number; /** * The screen name of the user for whom to return results. */ 'screen_name'?: string; /** * Specifies the number of records to retrieve. Must be less than or equal to 200; defaults to 20. The value of count is best thought of as a limit to the number of Tweets to return because suspended or deleted content is removed after the count has been applied. */ 'count'?: string | number; /** * Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. */ 'since_id'?: string | number; /** * Returns results with an ID less than (that is, older than) or equal to the specified ID. */ 'max_id'?: string | number; /** * The entities node will be omitted when set to false . */ 'include_entities'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface StatusesLookupParams { /** * A comma separated list of Tweet IDs, up to 100 are allowed in a single request. */ 'id': string; /** * The entities node that may appear within embedded statuses will not be included when set to false. */ 'include_entities'?: boolean; /** * When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object. */ 'trim_user'?: boolean; /** * When using the map parameter, Tweets that do not exist or cannot be viewed by the current user will still have their key represented but with an explicitly null value paired with it */ 'map'?: boolean; /** * If alt text has been added to any attached media entities, this parameter will return an ext_alt_text value in the top-level key for the media entity. If no value has been set, this will be returned as null */ 'include_ext_alt_text'?: boolean; /** * When set to either true , t or 1 , each Tweet returned will include a card_uri attribute when there is an ads card attached to the Tweet and when that card was attached using the card_uri value. */ 'include_card_uri'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface StatusesRetweetersIdsParams { /** * The numerical ID of the desired status. */ 'id': string | number; /** * Specifies the number of records to retrieve. Must be less than or equal to 100. */ 'count'?: string | number; /** * Causes the list of IDs to be broken into pages of no more than 100 IDs at a time. The number of IDs returned is not guaranteed to be 100 as suspended users are filtered out after connections are queried. If no cursor is provided, a value of -1 will be assumed, which is the first "page." The response from the API will include a previous_cursor and next_cursor to allow paging back and forth. See our cursor docs for more information. While this method supports the cursor parameter, the entire result set can be returned in a single cursored collection. Using the count parameter with this method will not provide segmented cursors for use with this parameter. */ 'cursor'?: string | number; /** * Many programming environments will not consume Tweet ids due to their size. Provide this option to have ids returned as strings instead. */ 'stringify_ids'?: boolean; } export interface StatusesRetweetsByIdParams { /** * The numerical ID of the desired status. */ 'id': string | number; /** * Specifies the number of records to retrieve. Must be less than or equal to 100. */ 'count'?: string | number; /** * When set to either true, t or 1 , each tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object. */ 'trim_user'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface StatusesRetweetsOfMeParams { /** * Specifies the number of records to retrieve. Must be less than or equal to 100. If omitted, 20 will be assumed. */ 'count'?: string | number; /** * Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. */ 'since_id'?: string | number; /** * Returns results with an ID less than (that is, older than) or equal to the specified ID. */ 'max_id'?: string | number; /** * When set to either true , t or 1 , each tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object. */ 'trim_user'?: boolean; /** * The tweet entities node will not be included when set to false . */ 'include_entities'?: boolean; /** * The user entities node will not be included when set to false. */ 'include_user_entities'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface StatusesShowParams { /** * The numerical ID of the desired Tweet. */ 'id': string | number; /** * When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object. */ 'trim_user'?: boolean; /** * When set to either true , t or 1 , any Tweets returned that have been retweeted by the authenticating user will include an additional current_user_retweet node, containing the ID of the source status for the retweet. */ 'include_my_retweet'?: boolean; /** * The entities node will not be included when set to false. */ 'include_entities'?: boolean; /** * If alt text has been added to any attached media entities, this parameter will return an ext_alt_text value in the top-level key for the media entity. If no value has been set, this will be returned as null */ 'include_ext_alt_text'?: boolean; /** * When set to either true , t or 1 , the retrieved Tweet will include a card_uri attribute when there is an ads card attached to the Tweet and when that card was attached using the card_uri value. */ 'include_card_uri'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface FavoritesCreateParams { /** * The numerical ID of the Tweet to like. */ 'id': string | number; /** * The entities node will be omitted when set to false . */ 'include_entities'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface FavoritesDestroyParams { /** * The numerical ID of the Tweet to un-like */ 'id': string | number; /** * The entities node will be omitted when set to false . */ 'include_entities'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface StatusesDestroyByIdParams { /** * The numerical ID of the desired status. */ 'id': string | number; /** * When set to either true, t or 1, each tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object. */ 'trim_user'?: boolean; /** * This parameter enables developers to request a series of different extended fields introduced in the years since statuses/show and statuses/lookup were introduced. It has been replaced with the fields and expansions functionality. */ 'tweet_mode'?: string; } export interface StatusesOembedParams { /** * The URL of the Tweet to be embedded. */ 'url': string; /** * The maximum width of a rendered Tweet in whole pixels. A supplied value under or over the allowed range will be returned as the minimum or maximum supported width respectively; the reset width value will be reflected in the returned width property. Note that Twitter does not support the oEmbed maxheight parameter. Tweets are fundamentally text, and are therefore of unpreditable height that cannot be scaled like an image or video. Relatedly, the oEmbed response will not provide a value for height. Implementations that need consistent heights for Tweets should refer to the hide_thread and hide_media parameters below. */ 'maxwidth'?: string | number; /** * When set to true, "t", or 1 links in a Tweet are not expanded to photo, video, or link previews. */ 'hide_media'?: boolean; /** * When set to true, "t", or 1 a collapsed version of the previous Tweet in a conversation thread will not be displayed when the requested Tweet is in reply to another Tweet. */ 'hide_thread'?: boolean; /** * When set to true, "t", or 1 the