getMediaSize

open fun getMediaSize(): Long

Get media size. Applicable for NEW_MESSAGE notification type only.

Return

Media attachment size if media was attached, zero otherwise. In case of multiple attachments, return the size of the first one.