serialize

open override fun serialize(): ByteArray

Serializes the RestrictedUser instance. This byte array can be stored in the database in your application. The instance can be restored by buildFromSerializedData.

Return

Serialized Sender data.

Since

3.0.173