Zipra Dev Updates 👻
5 subscribers
5 photos
1 video
10 links
About Development by Zipra Team.
Download Telegram
Zipra Dev Updates 👻
Jam 1 siang sampe jam 4 sore mati listrik
Mati listriknya bukannya kemaren. Malah sekarang 👀🗿
Membangongkans
Forwarded from Amogn sus (Aziz Ridhwan)
This media is not supported in your browser
VIEW IN TELEGRAM
gweh banget
Now Zipra can ban or unban users sequentially. They are separated by a comma (,)

Example:
!ban 1923158017,54918786,5088568141,698427041,1031952739,5271567261 reason why you ban them

Note: Do not leave spaces between commas!
Cara send photo + pake button url di PYROGRAM (Self note. Suka lupa mulu 🗿)

from pyrogram.types import InlineKeyboardMarkup as ikm, InlineKeyboardButton as ikb
photo_id = "AgACAgUAAx0CXilMFwACAbFiGLyK47yiGE1RFs60EmZvixeIhgACua4xG25AyFQNnGLU4cByGQAIAQADAgADeQAHHgQ"
group = "meongabut"

result = await client.send_photo(
group,
photo_id,
caption="Gweh bukan psatir 😅😅☝️☝️\n\nCek yuks sbeerapa psatirnya luwh 👇",
reply_markup = ikm([[ikb(text="Klik sini", url="https://docs.google.com/forms/d/e/1FAIpQLSdzHvdtYpRCvXHkinjHOcEYdQWh26o9DUueigg-bdakocIIPQ/viewform")]])
)

return result

#pyrogram #breply_markup #buttons #photo #send_photo
Channel discussion now moved to @zipradevgroup
This media is not supported in your browser
VIEW IN TELEGRAM
Test forward protected content
Channel name was changed to «Zipra Dev Updates #MarhabanYaRamadhan»
Marhaban Ya Ramadhan!

Semoga amalan di bulan ini lebih baik dari bulan-bulan sebelumnya.
Selamat menunaikan ibadah puasa bagi yang menunaikan. 🙏
Update

Product name: Zipra GAS Lib
Description: Bot API Library for Google Apps Script.
Version: 2022.04.04.dev.17.10
Changelog:
Bot: call_api: Don't throw error when request not returning HTTP Code 200

This may occurs when trying to request to the server, but either the method or options are wrong.
Add parameter 'muteHttpExceptions' to the UrlFetchApp.fetch() to not throwing error.

And also, if error occurs caused by wrong method or options, now returning the descripton of error.

Thanks for using Zipra GAS API!

And Happy Ramadhan!

Additional info:
-> Library ID: 1ITaAWDBgHCNx3TCudLzhzyNqduBlFDhw4zF8SMvn_ZXttfadg_9NtDvq
Sedikit update aja, sekarang command ban dan unban sudah di perbaiki dan seharusnya sudah bisa bekerja dengan semestinya.

Kembali mengingatkan, Zipra bisa ban/unban banyak user dalam satu command. Dipisahkan dengan koma. Kalau ada spasi, ntar masuknya jadi reason wkwk.

Contoh:

/ban Pra210906,meongabut,slur,anu,1923158017 Reason kamu nge ban mereka

Kalau ada bug atau apa, tinggal lapor ajah, Insya Allah langsung ku introgasi. 🙈

Thanks for using Zipra!
Guys, gw mungkin bakalan slow respon karena alasan pribadi. Jadi kalau ada yg nge tag / pm gw, mohon sabar aja ya 😀

Kali ini gw online cuma buat simpen dan ambil catatan
Sama nge test pembaruan bot aja v:

Semoga bisa dimaklumi :)
Forwarded from BotNews
Bot API 6.0

• Added support for Web Apps.
KeyboardButton and InlineKeyboardButton can now be used to launch Web Apps.
• Added control over the bot's menu button via setChatMenuButton and getChatMenuButton.
• Added control over the bot's default admin rights via setMyDefaultAdministratorRights and getMyDefaultAdministratorRights.
• Added support for t.me links to add bots as admins.

• And more, see the full changelog for details:

https://core.telegram.org/bots/api-changelog#april-16-2022

Warning: After the next update, login_url will only allow HTTPS links.
Forwarded from Pyrogram News (Dan)
🔥 Pyrogram updated to v2.0

Performance improvements, In-Memory Downloads, Media Streaming, Enumerations, Datetime objects and more

• Release notes: https://docs.pyrogram.org/releases/v2.0
• Update with pip3 install -U pyrogram
Balik ke framework pyro aja kali ye. Telethon ga update update njir
Channel name was changed to «Zipra Dev Updates 👻»
Forwarded from Pyrogram News (Dan)
New website homepage

The new website homepage at https://pyrogram.org is live to provide visitors a more elegant way to learn about Pyrogram.
New update available for Zipra-GAS-lib 2022.06.24.dev.20.28!

Changelog:
- Trying to hide token by declaring it to safer place.
- If API Server returned error, throw the error message instead of return.
- Fix typo at usage
- Changed call_api to callApi
- Now bot class has this functions: sendMessage, sendPhoto, sendDocument, editMessageText, forwardMessage, copyMessage, getUserProfilePhotos
- Bot.getFile(file_id), automatically get file link, then download it as blob. Return as Blob
- Added classes: TelegramObject, has function: stringify(indent: number)
- Classes that inherited from TelegramObject: WebhookInfo, UserProfilePhotos, User, Message

=> WebhookInfo has member as described at https://core.telegram.org/bots/api#webhookinfo
=> UserProfilePhotos has member as described at https://core.telegram.org/bots/api#userprofilephotos
=> User has member as described at https://core.telegram.org/bots/api#user
Available functions:
- getProfilePhotos(), bound method of Bot.getUserProfilePhotos with user_id filled

=> Message has member as described at https://core.telegram.org/bots/api#message
Available functions:
- reply(text, quote, extra), bound method of Bot.sendMessage() with chat_id filled and reply_to_message_id filled if quote is true. Fill extra to use another parameters.
- edit(text, extra), bound method of Bot.editMessageText() with chat_id and message_id filled. Fill extra to use another parameters.
- forward(chat_id, extra), bound method of Bot.forwardMessage() with from_chat_id and message_id filled. Fill extra to use another parameters.
- copy(chat_id, extra), bound method of Bot.copyMessage() with from_chat_id and message_id filled. Fill extra to use another parameters.

TODO:
- Add handler like new message, edited, etc!

If you found any bugs, report it to @ridhwan_aziz
Soon guys, and i'll make it open source