• Preparing search index...
  • The search index is not available
Documentation - v0.23.3
  • Documentation
  • @mtcute/node
  • methods
  • isSelfPeer

Function isSelfPeer

  • isSelfPeer(
        client: ITelegramClient,
        peer: TypePeer | TypeInputPeer | TypeInputUser,
    ): boolean
  • Check if the given peer/input peer is referring to the current user

    Parameters

    • client: ITelegramClient
    • peer: TypePeer | TypeInputPeer | TypeInputUser

    Returns boolean

    • Defined in packages/core/src/highlevel/methods/auth/utils.ts:19

Settings

Member Visibility
Documentation - v0.23.3
  • Loading...

Generated using TypeDoc