github.com/gotd/td/tg.MessagesToggleBotInAttachMenuRequest.SetWriteAllowed (method)

one use

	github.com/gotd/td/tg (current package)
		tl_messages_toggle_bot_in_attach_menu_gen.go#L225: func (t *MessagesToggleBotInAttachMenuRequest) SetWriteAllowed(value bool) {