G
G
Guerro692020-07-20 21:47:53
JSON
Guerro69, 2020-07-20 21:47:53

How to put any icon in AppWidget(table) VK?

Bots in VK (for example, a chat manager) can see an AppWidget of type table in which, for example, "Active chats"
H3AO5vh
I thought why not make the same Widget in my bot, but I ran into a problem when I needed to somehow substitute the icons of the conversation, the fact is that the icons in this widget of the table type are represented as the JSON schema "icon_id": "id123" that is, you can put the icon of any community or person by its id, if the community is id-, but the question is, people were somehow able to insert a chat icon into the widget, so this is possible? (There is nothing in the documentation about this)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aab137, 2020-07-21
@aab137

Apparently, these people just took and loaded the conversation icons into the app as if they were just random icons. as I understand it, the icon can only be an image of the community in which the widget is installed, or an image of the application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question