Skip to content

TGCacheGetUserLastName

__SyS__ edited this page Jan 21, 2019 · 1 revision

TGCacheGetUserLastName

  • Description

    Function to get last name of user invoked an update,from active cache.

  • Parameters

    • str[] - array to store last name
    • size - size of title
  • Returns

    • On success - 1
    • On failure - 0
  • Example

     public OnTGMessage(TGBot:bot,TGUser:fromid,TGMessage:messageid) {
     	new lastname[34];
     	TGCacheGetUserLastName(lastname);
     }
  • Notes

    This function is only usable in callbacks.

Clone this wiki locally