bots

Get current bot info

Changed on

Returns info about current bot. Current bot can be identified by access token. Method returns bot identifier, name and avatar (if any)

get/me

Request

  • Base URL
    https://botapi.tamtam.chat
  • URL
    https://botapi.tamtam.chat/me
  • Auth
    API key in query parameter access_token

Response

Bot info

user_idinteger required

Users identifier

namestring required

Users visible name

usernamestring nullable required

Unique public user name. Can be null if user is not accessible or it is not set

is_botboolean required

true if user is bot

last_activity_timeinteger required

Time of last user activity in TamTam (Unix timestamp in milliseconds). Can be outdated if user disabled its "online" status in settings

descriptionstring nullable

User description. Can be null if user did not fill it out

avatar_urlstring

URL of avatar

full_avatar_urlstring

URL of avatar of a bigger size

Changes

    • info

      added the required property //////// to the response with the status

    • info

      the response property //////// became required for the status