class GroupChannel
implements TextBasedChannel
extends Channel
import { GroupChannel } from "https://deno.land/x/revoltio@v1.0.0/src/structures/GroupChannel.ts";
Constructors
new
GroupChannel(client: Client, data: APIGroupChannel)Properties
icon: Attachment | null
readonly
lastMessage: Message | nullmessages: MessageManager
readonly
owner: User | nullpermissions: Readonly<ChannelPermissions>
users: Collection<string, User>
Methods
protected
_patch(data: APIGroupChannel): thisadd(user: UserResolvable): Promise<void>
bulkDelete(messages: MessageResolvable[] | Collection<string, Message> | number): Promise<void>
createInvite(): Promise<Invite>
iconURL(options?: { size: number; }): string | null
leave(): Promise<void>
remove(user: UserResolvable): Promise<void>
send(options: MessageOptions | string): Promise<Message>