Airgram

Guides
/
/
Methods

api.getApplicationDownloadLink()

Returns the link for downloading official Telegram application to be used when the current user invites friends to Telegram

Returns ApiResponse interface:
interface ApiResponse {
  _: 'getApplicationDownloadLink' | 'error'
  airgram: Airgram
  request: {
    method: 'getApplicationDownloadLink'
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}