Answer the question
In order to leave comments, you need to log in
How can an application get information about the place where it was loaded from?
When an application is launched, it must read from where it was launched. More precisely
, if it is launched from a group, then information (id, name, etc.) about the group,
if from messages between the group and the user, then information about the chat, or, if possible, information about the group at once.
If from another place, then just information from where.
Answer the question
In order to leave comments, you need to log in
For obvious reasons, such detailed information is not given
. Information about the common launch source is available https://apiok.ru/dev/types/enums.ApplicationRefere...
(
refplace parameter at startup) different custom_args) and publish them in different places
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question