Fetch the photo file of a user
If set, the minimum size above the value is chosen. Otherwise the smallest one
Get profile of the chat. If chat details are not attached with the chat
object (e.g. chat is retrieved from state), getChat
API method is called
to fetch chat data.
Provide the avatarUrl
of the chat profile. You can use fetchChatPhoto
method to fetch the file and serve it through an open URL.
Get chat data from API by force.
Get profile of the user. If user details are not attached with the user
object (e.g. user retrieved from state), getChatMember
API method is
called to fetch user data.
Generated using TypeDoc
Fetch the photo file of a chat