The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::SendBird::GroupChat - SendBird Group Chat

SYNOPSIS

 use WebService::SendBird::Group;

 my $chat = WebService::SendBird::User->new(
     api_client  => $api,
     channel_url => 'chat_room_1',
 );

 $chat->update(name => 'Gossips');

DESCRIPTION

Class for SendBird Group Channel. Information about structure could be found at API Documentation

new

Creates an instance of SendBird Group Chat

Getters

  • api_client

  • channel_url

  • is_broadcast

  • name

  • is_access_code_required

  • is_super

  • joined_member_count

  • is_public

  • cover_url

  • unread_mention_count

  • is_created

  • is_distinct

  • is_ephemeral

  • freeze

  • data

  • is_discoverable

  • last_message

  • sms_fallback_interval_sec

  • custom_type

  • unread_message_count

  • created_at

  • member_count

  • sms_fallback_enabled

  • max_length_message

  • members

update

Updates the group channel at SendBird API

Information about parameters could be found at API Documentation

set_freeze

Freeze or unfreeze the channel.

See https://sendbird.com/docs/chat/v3/platform-api/guides/group-channel#2-freeze-a-channel.