hikariatama / Hikka

The most fresh and updateable developer-oriented Telegram userbot
https://hikka.pw
GNU Affero General Public License v3.0
315 stars 506 forks source link

Add an argument `form` to `utils.asset_channel` #114

Closed anon97945 closed 10 months ago

anon97945 commented 1 year ago

https://github.com/hikariatama/Hikka/blob/ce1f24f03313f8500de671815dde065fc8d86897/hikka/utils.py#L731

Additional context Something like that:

async def asset_channel(
    client: CustomTelegramClient,
    title: str,
    description: str,
    *,
    channel: bool = False,
    silent: bool = False,
    archive: bool = False,
    invite_bot: bool = False,
    avatar: typing.Optional[str] = None,
    ttl: typing.Optional[int] = None,
    forum: bool = false,
    _folder: typing.Optional[str] = None,
) -> typing.Tuple[Channel, bool]:
hikariatama commented 10 months ago

Idk why would you need this, but whatever

hikariatama commented 10 months ago

Resolved in https://github.com/hikariatama/Hikka/commit/f23e09a594b186ac1bbc9dd8ea018702ef04d6e9