deptyped / vue-telegram

Telegram integration for Vue
https://vue-tg.deptyped.com
MIT License
172 stars 11 forks source link

Add support for Telegram Widgets #1

Closed deptyped closed 7 months ago

deptyped commented 1 year ago
<TgShareButton 
    url: string
    comment?: string 
    size?: "medium"| "large"
    no-label?: boolean
/>
<TgPost
    url: string
    width?: string
    author-photo?: boolean
    color?: string
    dark-color?: string
    dark?: boolean
/>
<TgLoginButton 
    bot-username: string
    size?: "small" | "medium"| "large"
    user-photo?: boolean
    radius?: number
    request-write?: boolean
    redirect-url?: string
    @auth?: (user) => void
/>
<TgDiscussion
    url: string
    height?: string
    comments?: number
    colorful?: boolean
    color?: string
    dark-color?: string
    dark?: boolean
/>