class Actions (View source)

Class Actions.

Chat Actions let you broadcast a type of action depending on what the user is about to receive. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status).

Constants

TYPING

Sets chat status as Typing.

UPLOAD_PHOTO

Sets chat status as Sending Photo.

UPLOAD_VIDEO

Sets chat status as Sending Video.

UPLOAD_AUDIO

Sets chat status as Sending Audio.

UPLOAD_DOCUMENT

Sets chat status as Sending Document.

FIND_LOCATION

Sets chat status as Choosing Geo.

RECORD_VIDEO

Sets chat status as Recording Video.