twitch_api2 0.6.1

Library for talking with the new Twitch API aka. "Helix", TMI and more!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Helix endpoints regarding channel polls

use crate::{
    helix::{self, Request},
    types,
};
use serde::{Deserialize, Serialize};

pub mod create_poll;
pub mod end_poll;
pub mod get_polls;

#[doc(inline)]
pub use create_poll::{CreatePollBody, CreatePollRequest, NewPollChoice};
#[doc(inline)]
pub use end_poll::{EndPollBody, EndPollRequest};
#[doc(inline)]
pub use get_polls::{GetPollsRequest, Poll};