Raw.MessageEntityTextUrl

Raw.MessageEntityTextUrl

Message entity representing a text url: for in-text urls like https://google.com use messageentityurl.

messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;
export namespace Raw {
  export class MessageEntityTextUrl {
    constructor(params: { offset: number; length: number; url: string }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x76a6d327

Property

  • offset : number

    Offset of message entity within message (in utf-16 code units)

  • length : number

    Length of message entity within message (in utf-16 code units)

  • url : string

    The actual url