Skip to content
Sahri Riza Umami edited this page Jun 9, 2017 · 4 revisions

Returns current logged in user.

getMe()

Response:

{
  ID = "User",
  first_name_ = "Abon",
  foreign_link_ = {
    ID = "LinkStateKnowsPhoneNumber"
  },
  have_access_ = true,
  id_ = 194211431,
  is_verified_ = false,
  last_name_ = "Ketimus",
  my_link_ = {
    ID = "LinkStateKnowsPhoneNumber"
  },
  phone_number_ = "REDACTED",
  profile_photo_ = {
    ID = "ProfilePhoto",
    big_ = {
      ID = "File",
      id_ = 2,
      path_ = false,
      persistent_id_ = "AQADBQADW6gxG2dukwsACBVQyjIABC8HS8ezO2hr1XkDAAEC",
      size_ = 0
    },
    id_ = "834131745110599771",
    small_ = {
      ID = "File",
      id_ = 1,
      path_ = false,
      persistent_id_ = "AQADBQADW6gxG2dukwsACBVQyjIABAt-RZr5h2xE03kDAAEC",
      size_ = 0
    }
  },
  restriction_reason_ = false,
  status_ = {
    ID = "UserStatusOnline",
    expires_ = 1496992157
  },
  type_ = {
    ID = "UserTypeGeneral"
  },
  username_ = false
}

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally