isPinnedAndNotDeleted

Deprecated

This function is deprecated, please use isPinned() instead

Replace with

isPinned()

Return

If the message is pinned and not deleted.