Pavel Durov, the chief executive of Telegram, is due in court later to face possible charges linked to alleged criminal activity on the platform.