getUserProfilePhotos method

Future<UserProfilePhotos> getUserProfilePhotos(
  1. ChatID chatId, {
  2. int? offset,
  3. int? limit,
})
inherited

Use this method to get a list of profile pictures for a user.

Returns a UserProfilePhotos object.

Implementation

Future<UserProfilePhotos> getUserProfilePhotos(
  ChatID chatId, {
  int? offset,
  int? limit,
}) {
  return _client.apiCall(_token, 'getUserProfilePhotos', {
    'chat_id': chatId,
    'offset': offset,
    'limit': limit,
  });
}