Skip to content

TGCacheGetMessage

__SyS__ edited this page Jan 21, 2019 · 1 revision

TGCacheGetMessage

  • Description

    Function to get latest message in a chat,from active cache.

  • Parameters

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

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

     public OnTGMessage(TGBot:bot,TGUser:fromid,TGMessage:messageid) {
     	new message[128];
     	TGCacheGetMessage(message);
     }
  • Notes

    This function is only usable in OnTGMessage callback.

Clone this wiki locally