BoxKite.Twitter.UsersExtensions.DeleteProfileBanner C# (CSharp) Метод

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

Removes the uploaded profile banner for the authenticating user. Returns HTTP 200 upon success.
ref: https://dev.twitter.com/docs/api/1.1/post/account/remove_profile_banner
public static DeleteProfileBanner ( this session ) : Task
session this
Результат Task
        public static async Task<TwitterSuccess> DeleteProfileBanner(this IUserSession session)
        {
            var parameters = new TwitterParametersCollection();

            return await session.PostAsync(TwitterApi.Resolve("/1.1/account/remove_profile_banner.json"), parameters)
                         .ContinueWith(c => c.MapToTwitterSuccess());
        }