Constructors
constructor
- new StudentNews(client, data): StudentNews
Parameters
- client: Pronote
- data: {
listeCategories: PronoteValue<24, {
L: string;
N: string;
estDefaut?: boolean;
}[]>;
listeModesAff: {
G: number;
listeActualites: {
V: {
L?: string;
N: string;
auteur: string;
categorie: PronoteValue<24, {
L: string;
N: string;
}>;
dateCreation: PronoteValue<7, string>;
dateDebut: PronoteValue<7, string>;
dateFin: PronoteValue<7, string>;
elmauteur: PronoteValue<24, {
G: number;
L: string;
N: string;
}>;
estAuteur: boolean;
estInformation: boolean;
estProlonge: boolean;
estSondage: boolean;
genrePublic: number;
listeQuestions: PronoteValue<24, {
L: string;
N: string;
P: number;
avecMaximum: boolean;
genreReponse: PronoteApiNewsQuestionType;
listeChoix: PronoteValue<24, (...)[]>;
listePiecesJointes: PronoteValue<24, (...)[]>;
nombreReponsesMax: number;
rang: number;
reponse: PronoteValue<24, {
N: ...;
avecReponse: ...;
estRepondant: ...;
estReponseAttendue: ...;
reponduLe?: ...;
strRepondant?: ...;
valeurReponse?: ...;
valeurReponseLibre?: ...;
}>;
tailleReponse: number;
texte: PronoteValue<21, string>;
titre: string;
}[]>;
lue: boolean;
prenom: string;
public: PronoteValue<24, {
G: PronoteApiUserResourceType;
L: string;
N: string;
P: number;
}>;
reponseAnonyme: boolean;
}[];
_T: 24;
};
}[];
}listeCategories: PronoteValue<24, {
L: string;
N: string;
estDefaut?: boolean;
}[]>
listeModesAff: {
G: number;
listeActualites: {
V: {
L?: string;
N: string;
auteur: string;
categorie: PronoteValue<24, {
L: string;
N: string;
}>;
dateCreation: PronoteValue<7, string>;
dateDebut: PronoteValue<7, string>;
dateFin: PronoteValue<7, string>;
elmauteur: PronoteValue<24, {
G: number;
L: string;
N: string;
}>;
estAuteur: boolean;
estInformation: boolean;
estProlonge: boolean;
estSondage: boolean;
genrePublic: number;
listeQuestions: PronoteValue<24, {
L: string;
N: string;
P: number;
avecMaximum: boolean;
genreReponse: PronoteApiNewsQuestionType;
listeChoix: PronoteValue<24, (...)[]>;
listePiecesJointes: PronoteValue<24, (...)[]>;
nombreReponsesMax: number;
rang: number;
reponse: PronoteValue<24, {
N: ...;
avecReponse: ...;
estRepondant: ...;
estReponseAttendue: ...;
reponduLe?: ...;
strRepondant?: ...;
valeurReponse?: ...;
valeurReponseLibre?: ...;
}>;
tailleReponse: number;
texte: PronoteValue<21, string>;
titre: string;
}[]>;
lue: boolean;
prenom: string;
public: PronoteValue<24, {
G: PronoteApiUserResourceType;
L: string;
N: string;
P: number;
}>;
reponseAnonyme: boolean;
}[];
_T: 24;
};
}[]