Raw.UpdateShortMessage

Raw.UpdateShortMessage

Info about a message sent to (received from) another user

updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
export namespace Raw {
  export class UpdateShortMessage {
    constructor(params: {
      out?: boolean;
      mentioned?: boolean;
      mediaUnread?: boolean;
      silent?: boolean;
      id: number;
      userId: bigint;
      message: string;
      pts: number;
      ptsCount: number;
      date: number;
      fwdFrom?: Raw.TypeMessageFwdHeader;
      viaBotId?: bigint;
      replyTo?: Raw.TypeMessageReplyHeader;
      entities?: Array<Raw.TypeMessageEntity>;
      ttlPeriod?: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x313bc7f8

Property