MessageContent

message content

interface MessageContent {
  data?: any;
  media?: FileInfo[];
  text?: string;
}

index

properties

Properties

data ?

custom data messages sent with Object in send()

any

media ?

files linked to message

FileInfo[]

text ?

for simple text messages sent with string in send()

string