CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | List of all members
CoreTweet.AccountActivity.AccountActivityPremiumApi Class Reference

Provides a set of methods for Premium Account Activity API. More...

Inheritance diagram for CoreTweet.AccountActivity.AccountActivityPremiumApi:
CoreTweet.Core.ApiProviderBase

Public Member Functions

AccountActivityEnvironment Env (string env_name)
 
Environments Webhooks (params Expression< Func< string, object >>[] parameters)
 
Environments Webhooks (IDictionary< string, object > parameters)
 
Environments Webhooks (object parameters)
 
Environments Webhooks ()
 
Task< EnvironmentsWebhooksAsync (params Expression< Func< string, object >>[] parameters)
 
Task< EnvironmentsWebhooksAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< EnvironmentsWebhooksAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< EnvironmentsWebhooksAsync (CancellationToken cancellationToken=default(CancellationToken))
 
SubscriptionsCount SubscriptionsCount (params Expression< Func< string, object >>[] parameters)
 
SubscriptionsCount SubscriptionsCount (IDictionary< string, object > parameters)
 
SubscriptionsCount SubscriptionsCount (object parameters)
 
SubscriptionsCount SubscriptionsCount ()
 
Task< SubscriptionsCountSubscriptionsCountAsync (params Expression< Func< string, object >>[] parameters)
 
Task< SubscriptionsCountSubscriptionsCountAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SubscriptionsCountSubscriptionsCountAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SubscriptionsCountSubscriptionsCountAsync (CancellationToken cancellationToken=default(CancellationToken))
 

Additional Inherited Members

- Public Attributes inherited from CoreTweet.Core.ApiProviderBase
TokensBase IncludedTokens => this.Tokens
 Gets the tokens being used in this instance. More...
 
- Properties inherited from CoreTweet.Core.ApiProviderBase
TokensBase Tokens [get, set]
 Gets or sets the OAuth tokens. More...
 

Detailed Description

Provides a set of methods for Premium Account Activity API.

Member Function Documentation

◆ Env()

AccountActivityEnvironment CoreTweet.AccountActivity.AccountActivityPremiumApi.Env ( string  env_name)

◆ SubscriptionsCount() [1/4]

SubscriptionsCount CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCount ( )
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Returns
The count of subscriptions.

◆ SubscriptionsCount() [2/4]

SubscriptionsCount CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCount ( IDictionary< string, object >  parameters)
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The count of subscriptions.

◆ SubscriptionsCount() [3/4]

SubscriptionsCount CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCount ( object  parameters)
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The count of subscriptions.

◆ SubscriptionsCount() [4/4]

SubscriptionsCount CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCount ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The count of subscriptions.

◆ SubscriptionsCountAsync() [1/4]

Task<SubscriptionsCount> CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCountAsync ( CancellationToken  cancellationToken = default(CancellationToken))
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Parameters
cancellationTokenThe cancellation token.
Returns
The count of subscriptions.

◆ SubscriptionsCountAsync() [2/4]

Task<SubscriptionsCount> CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCountAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Available parameters: Nothing.

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The count of subscriptions.

◆ SubscriptionsCountAsync() [3/4]

Task<SubscriptionsCount> CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCountAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Available parameters: Nothing.

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The count of subscriptions.

◆ SubscriptionsCountAsync() [4/4]

Task<SubscriptionsCount> CoreTweet.AccountActivity.AccountActivityPremiumApi.SubscriptionsCountAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the count of subscriptions that are currently active on your account for all activities.

Note that the /count endpoint requires application-only OAuth, so that you should make requests using a bearer token instead of user context.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The count of subscriptions.

◆ Webhooks() [1/4]

Environments CoreTweet.AccountActivity.AccountActivityPremiumApi.Webhooks ( )
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Returns
The list of environments object.

◆ Webhooks() [2/4]

Environments CoreTweet.AccountActivity.AccountActivityPremiumApi.Webhooks ( IDictionary< string, object >  parameters)
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The list of environments object.

◆ Webhooks() [3/4]

Environments CoreTweet.AccountActivity.AccountActivityPremiumApi.Webhooks ( object  parameters)
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The list of environments object.

◆ Webhooks() [4/4]

Environments CoreTweet.AccountActivity.AccountActivityPremiumApi.Webhooks ( params Expression< Func< string, object >>[]  parameters)
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The list of environments object.

◆ WebhooksAsync() [1/4]

Task<Environments> CoreTweet.AccountActivity.AccountActivityPremiumApi.WebhooksAsync ( CancellationToken  cancellationToken = default(CancellationToken))
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Parameters
cancellationTokenThe cancellation token.
Returns
The list of environments object.

◆ WebhooksAsync() [2/4]

Task<Environments> CoreTweet.AccountActivity.AccountActivityPremiumApi.WebhooksAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Available parameters: Nothing.

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The list of environments object.

◆ WebhooksAsync() [3/4]

Task<Environments> CoreTweet.AccountActivity.AccountActivityPremiumApi.WebhooksAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Available parameters: Nothing.

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The list of environments object.

◆ WebhooksAsync() [4/4]

Task<Environments> CoreTweet.AccountActivity.AccountActivityPremiumApi.WebhooksAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns all environments, webhook URLs and their statuses for the authenticating app.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The list of environments object.

The documentation for this class was generated from the following files: