E
E
ErschVlad2018-06-08 15:01:02
Classmates
ErschVlad, 2018-06-08 15:01:02

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

1 answer(s)
V
Vjacheslav Kanivetc, 2018-06-13
@ErschVlad

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 question

Ask a Question

731 491 924 answers to any question