mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-24 05:36:29 +02:00
15 lines
492 B
Plaintext
15 lines
492 B
Plaintext
Token = "6129457865:AAFyzNYOAFbu...";
|
|
ChatID = "461699897";
|
|
ChannelID = "@testsichee";
|
|
Question = "What's your favorite color?";
|
|
|
|
AnswersArray = New Array;
|
|
AnswersArray.Add("Red");
|
|
AnswersArray.Add("Yellow");
|
|
AnswersArray.Add("Green");
|
|
AnswersArray.Add("Blue");
|
|
|
|
Result = OPI_Telegram.SendPoll(Token, ChatID , Question, AnswersArray, False);
|
|
|
|
Result = OPI_Telegram.SendPoll(Token, ChannelID, Question, AnswersArray, True);
|