BoxKite.Twitter.ListExtensions.GetMySubscriptions C# (CSharp) Метод

GetMySubscriptions() публичный статический Метод

Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
ref: https://dev.twitter.com/docs/api/1.1/get/lists/subscriptions
public static GetMySubscriptions ( this session, string screenName = "", long userId, int count = 20, long cursor = -1 ) : Task
session this
screenName string The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
userId long The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
count int The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.
cursor long Breaks the results into pages. Provide a value of -1 to begin paging.
Результат Task
        public static async Task<TwitterListCursored> GetMySubscriptions(this ITwitterSession session, 
            string screenName = "", long userId = 0, int count=20, long cursor= -1)
        {
            var parameters = new TwitterParametersCollection();
            parameters.Create(user_id:userId,screen_name:screenName,count:count,cursor:cursor);

            return await session.GetAsync(TwitterApi.Resolve("/1.1/lists/subscriptions.json"), parameters)
                          .ContinueWith(c => c.MapToSingle<TwitterListCursored>());
        }