Airgram

Guides
/
/
Methods

api.testCallVectorString()

Returns the received vector of strings; for testing only. This is an offline method. Can be called before authorization

Parameters TestCallVectorStringParams:

NameTypeDescription
xstring[] Vector of strings to return
Returns ApiResponse interface:
interface ApiResponse {
  _: 'testCallVectorString' | 'error'
  airgram: Airgram
  request: {
    method: 'testCallVectorString'
    params: TestCallVectorStringParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}