Skip to content

getUserFull

Sahri Riza Umami edited this page Jun 9, 2017 · 3 revisions

Returns full information about a user by its identifier.

getUserFull(user_id)
Option Description
user_id User identifier.

Example

getUserFull(194211431)

Response:

{
  ID = "UserFull",
  about_ = false,
  bot_info_ = false,
  common_chat_count_ = 0,
  is_blocked_ = false,
  user_ = {
    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_ = 1496992491
    },
    type_ = {
      ID = "UserTypeGeneral"
    },
    username_ = false
  }
}

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally