Latest stories

Contact
2
contact_search
Get a term and search among all user names, first names, last names etc of all registered users in Pantel for matches. returns true for a full_match if the term has complete match, otherwise returns false.
2
contact_unblock
Unblock any user by one of the parameters listed as input if has been blocked before by the user.
2
delete_contact
Deletes all contacts listed in input from contacts of the user
2
contact_block
Block any user by one of the parameters listed as input.
2
import_contact
لیستی از دیکشنری شامل phone_number و name دریافت می کند و آنها را به contactهای کاربر اضافه می کند.
2
block_list
Return a list of all the contacts blocked by the user
2
get_contacts_list
Returns a list of all contacts added by the user.
2
get_user_info
Gets a list of users as explained below and returns a list of information about these users.
RTC
2
add_conference
Creates an video or audion conference.
2
leave_conference
Leaves the conference.
2
call_answer
Answers the incoming call
2
kick_from_conf
Kicks a user from the conference.
2
invite_to_conf
Invite an user to the conference.
2
get_conf_members
Returns a list of conference members.
2
join_conference
User join a conference.
2
end_call
Ends a call.
2
unkick_from_conf
Unkicks a previously kicked user.
2
signal
...
2
call
Creates a new call.
2
get_call
Returns call status.
2
get_calls
Returns list of user calls with details.
Chat
2
set_typing
Set user's status to 'typing' while user is typing or sending file, this status can be seen by any other member of that chat, either it is a group or private chat
2
change_mute_status
Toggle between mute and sound-enabled for the chat notification.
File
2
upload_file
Uploads a file in to pantel server
2
get_file
Returns urls of file and its thumbnails
2
chunk_check
...
2
chunk_upload
...
2
check_file_exist
Checks the existence of a file on the server.
Auth
2
verify_qrcode
For start new session, verify user generated qrcode with other device
2
generate_qrcode
For login user that logged-in in other device generate a qrcode
2
check_qrcode
Login user if user verified qrcode with another logged-in in device
2
clear_password
Remove password from user's account
2
delete_session
Delete sessions of the given session_id as a list in input
2
forget_password
Remove password from account via email link. the link has been requested from login with forget_password switch.
2
remove_account
Remove account while user does not know password nor access to the email and wants to delete everything from the account without login into it.
2
set_password
Assign password for user's account if user has a verified email
2
logout
Close an active session of the user
2
register
Create account for the first time or after delete account, it needs phone_code which provides by send_code
2
set_encryption_key
Informs server that from now on every requests from UI would be encrypted with this very key.
2
resend_code
If the user has an active session but wants code in sms, can use resend_code.
2
login
Create a session for an already registered user. it can be called with forget_password for recovering the account
2
delete_uncurrent_session
Delete every other sessions of the user except the one that calls it
2
show_session_user
Returns a list of all sessions that user logged in
2
send_code
Request a secure code for register into Pantel for the first time or login into a new device. the sending_method showes where it sends the code; device or sms. if the user already has a live session code will be sent to it's device, otherwise code will be sent as sms.
Location
2
get_near_walls
Returns a list of all walls and region_walls in the vicinity of user's location.
2
get_near_accounts
Returns walls, users and region_walls near user based on his/her location.
2
get_near_users
Returns a list of all users in the vicinity of user's location.
2
search_location
Search location for term with and sort the results based on distance from current location.
2
search_location_nominatim
Search location for term with nominatim and sort the results based on distance from current location.
2
search_address
Search addresses by name based on search_term.
2
update_location
Assign new location for user.
2
get_location
Returns location based on ip
Message
2
multi_forward_message
Forward a message to many chats.
2
see_all
Add seen to all new messages in a chat.
2
get_public_comments
Returns comments on images and videos in public walls.
2
get_trend
Returns a list of most viewed pictures posted in public walls. results can be limited by term and/or time.
3
sync
Returns a full information on the active session from messages to calls and maps.
2
seen
Add seen to all the messages in the list input
2
get_message_status
Returns detailed information of a list of messages.
2
get_likes
Get a list of users that likes a message.
2
set_comment_status
Active or deactive commenting on one message in blog.
2
get_messages
Returns messages specified by input parameter.
2
message_edit
User can edit an already sent message.
2
message_forward
Forward a list of messages from one chat to another.
2
delete_message
Delete messages by message_id given in a list. for_me is an option that if exists only delete message for user.
3
sync_acknowledge
Informs server that all messages up to update_message_id should be considered read for this session
2
get_message_acknowledge
Response to the server that user received the messages up to the time mentioned as last_message_date, in order to update last seen in the chat.
2
dislike
Remove like from the list of message_ids.
2
get_public_messages
Returns images and videos of public walls by chat_id
2
get_category_messages
Returns public messages by category.
2
set_draft
keeps in draft, those messages that don't send in to chats.
2
clear_history
Gets a chat_id and clear all messages in that chat.
2
send_message
Send every possible type of message to other users or groups.
2
search_message
Search messages based on multiple criteria.
2
get_draft
restore user message from draft in selected chat.
2
like
Like messages from the list of message_ids.
2
get_file_servers
Returns a list of addresses for all file servers.
Permission
2
change_permission
It change users permissions in chats or walls
2
get_permissions
Returns a full list of all the user's permissions.
Wall
3
get_services
Return a list of services
2
join_chat
Join the newly modified chat of the wall that has been followed by user before.
2
get_group_members
Returns a list of users with full detail who are already joined in the input chat_id
2
unjoin_chat
Seperate user from the chat
2
search_hashtag
Search among all hashtags in messages and captions of public messages
2
approve_private_join
Approve requested users to join the private wall.
2
invite_by_person
Invite any user to the wall by user_id.
2
list_join_requests
In private walls, returns a list of users who requested follow the wall.
2
get_wall_categories
Returns a list of all the existing wall categories in Pantel.
3
get_walls_notice
Return a list of walls notice.
2
report_wall
Report the wall to Pantel team for violation of rules, manners etc.
2
wall_administration
Create, edit or modify wall. earning money is on by default on public walls with advertisement. exclude_categories is used for types of messages that admin does not want to be shown on his/her wall.
2
recommend
Latest image or video messages with most seen in category suggest to the user
2
report_message
Report the message to Pantel team for violation of rules, manners etc.
2
get_wall_admins
Get all the admins of the wall if user is admin.
2
delete_wall
Delete the wall if the user has permission.
2
kick_user
User with administrarive privilage can kick out any member of the chat.
2
get_wall_followers
Returns a list of the followers of the wall, also user can search among the followers name.
2
get_walls
Return a list of all the walls user created and follows.
2
unfollow_wall
Unfollow the wall.
2
get_kicked_users
Returns a list of the kicked user of the wall.
2
get_admin_permissions
Returns permissions of the admin by admin's user_id
2
renew_invitation_code
Create invitation hash for private invites if 'status = add' and remove invitation hash if 'status = delete'
2
deny_private_join
Deny requested users to join the private wall.
2
get_wall
‌returns detailed information of the wall.
2
follow_wall
Follow wall and join chat if wall is public, otherwise, send a request for the admin.
2
suggest_hashtag
Suggest related hashtag to the user.
2
unkick_user
Reverse the action of kick out from chat by the user with administrarive privilage.
3
remove_wall_location
Remove wall location.
Route
2
get_application_servers
Returns a list of addresses for all application servers.
Account
2
get_profile_pic
Return the last profile picture of the specific profile
2
set_profile_pic
Set picture for user's account
2
delete_profile_pic
Delete profile picture
2
change_notification_status
Change status for notification on this session or on all sessions the status changes from on to off or reverse every time this route is called.
2
verify_email
After set_email user receives an email from pantel which contains a link, by clicking on that link this route will be called with hashpass attached to that link and an html page will be shown as result.
2
check_user_name
Check if username is taken or not
2
get_me
Return detailed information about the user
2
delete_address
Delete one address from user's profile
2
change_call_status
Define call_status which means who can call the user
2
set_email
Submit user's email address into his/her account
2
change_visible_location
User can define if he/she wants to be visible to other users on the map, or not.
2
get_cities
Return all the cities for the input country name
2
delete_account
Delete user profile, username and sessions of the user
2
search
Search for users or wall or both. results can be sorted based on distance from user. output contains result for 1 page. using page and base leads to view other pages. input page equals to next sorts result ascending in base number and prev sorts results descending
2
set_ttl
Time to live for the user's account if not login
2
migrate_authentication
User must have a phone code received on the destination phone number from migrate with the code user can authenticate the migration to the new phone number
2
change_invite_status
User can define who can invite him/her to a wall, nobody, contacts or everyone
2
migrate
Migrate user's profile to destination phone number and receive a text message containing a phone code on that phone number in order to authenticate the migration.
2
modify_user_name
Change or define username for account
2
modify_name
User can edit first name and last name. a short description about the user can be added here as an optional info.
2
resolve_account
It return user with getting username
2
add_address
Add address to user profile in order to send and receive products or services in store
2
set_auto_reply
Change auto reply status, 0 for deactivate auto reply 1 for active auto reply
2
change_status_permission
Change visibility permission of user's latest status for others
2
send_ticket
User can send ticket or report problems, issues or anything that user believes it worthes sharing with Pantel Team
2
get_profile_pics
Return all the profile pictures of the specific profile
2
backup_users
Submit a request from user in order to create a backup file from all user's chats (all of them if no chat_id is given) and send the file via email after a short period of time.
2
register_device
Store register_id for user's device in DB in order to send notification and other services provided by smartphone vendors
2
update_address
Update user's address in account in order to send and receive products or services in store
Sticker
2
get_sticker_album_categories
Returns a list of dictionaries containing name and id of sticker album categories.
2
get_sticker_category_albums
Returns all the sticker albums in the given category.
2
create_sticker_album
Create a sticker album with a given name, and picture as album picture. every sticker should assign to a unique emoji. albums can be private or public in pre-defined categories.
2
unmark_sticker_album_for_user
Unmark a public sticker album for user.
2
sticker_summaries
Returns all the public sticker albums, or specific types of sticker albums.
2
mark_sticker_album_for_user
Mark a public sticker album for user.
2
get_album_stickers
Returns a list of all the stickers in the sticker album by sticker_album_id.
2
get_user_sticker_albums
Returns all the sticker albums created by user.
2
set_sticker_album_priority
User can set priority to marked sticker albums in order to show based on that priority.
Ai
3
detect_recommended_category
Suggests phrases in response to input text.