﻿---
sidebar_position: 1
description: Get avatar icon list and other functions to work with Telegram in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Telegram]
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Get avatar icon list
 Gets the mapping of Emoji IDs for setting as forum theme icons



`Function GetAvatarIconList(Val Token) Export`

  | Parameter | CLI option | Type | Required | Description |
  |-|-|-|-|-|
  | Token | --token | String | &#x2714; | Token |

  
  Returns:  Map Of KeyAndValue - Key > ID, Value > Emoji

<br/>

:::tip
Method at API documentation: [getForumTopicIconStickers](https://core.telegram.org/bots/api#getforumtopiciconstickers)
:::
<br/>



```bsl title="1C:Enterprise/OneScript code example"
    Token  = "6129457865:AAFyzNYOAFbu...";
    Result = OPI_Telegram.GetAvatarIconList(Token);
```
 

 <Tabs>
  
    <TabItem value="bash" label="Bash" default>
        ```bash
            oint telegram GetAvatarIconList \
             --token "***"
        ```
    </TabItem>
  
    <TabItem value="bat" label="CMD/Bat" default>
        ```batch
            oint telegram GetAvatarIconList ^
             --token "***"
        ```
    </TabItem>
</Tabs>


```json title="Result"
{
 "5434144690511290129": "📰",
 "5312536423851630001": "💡",
 "5312016608254762256": "⚡️",
 "5377544228505134960": "🎙",
 "5418085807791545980": "🔝",
 "5370870893004203704": "🗣",
 "5420216386448270341": "🆒",
 "5379748062124056162": "❗️",
 "5373251851074415873": "📝",
 "5433614043006903194": "📆",
 "5357315181649076022": "📁",
 "5309965701241379366": "🔎",
 "5309984423003823246": "📣",
 "5312241539987020022": "🔥",
 "5312138559556164615": "❤️",
 "5377316857231450742": "❓",
 "5350305691942788490": "📈",
 "5350713563512052787": "📉",
 "5309958691854754293": "💎",
 "5350452584119279096": "💰",
 "5309929258443874898": "💸",
 "5377690785674175481": "🪙",
 "5310107765874632305": "💱",
 "5377438129928020693": "⁉️",
 "5309950797704865693": "🎮",
 "5350554349074391003": "💻",
 "5409357944619802453": "📱",
 "5312322066328853156": "🚗",
 "5312486108309757006": "🏠",
 "5310029292527164639": "💘",
 "5310228579009699834": "🎉",
 "5377498341074542641": "‼️",
 "5312315739842026755": "🏆",
 "5408906741125490282": "🏁",
 "5368653135101310687": "🎬",
 "5310045076531978942": "🎵",
 "5420331611830886484": "🔞",
 "5350481781306958339": "📚",
 "5357107601584693888": "👑",
 "5375159220280762629": "⚽️",
 "5384327463629233871": "🏀",
 "5350513667144163474": "📺",
 "5357121491508928442": "👀",
 "5357185426392096577": "🫦",
 "5310157398516703416": "🍓",
 "5310262535021142850": "💄",
 "5368741306484925109": "👠",
 "5348436127038579546": "✈️",
 "5357120306097956843": "🧳",
 "5310303848311562896": "🏖",
 "5350424168615649565": "⛅️",
 "5413625003218313783": "🦄",
 "5350699789551935589": "🛍",
 "5377478880577724584": "👜",
 "5431492767249342908": "🛒",
 "5350497316203668441": "🚂",
 "5350422527938141909": "🛥",
 "5418196338774907917": "🏔",
 "5350648297189023928": "🏕",
 "5309832892262654231": "🤖",
 "5350751634102166060": "🪩",
 "5377624166436445368": "🎟",
 "5386395194029515402": "🏴‍☠️",
 "5350387571199319521": "🗳",
 "5357419403325481346": "🎓",
 "5368585403467048206": "🔭",
 "5377580546748588396": "🔬",
 "5377317729109811382": "🎶",
 "5382003830487523366": "🎤",
 "5357298525765902091": "🕺",
 "5357370526597653193": "💃",
 "5357188789351490453": "🪖",
 "5348227245599105972": "💼",
 "5411138633765757782": "🧪",
 "5386435923204382258": "👨‍👩‍👧‍👦",
 "5377675010259297233": "👶",
 "5386609083400856174": "🤰",
 "5368808634392257474": "💅",
 "5350548830041415279": "🏛",
 "5355127101970194557": "🧮",
 "5386379624773066504": "🖨",
 "5377494501373780436": "👮‍♂️",
 "5350307998340226571": "🩺",
 "5310094636159607472": "💊",
 "5310139157790596888": "💉",
 "5377468357907849200": "🧼",
 "5418115271267197333": "🪪",
 "5372819184658949787": "🛃",
 "5350344462612570293": "🍽",
 "5384574037701696503": "🐟",
 "5310039132297242441": "🎨",
 "5350658016700013471": "🎭",
 "5357504778685392027": "🎩",
 "5350367161514732241": "🔮",
 "5350520238444126134": "🍹",
 "5310132165583840589": "🎂",
 "5350392020785437399": "☕️",
 "5350406176997646350": "🍣",
 "5350403544182694064": "🍔",
 "5350444672789519765": "🍕",
 "5312424913615723286": "🦠",
 "5417915203100613993": "💬",
 "5312054580060625569": "🎄",
 "5309744892677727325": "🎃",
 "5238156910363950406": "✍️",
 "5235579393115438657": "⭐️",
 "5237699328843200968": "✅",
 "5238027455754680851": "🎖",
 "5238234236955148254": "🤡",
 "5237889595894414384": "🧠",
 "5237999392438371490": "🦮",
 "5235912661102773458": "🐈"
}
```
