• Preparing search index...
  • The search index is not available
Documentation - v0.23.3
  • Documentation
  • @mtcute/core
  • index
  • getBasicPeerType

Function getBasicPeerType

  • getBasicPeerType(
        id: number | TypePeer | TypeInputPeer | TypeInputUser | TypeInputChannel,
    ): BasicPeerType
  • Get the BasicPeerType of a peer, either by its marked ID or by its TL object

    Parameters

    • id: number | TypePeer | TypeInputPeer | TypeInputUser | TypeInputChannel

    Returns BasicPeerType

    • Defined in packages/core/src/utils/peer-utils.ts:199

Settings

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

Generated using TypeDoc