docs(core): added link to official docs in .isMin

This commit is contained in:
alina 🌸 2024-09-28 21:46:36 +03:00
parent 412f1af120
commit 2d274b87ce
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
3 changed files with 7 additions and 11 deletions

View file

@ -1,6 +1,6 @@
import { parseMarkedPeerId } from '../../../utils/peer-utils.js' import { parseMarkedPeerId } from '../../../utils/peer-utils.js'
import type { ITelegramClient } from '../../client.types' import type { ITelegramClient } from '../../client.types.js'
import type { InputPeerLike } from '../../types' import type { InputPeerLike } from '../../types/index.js'
import { _normalizePeerId } from './resolve-peer.js' import { _normalizePeerId } from './resolve-peer.js'

View file

@ -66,9 +66,9 @@ export class Chat {
* are always available, but other fields may be omitted * are always available, but other fields may be omitted
* despite being available. * despite being available.
* *
* It was observed that these fields may be missing: * For a rough list of fields that may be missing, see the
* - `isMember` * official docs for [channel](https://core.telegram.org/constructor/channel)
* - and probably more * and [user](https://core.telegram.org/constructor/user).
* *
* This currently only ever happens for non-bot users, so if you are building * This currently only ever happens for non-bot users, so if you are building
* a normal bot, you can safely ignore this field. * a normal bot, you can safely ignore this field.

View file

@ -58,12 +58,8 @@ export class User {
* are always available, but other fields may be omitted * are always available, but other fields may be omitted
* despite being available. * despite being available.
* *
* It was observed that these fields may be missing: * For a rough list of fields that may be missing, see the
* - `username, usernames` * [official docs](https://core.telegram.org/constructor/user).
* - `status, lastOnline, nextOffline`
* - `storiesMaxId`
* - `photo` - in some cases when user has some some privacy settings
* - and probably more
* *
* This currently only ever happens for non-bot users, so if you are building * This currently only ever happens for non-bot users, so if you are building
* a normal bot, you can safely ignore this field. * a normal bot, you can safely ignore this field.