getUserProfileAudios
Returns UserProfileAudios ↗
Use this method to get a list of profile audios for a user.
Required: user_id · Optional: 2 parameters
Try it
TypeScript example · @effect-ak/tg-bot-client
import { makeTgBotClient } from "@effect-ak/tg-bot-client"
const client = makeTgBotClient({ bot_token: "YOUR_BOT_TOKEN" })
const result = await client.execute("get_user_profile_audios", { user_id: 0})Parameters
user_id number Required
Unique identifier of the target user.
offset number
Sequential number of the first audio to be returned. By default, all audios are returned.
limit number
Limits the number of audios to be retrieved. Values between 1-100 are accepted. Defaults to 100.
Related methods
getAvailableGifts · getBusinessAccountGifts · getBusinessAccountStarBalance · getBusinessConnection · getChat · getChatAdministrators · getChatGifts · getChatMember · getChatMemberCount · getChatMenuButton · getCustomEmojiStickers · getFile · getForumTopicIconStickers · getGameHighScores · getMe · getMyCommands · getMyDefaultAdministratorRights · getMyDescription · getMyName · getMyShortDescription · getMyStarBalance · getStarTransactions · getStickerSet · getUpdates · getUserChatBoosts · getUserGifts · getUserProfilePhotos · getWebhookInfo