Skip to content

Commit 33b75c5

Browse files
committed
various changes to documentation
1 parent ff30057 commit 33b75c5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/eventsub/stream/online.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub struct StreamOnlineV1Payload {
3131
pub broadcaster_user_login: types::UserName,
3232
/// The broadcaster’s user display name.
3333
pub broadcaster_user_name: types::DisplayName,
34-
/// The event id.
34+
/// The id of the stream.
3535
pub id: String,
3636
/// The stream type. Valid values are: live, playlist, watch_party, premiere, rerun.
3737
#[serde(rename = "type")]

src/helix/channels/modify_channel_information.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ pub struct ModifyChannelInformationRequest {
7171
#[derive(PartialEq, typed_builder::TypedBuilder, Deserialize, Serialize, Clone, Debug)]
7272
#[non_exhaustive]
7373
pub struct ModifyChannelInformationBody {
74-
/// Current game ID being played on the channel
74+
/// Current game ID being played on the channel. Use “0” or “” (an empty string) to unset the game.
7575
#[builder(default, setter(into, strip_option))]
7676
pub game_id: Option<types::CategoryId>,
7777
/// Language of the channel
7878
#[builder(default, setter(into))]
7979
pub broadcaster_language: Option<String>,
80-
/// Title of the stream
80+
/// Title of the stream. Value must not be an empty string.
8181
#[builder(default, setter(into, strip_option))]
8282
pub title: Option<String>,
8383
}

src/helix/users/get_users.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub struct GetUsersRequest {
6161
pub struct User {
6262
/// User’s broadcaster type: "partner", "affiliate", or "".
6363
pub broadcaster_type: Option<types::BroadcasterType>,
64-
/// Account creation time
64+
/// Date when the user was created.
6565
pub created_at: types::Timestamp,
6666
/// User’s channel description.
6767
pub description: Option<String>,

0 commit comments

Comments
 (0)