Module: URL

Defined in:
lib/ruby-vibe/url.rb

Overview

Viber API urls as constant for corresponding method.

Constant Summary collapse

API =

viber api url

'https://chatapi.viber.com/pa'
SET_WEBHOOK =

api url to set webhook

"#{API}/set_webhook".freeze
SEND_MESSAGE =

api url to send message to user

"#{API}/send_message".freeze
GET_ACCOUNT_INFO =

api url to get info about your account

"#{API}/get_account_info".freeze
GET_USER_DETAILS =

api url to get info about user (twice per 12h for each ID)

"#{API}/get_user_details".freeze
BROADCAST_MESSAGE =

api url to broadcast message to multiple users (must be subscribed to bot)

"#{API}/broadcast_message".freeze
GET_ONLINE =

api url to check if user(s) is online

"#{API}/get_online".freeze