import type { FC } from '../../lib/teact/teact'; import React from '../../lib/teact/teact'; import { getActions } from '../../global'; import type { ApiUser } from '../../api/types'; import useLang from '../../hooks/useLang'; import ConfirmDialog from '../ui/ConfirmDialog'; export type OwnProps = { bot?: ApiUser; }; const BotAttachModal: FC = ({ bot, }) => { const { closeBotAttachRequestModal, confirmBotAttachRequest } = getActions(); const lang = useLang(); const name = bot?.firstName; return ( ); }; export default BotAttachModal;