Airgram

Guides
/
/
Methods

api.setBio()

Changes the bio of the current user

Parameters SetBioParams:

NameTypeDescription
biostring The new value of the user bio; 0-70 characters without line feeds
Returns ApiResponse interface:
interface ApiResponse {
  _: 'setBio' | 'error'
  airgram: Airgram
  request: {
    method: 'setBio'
    params: SetBioParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}