title: How do I check what the admin status is in my telegram bot?
body: <p>I need to write some logic in my bot which checks if a user is admin/owner/creator/member etc</p>
  
  <p>I can see when I look at the user data structure, it has a <code>status</code> attribute with, in the case below, the value of 'member'.  How can I check for admin, owner and creator?</p>
  
  <pre><code>Array
  (
      [user] =&gt; Array
          (
              [id] =&gt; 123456789
              [is_bot] =&gt; 
              [first_name] =&gt; John
              [username] =&gt; Doe
              [language_code] =&gt; en
          )
  
      [status] =&gt; member
  )
  </code></pre>