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

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

Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists.
ref: https://dev.twitter.com/docs/api/1.1/get/lists/ownerships
public static GetListOwned ( this session, string screenName = "", long userId, int count = 20, long cursor = -1 ) : Task
session this
screenName string
userId long
count int
cursor long
Результат Task
        public static async Task<TwitterListCursored> GetListOwned(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/ownerships.json"), parameters)
                          .ContinueWith(c => c.MapToSingle<TwitterListCursored>());
        }