ptgb
A complete Telegram Bot API client for Dart

User Profile Photos

Part of the API Reference.

getUserProfilePhotos

Future<Json> getUserProfilePhotos(int userId, {int? offset, int? limit}) async =>

Returns a user’s profile photos, paginated via [offset]/[limit].

getUserProfileAudios

Future<Json> getUserProfileAudios(
    int userId, {
    int? offset,
    int? limit,
  }) async =>

Returns the audio files a user has added to their profile, as a UserProfileAudios object (raw JSON).