• Pin a message in a group, supergroup, channel or PM.

    For supergroups/channels, you must have appropriate permissions, either as an admin, or as default permissions

    Parameters

    Returns Promise<Message | null>

    Service message about pinned message, if one was generated.