internalLinkTypeBotAddToChannel property

InternalLinkTypeBotAddToChannel? internalLinkTypeBotAddToChannel

The link is a link to a Telegram bot, which is supposed to be added to a channel chat as an administrator. Call searchPublicChat with the given bot username and check that the user is a bot,

Implementation

InternalLinkTypeBotAddToChannel? get internalLinkTypeBotAddToChannel {
  if (this is InternalLinkTypeBotAddToChannel) {
    return this as InternalLinkTypeBotAddToChannel;
  }
  return null;
}