Skip to content

five-on-it / packages/missions/src/phone / offerMessage

Function: offerMessage() ​

offerMessage(phone, message): void

Defined in: packages/missions/src/phone.ts:316

A message that offers a mission (one that starts on a message), from one of its contacts: of no mission run, its reading starts the mission (takenOffers).

Parameters ​

phone ​

PhoneState

message ​

from ​

string

mission ​

string

name ​

string

text ​

string

Returns ​

void