Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageViewType

Helper class for message types so you can do e.g.

if (msg.getViewType().isVideo()) { .. }

Hierarchy

  • MessageViewType

Index

Constructors

constructor

Properties

viewType

viewType: number

Methods

isAudio

  • isAudio(): boolean

isFile

  • isFile(): boolean

isGif

  • isGif(): boolean

isImage

  • isImage(): boolean

isText

  • isText(): boolean

isVideo

  • isVideo(): boolean

isVideochatInvitation

  • isVideochatInvitation(): boolean

isVoice

  • isVoice(): boolean

Generated using TypeDoc