Airgram

Guides
/
/
Methods

api.getRecentlyVisitedTMeUrls()

Returns t.me URLs recently visited by a newly registered user

Parameters GetRecentlyVisitedTMeUrlsParams:

NameTypeDescription
referrerstring Google Play referrer to identify the user
Returns ApiResponse interface:
interface ApiResponse {
  _: 'getRecentlyVisitedTMeUrls' | 'error'
  airgram: Airgram
  request: {
    method: 'getRecentlyVisitedTMeUrls'
    params: GetRecentlyVisitedTMeUrlsParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}