O
O
oe24y2022-03-30 18:57:06
Viber
oe24y, 2022-03-30 18:57:06

How can I get the online status of my contact through the Viber API? Where to begin?

Hello, I used to work with the Telegram API, but not with Viber.
There is a task - to get the status of a contact: it is online at the time of the request or offline.
Is it possible to do this in the Viber API?
If yes, where to start?
Tell me please.
Planning in Python

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shurshur, 2022-03-31
@oe24y

Viber has two fundamentally different APIs: Viber Business Messages and Viber Bot (formerly Viber Public Accounts). The first one is mainly intended for paid mailings by phone number and is available only for businesses, the second one is needed to create telegram-like bots (the user must write first). Neither one nor the other does not imply obtaining the status of a user.

D
Denis BotViber, 2022-04-05
@cellmon

If only the status of the bot's subscriber is online?
Then you can :)
get_online(["user1id", "user2id"])
Or find out the phone model (you can’t find out the number !!)
get_user_details("userId")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question