2021-01-26 21:20:52 +02:00
|
|
|
####################
|
|
|
|
|
getUserProfilePhotos
|
|
|
|
|
####################
|
|
|
|
|
|
|
|
|
|
Returns: :obj:`UserProfilePhotos`
|
|
|
|
|
|
|
|
|
|
.. automodule:: aiogram.methods.get_user_profile_photos
|
|
|
|
|
:members:
|
|
|
|
|
:member-order: bysource
|
|
|
|
|
:undoc-members: True
|
2023-07-04 00:39:02 +03:00
|
|
|
:exclude-members: model_config,model_fields
|
2021-01-26 21:20:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
|
=====
|
|
|
|
|
|
|
|
|
|
As bot method
|
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
|
|
|
|
|
|
result: UserProfilePhotos = await bot.get_user_profile_photos(...)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method as object
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
Imports:
|
|
|
|
|
|
|
|
|
|
- :code:`from aiogram.methods.get_user_profile_photos import GetUserProfilePhotos`
|
|
|
|
|
- alias: :code:`from aiogram.methods import GetUserProfilePhotos`
|
|
|
|
|
|
|
|
|
|
With specific bot
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
|
|
result: UserProfilePhotos = await bot(GetUserProfilePhotos(...))
|
2022-12-04 03:05:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As shortcut from received object
|
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
|
|
- :meth:`aiogram.types.user.User.get_profile_photos`
|