docs(core): added link to official docs in .isMin
This commit is contained in:
parent
412f1af120
commit
2d274b87ce
3 changed files with 7 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
import { parseMarkedPeerId } from '../../../utils/peer-utils.js'
|
||||
import type { ITelegramClient } from '../../client.types'
|
||||
import type { InputPeerLike } from '../../types'
|
||||
import type { ITelegramClient } from '../../client.types.js'
|
||||
import type { InputPeerLike } from '../../types/index.js'
|
||||
|
||||
import { _normalizePeerId } from './resolve-peer.js'
|
||||
|
||||
|
|
|
@ -66,9 +66,9 @@ export class Chat {
|
|||
* are always available, but other fields may be omitted
|
||||
* despite being available.
|
||||
*
|
||||
* It was observed that these fields may be missing:
|
||||
* - `isMember`
|
||||
* - and probably more
|
||||
* For a rough list of fields that may be missing, see the
|
||||
* official docs for [channel](https://core.telegram.org/constructor/channel)
|
||||
* and [user](https://core.telegram.org/constructor/user).
|
||||
*
|
||||
* This currently only ever happens for non-bot users, so if you are building
|
||||
* a normal bot, you can safely ignore this field.
|
||||
|
|
|
@ -58,12 +58,8 @@ export class User {
|
|||
* are always available, but other fields may be omitted
|
||||
* despite being available.
|
||||
*
|
||||
* It was observed that these fields may be missing:
|
||||
* - `username, usernames`
|
||||
* - `status, lastOnline, nextOffline`
|
||||
* - `storiesMaxId`
|
||||
* - `photo` - in some cases when user has some some privacy settings
|
||||
* - and probably more
|
||||
* For a rough list of fields that may be missing, see the
|
||||
* [official docs](https://core.telegram.org/constructor/user).
|
||||
*
|
||||
* This currently only ever happens for non-bot users, so if you are building
|
||||
* a normal bot, you can safely ignore this field.
|
||||
|
|
Loading…
Reference in a new issue