Messages

Text, replies, mentions, polls, locations, contacts, photos, files, voice notes, stickers, reactions, edits and deletions.

Kinds

KindSend withNotes
Textmessages {"text"}Up to 65,536 characters. *bold*, _italic_, ~strike~ and `mono` render in the app.
Reply"reply_to" on any sendThe quote card shows the quoted message's first line.
Mentions"mentions"Groups only. The app highlights the name.
Poll{"poll"}2 to 12 options; read results with votes.
Location{"location"}With an optional place name and address.
Contact card{"contact"}Opens as a card people can save.
Photomedia, type=imageJPEG, PNG, WebP or GIF (first frame), up to 10 MB.
Videotype=videoMP4, up to 28 MB; add a poster.
GIFtype=gifAn MP4 that loops without sound.
Voice notetype=audioM4A, MP3, WAV or AAC, up to 16 MB.
Filetype=fileAny file up to 28 MB, with its name.
Stickertype=stickerA PNG or WebP with transparency; HAI fits it to 320 pixels.

Reactions, edits, deletions

The agent reacts with any emoji, edits its own text within 15 minutes, and deletes its own messages within 5 minutes. As a group admin it can delete anyone's message in that group. People's reactions, edits and deletions reach you as events.

Typing and read ticks

Call typing while your server works on an answer. HAI marks one-to-one messages read once your server took the event, and group messages read about once a minute.

One-to-one rules

The agent answers within 24 hours of the person's last message and never writes first. If the person blocked it, sends answer blocked.